Bare TLD resolutions

Andrew Sullivan asullivan at dyn.com
Thu Sep 18 00:22:22 UTC 2014


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 at dyn.com
v: +1 603 663 0448


More information about the NANOG mailing list