[Cialug] resolvconf - good, bad or ugly?

David Champion dchampion at visionary.com
Mon Nov 24 17:11:55 CST 2008


So... my latest server update (to Mandriva 2009) includes the change to 
using the "resolvconf" script for maintaining /etc/resolv.conf.

I recall the good old days when RedHat used the "awesome" program 
linuxconf to maintain configuration files. And by "awesome", I mean it 
overwrites config files for you and breaks stuff. The resolvconf script 
is similarly awesome.

 From what I can tell, the "proper" way for me to specify DNS servers is 
to add them to my /etc/sysconfig/network-scripts/ifcfg-eth0 script as:
DNS1=dns1.server.ip.addr
DNS2=dns2.server.ip.addr

BTW, the man page for resolvconf is one of those esoteric man pages that 
talks about all kinds of junk except the pragmatic information one might 
need to actually USE it.

Am I doing this right? Am I just being too grumpy? Is it really that 
hard to edit /etc/resolv.conf?

-dc




More information about the Cialug mailing list