http://marc.info/?l=djbdns&m=130132697825674&w=1However, back in 1999, Paul Vixie said that a server must return a NXDOMAIN, even if there are child names:
From: Paul A Vixie {vi...@mibh.net} Subject: Re: sub.dom with cached NXDOMAIN dom Date: 1999/12/08 Message-ID: {199912080700.XAA18392@bb.rc.vix.com}#1/1 X-Deja-AN: 558054698 Approved: use...@vix.com X-Complaints-To: abuse@isc.org Organization: none Mime-Version: 1.0 NNTP-Posting-Date: 8 Dec 1999 08:02:48 GMT Newsgroups: comp.protocols.dns.std } Here are three ways to use a recently cached NXDOMAIN foo.bar IN A: } } (1) Respond NXDOMAIN for any IN query within the foo.bar domain. } (2) Respond NXDOMAIN for any IN query for the name foo.bar. } (3) Respond NXDOMAIN for any IN A query for the name foo.bar. } } RFC 2308 recommends #2. It doesn't mention #1 or #3. Is this choice } based on some unpublished statistics on caching effectiveness? Or did } RFC 2308 actually mean to recommend #1? NXDOMAIN's scope is the {name,type}. RFC 2308 implicitly outlawed BIND's behaviour, which is to return NOERROR/ANCOUNT=0 for empty nonterminals. After RFC 2308, empty nonterminals are signalled with NXDOMAIN. Therefore #1 would be incorrect. #3, while correct, would waste information since NXDOMAIN signals "no RRs of any type at this name".
http://groups.google.com/group/comp.protocols.dns.std/msg/69e4500e7b7d73c8And DJB referring to this:
http://marc.info/?l=djbdns&m=130135043022339&w=1There actually isn't an RFC that requires this behavior. What there is instead is a draft proposal:
http://tools.ietf.org/html/draft-vixie-dnsext-resimprove-00Hauke Lampe pointed out that recent Unbound builds no longer expect NXDOMAIN to means "also for all domain names below" unless the remote cache supports DNSSEC:
http://marc.info/?l=djbdns&m=130148377625400&w=1He is referring to the changelog in Unbound's SVN trunk:
http://unbound.nlnetlabs.nl/svn/trunk/doc/Changelog
Update: I have posted to the dnsext mailing list my concerns:
http://www.ietf.org/mail-archive/web/dnsext/current/msg11207.html
To post a comment about an entry, send me an email and I may or may not post your comment (with or without editing)