home
blog
moblog
gallery
axmx.net
blogblog
tech, geek, life and other things…

Hate how dhcpd always rewrites /etc/resolv.conf?

Then fix it!
Open /etc/sysconfig/network-scripts/ifcfg-eth0 in vi and add the following:

PEERDNS=no
DHCP_HOSTNAME=fqdn.of.your.host

Save the file and then restart networking:

service network restart

NOTE: I did this in a redhat-esque distribution; probably won’t work on everything

Digg!

Leave a Reply

You must be logged in to post a comment.