Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 19 Jul 2021 21:29:39 +0200
From: Shiz <>
Subject: Re: getaddrinfo() fails for domains with no AAAA records

> On 19 Jul 3 Reiwa, at 20:51, Yuri Kanivetsky <> wrote:
> So you're saying that that is the registrar's fault (which also
> provides the name servers)? Can you possibly tell how this can be
> fixed? Other than by giving up on wildcard dns records?

Your registrar should return empty data responses if the domain exists,
but no records of the requested type are available for it. This is a
distinct response from the NXDOMAIN error response, which indicates
the domain doesn’t exist at all. This is specified by RFC1035[0] and
clarified further by RFC8020[1].

Appropriately, musl aborts the query if it gets such a response from the server[2].
The fact that it returns NXDOMAIN for AAAA-type queries if A-type record do in fact
exist would point to a bug in your registrar’s DNS implementation to me.

- Shiz

[0]: §4.1.1
[2]: (3 means NXDOMAIN)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.