From d5f45ce744cfedcc26d0f89cc02e98e6c88c1674 Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Mon, 13 Mar 2017 22:49:23 +0000 Subject: [PATCH] doc: Document empty non-terminal in backends Signed-off-by: Arthur Gautier --- docs/markdown/appendix/backend-writers-guide.md | 6 ++++++ 1 file changed, 6 insertions(+) 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) -- 2.47.2