Generates a SOA Resource Record. More...
#include <record-types.hh>
Public Member Functions | |
SOAGen (const DNSName &mname, const DNSName &rname, uint32_t serial, uint32_t refresh=10800, uint32_t retry=3600, uint32_t expire=604800, uint32_t minimum=3600) | |
SOAGen (DNSMessageReader &dmr) | |
SOAGen (DNSStringReader dsr) | |
void | toMessage (DNSMessageWriter &dpw) override |
DNSType | getType () const override |
std::string | toString () const override |
template<typename X > | |
void | doConv (X &x) |
![]() | |
virtual | ~RRGen () |
Static Public Member Functions | |
static std::unique_ptr< RRGen > | make (const DNSName &mname, const DNSName &rname, uint32_t serial, uint32_t refresh=10800, uint32_t retry=3600, uint32_t expire=604800, uint32_t minimum=3600) |
Public Attributes | |
DNSName | d_mname |
DNSName | d_rname |
uint32_t | d_serial |
uint32_t | d_refresh |
uint32_t | d_retry |
uint32_t | d_expire |
uint32_t | d_minimum |
Generates a SOA Resource Record.
|
inline |
SOAGen::SOAGen | ( | DNSMessageReader & | dmr | ) |
SOAGen::SOAGen | ( | DNSStringReader | dsr | ) |
void SOAGen::doConv | ( | X & | x | ) |
|
inlinestatic |
|
overridevirtual |
Implements RRGen.
|
overridevirtual |
Implements RRGen.
uint32_t SOAGen::d_expire |
uint32_t SOAGen::d_minimum |
DNSName SOAGen::d_mname |
uint32_t SOAGen::d_refresh |
uint32_t SOAGen::d_retry |
DNSName SOAGen::d_rname |
uint32_t SOAGen::d_serial |