]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
doc: Document empty non-terminal in backends 5143/head
authorArthur Gautier <baloo@gandi.net>
Mon, 13 Mar 2017 22:49:23 +0000 (22:49 +0000)
committerArthur Gautier <baloo@gandi.net>
Mon, 13 Mar 2017 22:55:15 +0000 (22:55 +0000)
Signed-off-by: Arthur Gautier <baloo@gandi.net>
docs/markdown/appendix/backend-writers-guide.md

index 7050702d49c463b6779698cc4c00513c15e2e668..547c9e8aef8da21190af73bf668bfd0c1d3b7ffc 100644 (file)
@@ -495,3 +495,9 @@ The method is not only used when adding records, but also to correct ENT-records
 ## virtual bool replaceRRSet(uint32\_t domain\_id, const string& qname, const QType& qt, const vector\<DNSResourceRecord\>& rrset);
 
 This method should remove all the records with `qname` of type `qt`. `qt` might also be ANY, which means all the records with that `qname` need to be removed. After removal, the records in `rrset` must be added to the zone. `rrset` can be empty in which case the method is used to remove a RRset.
+
+# Miscellaneous
+
+## ENT (Empty Non-Terminal)
+
+You are expected to reply with a DNSResourceRecord having `qtype = 0`, `ttl = 0` and `content` should be empty string (string length 0)