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"));
|
||||||
@ -725,4 +725,4 @@ time.powerdns.org. 3600 IN TXT "The time is Fri, 13 Apr 2018 12:55:54 +0200"
|
|||||||
window.markdeepOptions={};
|
window.markdeepOptions={};
|
||||||
window.markdeepOptions.tocStyle = "long";
|
window.markdeepOptions.tocStyle = "long";
|
||||||
</script>
|
</script>
|
||||||
<!-- Markdeep: --><style class="fallback">body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src="../ext/markdeep.min.js"></script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility="visible")</script>
|
<!-- Markdeep: --><style class="fallback">body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src="../ext/markdeep.min.js"></script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility="visible")</script>
|
||||||
|
@ -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