On 1/26/22 21:59, Tim via users wrote:
On Wed, 2022-01-26 at 14:48 -0800, 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.
I don't see why that's wrong, there were plenty of things that discover their hostname by doing a reverse look-up of their IP. And he demonstrated several releases that worked exactly that way.
What are these plenty of things? This is the first that I know of. And the question still remains. Is the OS looking up the hostname at runtime or was it always the installer setting it at install time?