[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: where does `hostname -f` derive the domainname from?



On Sun, Jun 26, 2022 at 04:59:26PM -0400, Jim Popovitch wrote:
That was the problem.  The bullseye-only system had an /etc/hosts entry
without a FQDN.  I removed that and it uses the one in DNS.

It's generally better to add the FQDN to /etc/hosts instead, to cut down on DNS queries for the local hostname.


Reply to: