On 1/26/22 16:48, Samuel Sieb wrote:
I think I figured out what he's doing and I'm kind of
surprised that
it works at all. He's expecting the system to use its IP address to
lookup its hostname. That seems wrong. Maybe what is working is that
the installer does that lookup and sets the hostname during the
install. But that setting has become transient for some reason (which
I think I've noticed, but didn't investigate). The DCHP server is the
one that's supposed to be supplying the hostname.
Linux has used the reverse DNS name for name resolution for EVER. Again,
see
https://youtu.be/pAVNwwrHwkw to see that every version of RHEL has
used reverse DNS since RHEL 4. I also tested against older versions of
Fedora, and it has ALWAYS used reverse DNS for hostname resolution.
In older versions of RHEL and pre-Fedora 33, the hostname was set via
the contents of e.g. /etc/sysconfig/network-scripts/network-functions
and /etc/rc.d/rc.sysinit.
Thomas