Internal clients' queries for "myhostname." get sent to forwarders. Why?

Tony Finch dot at dotat.at
Wed Mar 12 11:50:53 UTC 2014


Lawrence K. Chen, P.Eng. <lkchen at ksu.edu> wrote:

> If you have FQDN for machines, the problem might be that the domain
> isn't set in resolv.conf?

The machines are configured with a bare hostname. If there isn't a search
or domain directive in /etc/resolv.conf and there isn't an entry for the
machine in /etc/hosts then `hostname -f` will fail.

It is probably a bug that `hostname -f` does not have any "ndots" logic.
See also RFC 1535.

Tony.
-- 
f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/
Tyne, Dogger: Southeast veering southwest 3 or 4. Slight. Fog patches in
south. Moderate or good, occasionally very poor in south.


More information about the bind-users mailing list