Re: DHCP and host names
Erik van der Meulen <e.van.der.meulen@avondel.nl> writes:
> Hi, I have managed to change my LAN from fixed IP to DHCP. I had somehow
> expected the DHCP software to update my /etc/hosts file, so I would
> still be able to ping hostname.
In general, this is not a problem because you are also running DNS.
However, most dhcp clients allow scripts to be run after getting the
IP, so you could write a script to update /etc/hosts.
--
Alan Shutko <ats@acm.org> - In a variety of flavors!
Fortune favors the lucky.
Reply to: