Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Sep 2022 18:41:06 -0400
From:      Viktor Dukhovni <freebsd@dukhovni.org>
To:        freebsd-net@freebsd.org
Subject:   Re: getaddrinfo error for existing host without requested address family
Message-ID:  <YzN8AgkDvCWV9jaw@straasha.imrryr.org>
In-Reply-To: <202209272053.28RKrDEa004321@mail.karels.net>
References:  <202209272053.28RKrDEa004321@mail.karels.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 27, 2022 at 03:53:12PM -0500, Mike Karels wrote:

> The first error message is misleading, because the name *does* resolve,
> but has no AAAA record, and it is the same error message as for a name
> that truly does not exist.

FWIW, the distinction between NODATA and NXDOMAIN is these days not
infrequently violated at the authoritative nameserver:

    https://datatracker.ietf.org/doc/html/draft-valsorda-dnsop-black-lies-00

So whether or not a name actually exists or just fails to have the
requested record type is at times not easily determined. :-(

-- 
    Viktor.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YzN8AgkDvCWV9jaw>