Hi,
I have a server which has a static IP presently. I want it to be on the DHCP. so i made the changes accordingly. But when i log out and login it says that the /etc/hosts file was inconsistent.i checked the same and found it to have the previsous static IP. so i removed it from the hostfile and there is not entry for my server in the host file. but when i log out and log in again it still gives the same error probably because it doesn't find an entry for my host. so i added the current dhcp address in the hostfile. but this is not going to work because my server will pick up a new dhcp address. My question is how will the hostfile for my server look if it is on the DHCP.
Thanks,
Sendhil