DHCP or fixed IPs for servers ????

Dr. Michael J. Chudobiak mjc at avtechpulse.com
Mon Sep 19 18:20:00 UTC 2011


> Is there a way to statically assign the IP address to the servers and
> not have to update the /etc/hosts file on all the machines ?� I know
> this is what DNS is supposed to do, but I've never used it that way.

If you don't want to use DNS, you can share /etc/hosts using NIS. Look 
in /etc/nsswitch.conf. I don't think it is any simpler than using DNS, 
however. You need to set up ypbind/ypserv... however, if you are using 
NIS to authenticate users already, then it is trivial.

- Mike


More information about the users mailing list