Bug#945224: resolve gateway libnss-myhostname

Frederik Vos inktvis75 at icloud.com
Thu Nov 21 13:05:59 GMT 2019


Package: libnss-myhostname
Version: 241-7~deb10u2

getent ahosts $(hostname) works as expected,
getent ahosts gateway does not

A strace suggest that it is found:

recvfrom(3, "\224\235\204\3\0\1\0\0\0\0\0\0\7gateway\vlocaldomain"..., 2048, 0,
{sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.122.2")}, [2
8->16]) = 37

but it is never printed to the standard output

  Operating System: Debian GNU/Linux 10 (buster)
                    Kernel: Linux 4.19.0-6-amd64
           Architecture: x86-64


More information about the Pkg-systemd-maintainers mailing list