On Tue, 2022-06-28 at 10:10 -0400, Michael Stone wrote:
> 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
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
On 2022-06-26 21:07:13 +, tuxi...@posteo.de wrote:
> I checked using strace and it's appearently going through the following:
>
> 1. uname
This is due to the call to gethostname(), as seen with "hostname"
without any option.
The following is due to the call to getaddrinfo() on the node name
On Sonntag, 26. Juni 2022 22:32:38 CEST Jim Popovitch wrote:
> where does `hostname -f` derive the domainname from?
>
> I have 2 systems, the first was buster --> bullseye with /etc/hostname
> containing "oscar" and `hostname -f` returning "oscar.domain.tld"
On Sun, 2022-06-26 at 16:52 -0400, Greg Wooledge wrote:
> Both sections are vague and murky about what happens if you *don't* have
> an entry for your hostname in /etc/hosts.
>
> Fortunately, Debian adds a line exactly like this in /etc/hosts, for
> your hostname with your "DNS domain name" (the
On Sun, Jun 26, 2022 at 04:32:38PM -0400, Jim Popovitch wrote:
> where does `hostname -f` derive the domainname from?
Start with the man page, always.
-f, --fqdn, --long
Display the FQDN (Fully Qualified Domain Name). A FQDN consists
of a short host n
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
--- Original Message ---
On Sunday, June 26th, 2022 at 2:32 PM, Jim Popovitch wrote:
> where does `hostname -f` derive the domainname from?
/etc/hosts, I think.
--
Glenn English
-BEGIN PGP SIGNATURE-
Version: ProtonM
where does `hostname -f` derive the domainname from?
I have 2 systems, the first was buster --> bullseye with /etc/hostname
containing "oscar" and `hostname -f` returning "oscar.domain.tld".
The second system is a clean install of bullseye with /etc/hostname
containing &
8 matches
Mail list logo