nanog mailing list archives

Re: Bare TLD resolutions


From: Andrew Sullivan <asullivan () dyn com>
Date: Wed, 17 Sep 2014 20:22:22 -0400

On Thu, Sep 18, 2014 at 07:39:08AM +1000, Mark Andrews wrote:

You want gethostbyname, getaddrinfo to return HOST_NOT_FOUND/EAI_NONAME

I was unaware that getaddrinfo returned "NXDOMAIN", which is what I
read in the thread being talked about.  Not return values from the OS
calls.  I guess I missed that message.

You want res_search() to return  HOST_NOT_FOUND if a single label
is entered and is not matched by <label>.<search-list-element>.

You want res_query() and other tools that look in the DNS and are
*not* searching to return whatever is in the DNS.

These are not even remotely the same thing as what was being proposed,
which is all I was commenting on.

A

-- 
Andrew Sullivan
Dyn, Inc.
asullivan () dyn com
v: +1 603 663 0448


Current thread: