I'm new to Linux and require your assistance.
I was attempting to change my hostname from debian to ns1. This change used to automatically flow from the hostname file to the hosts file by itself. I didn't see it change this time after a reboot.
The only thing that has changed since my recent configuration is the interfaces setting, from DHCP to Static. Could this be the cause?
The reason why I'm asking is because I don't want to have to look for all the files that are affected by the change in hostname file and manually make the edit.
Is this normal? If the only dependency on the hostname file is the hosts file then I don't have a problem with making the manual edit but if its affecting others, then I'll like some help with reconfiguring the link between the two files.
I hope that makes sense.