documentation, nits
This commit is contained in:
@ -356,7 +356,7 @@ packet: the 16 bit priority, followed by the name.
|
|||||||
Although names can not easily be dynamic within the DNS tree (either they
|
Although names can not easily be dynamic within the DNS tree (either they
|
||||||
exist or they don't), contents can be changed at will.
|
exist or they don't), contents can be changed at will.
|
||||||
|
|
||||||
`tdns` defines a `time.powerdns.org` node which has a `ClockTXTGen`:
|
`tdns` defines a `time.tdns.powerdns.org` node which has a `ClockTXTGen`:
|
||||||
|
|
||||||
```
|
```
|
||||||
newzone->add({"time"})->addRRs(ClockTXTGen::make("The time is %a, %d %b %Y %T %z"));
|
newzone->add({"time"})->addRRs(ClockTXTGen::make("The time is %a, %d %b %Y %T %z"));
|
||||||
|
@ -91,7 +91,7 @@ struct DNSName
|
|||||||
std::ostream & operator<<(std::ostream &os, const DNSName& d);
|
std::ostream & operator<<(std::ostream &os, const DNSName& d);
|
||||||
DNSName operator+(const DNSName& a, const DNSName& b);
|
DNSName operator+(const DNSName& a, const DNSName& b);
|
||||||
|
|
||||||
struct DNSMessageWriter;
|
class DNSMessageWriter;
|
||||||
struct RRGen
|
struct RRGen
|
||||||
{
|
{
|
||||||
virtual void toMessage(DNSMessageWriter& dpw) = 0;
|
virtual void toMessage(DNSMessageWriter& dpw) = 0;
|
||||||
|
Reference in New Issue
Block a user