Bugzilla – Bug 149
RCODE 9 misrepresented in code and comment
Last modified: 2006-10-13 16:14:00 CEST
The DNS RCODE 9 is misrepresented as 'not authorized' in comment and code:
dns.h:#define RCODE_NOTAUTH 9 /* Not authorized */
return "NOT AUTHORIZED";
This should read "NOT AUTHORITATIVE" instead (see RFC 2136 or IANA dns-parameters registry).
I stumbled across this when playing with nsd-notify.
I have fixed the text description of the bug in code and printed text. When a notify fails to pass the access control list REFUSED is returned, not NOTAUTH(server not authoritative for zone). This is in svn for 3.0.2.
Backported the text fix to NSD 2.3.7 svn.