It seems that getaddrinfo tries to lookup the IPv4 address of the
hostname and then do a reverse lookup to get the FQDN but doesn't
find it in /etc/hosts (because the system is v6 only) and thus
goes on asking the DNS.
nmh should be using gethostname(3) to derive the "official" local host
name. You cannot accurately determine the local host name from the DNS.
Consider:
1.0.0.127 IN PTR kremvax
PTR moscvax
PTR ihnp4
--lyndon
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers