Andrew Sullivan <a...@anvilwalrusden.com> writes:

> But of course, there _is_ a name "localhost" in the DNS.
> It's already defined, in the RFCs, to this effect.

You can probably have your cake and eat it too by saying "sure,
hypothetically it exists in the DNS because it's magically reserved in
an RFC; but there is no data for it so any queries for it for any type
will always return 'does not exist'".  See!  Problem solved!

Returning anything other than NXDOMAIN and NSEC* for it is crazy,
because the reality is that the name does not exist in the root zone
data (and should not exist).  Let's not start adding special exceptions.

We could do something crazy like "return NXDOMAIN" and don't set the
AA bit, because the DNS is not authoritative for that domain (and
others, like .onion).  But I'm not sure that helps anyone, and adds
unneeded complexity to an already too complex code base.

-- 
Wes Hardaker
USC/ISI

_______________________________________________
DNSOP mailing list
DNSOP@ietf.org
https://www.ietf.org/mailman/listinfo/dnsop

Reply via email to