From: Arthur Gautier Date: Mon, 13 Mar 2017 22:49:23 +0000 (+0000) Subject: doc: Document empty non-terminal in backends X-Git-Tag: rec-4.1.0-alpha1~204^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5143%2Fhead;p=thirdparty%2Fpdns.git doc: Document empty non-terminal in backends Signed-off-by: Arthur Gautier --- diff --git a/docs/markdown/appendix/backend-writers-guide.md b/docs/markdown/appendix/backend-writers-guide.md index 7050702d49..547c9e8aef 100644 --- a/docs/markdown/appendix/backend-writers-guide.md +++ b/docs/markdown/appendix/backend-writers-guide.md @@ -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\& 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)