Your message dated Thu, 21 Nov 2019 14:33:30 +0100
with message-id <[email protected]>
and subject line Re: Bug#945224: resolve gateway libnss-myhostname
has caused the Debian Bug report #945224,
regarding resolve gateway libnss-myhostname
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
945224: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=945224
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Am 21.11.19 um 14:05 schrieb Frederik Vos:
> 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
Please see man nss-myhostname:
> • The hostname "_gateway" is resolved to all current default routing
> gateway addresses, ordered by their metric. This assigns a stable
> hostname to the current gateway, useful for referencing it
> independently of the current network configuration state.
I.e. use getent ahosts _gateway
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
--- End Message ---