Commit 0be9ea50 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

fixed rcode for the authors.bind response (nxdomain to noerror)

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent 3b304400
...@@ -125,9 +125,7 @@ process_message(int s) { ...@@ -125,9 +125,7 @@ process_message(int s) {
msg.addRR(SECTION_AUTHORITY, RR(authors_name, RRClass::CH, msg.addRR(SECTION_AUTHORITY, RR(authors_name, RRClass::CH,
RRType::NS, TTL(0), RRType::NS, TTL(0),
NS("authors.bind"))); NS("authors.bind")));
} } else if (zones.contains(name)) {
if (zones.contains(name)) {
msg.setRcode(Message::RCODE_NOERROR); msg.setRcode(Message::RCODE_NOERROR);
RRset* nsset = new RRset(query->getName(), RRClass::IN, RRset* nsset = new RRset(query->getName(), RRClass::IN,
RRType::NS, TTL(3600)); RRType::NS, TTL(3600));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment