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://bind10.isc.org/svn/bind10/branches/f2f200910@227 e5f2f494-b856-4b98-b285-d166d9295462
parent 3b304400
......@@ -125,9 +125,7 @@ process_message(int s) {
msg.addRR(SECTION_AUTHORITY, RR(authors_name, RRClass::CH,
RRType::NS, TTL(0),
NS("authors.bind")));
}
if (zones.contains(name)) {
} else if (zones.contains(name)) {
msg.setRcode(Message::RCODE_NOERROR);
RRset* nsset = new RRset(query->getName(), RRClass::IN,
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