On 1/17/22 14:29, Sam Varshavchik wrote:
It should be possible to hack up a script that gets run when an IP address is assigned that does a reverse IP lookup and sets the hostname. However that should be done in a manner that does not permanently save the hostname so that it gets reverted to a static stub name on the next reboot.
But this is the behavior Linux has used for years and years. If you set your hostname to localhost.localdomain, say via a kickstart script or a golden image you use to spin up dozens of instances, previous versions of Fedora would find the hostname via DNS and assign it at boot.
Why has this changed?
Thomas