[174530] in North American Network Operators' Group
Re: Bare TLD resolutions
daemon@ATHENA.MIT.EDU (Andrew Sullivan)
Wed Sep 17 20:22:35 2014
X-Original-To: nanog@nanog.org
Date: Wed, 17 Sep 2014 20:22:22 -0400
From: Andrew Sullivan <asullivan@dyn.com>
To: nanog@nanog.org
In-Reply-To: <20140917213908.9A26B1FADC1F@rock.dv.isc.org>
Errors-To: nanog-bounces@nanog.org
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