Lawrence K. Chen, P.Eng. <lkc...@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  <d...@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.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to