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:51:23 +0300
From: Yuri Kanivetsky <>
To: Florian Weimer <>
Subject: Re: getaddrinfo() fails for domains with no AAAA records (regression?)

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?

A couple more points. First, apparently there was some change between
musl-1.2.2-r0 and musl-1.1.24-r10, getaddrinfo() stops working since
Alpine Linux 3.13. Which comes down to the fact that ping and ssh
can't resolve such hostnames. Although host, getent and dig can.
Second, it works on Arch Linux, Debians 8, 9, 10, and CentOS 7. The
way it looks, it works on libc, and doesn't work on musl.

Additionally I've attached the relevant part of the registrars' web interface.


On Mon, Jul 19, 2021 at 4:22 PM Florian Weimer <> wrote:
> * Yuri Kanivetsky:
> > $ docker run --rm -itv $PWD:/app alpine:3.14 ./app/
> > ...
> > + ./a.out set_ai_family
> > AF_INET:
> > + ./a.out
> > getaddrinfo: Name does not resolve
> queries result in Name Error/NXDOMAIN, so the
> domain is misconfigured.  This error is independent of the record type.
> Thanks,
> Florian

Download attachment "p2.png" of type "image/png" (15925 bytes)

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.