I had a similar issue where my DNS was being overwritten after every restart with old DNS causing a failed system.
Every time I would update it via the System Admin it would update resolve.conf and it would work fine until a reboot.
I believe I finally tracked it down to being hard coded in:
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=manual
ONBOOT=yes
IPADDR=10.0.1.27
NETWORK=10.0.1.0
NETMASK=255.255.255.0
DNS1=8.8.8.8
DNS2=8.8.4.4
See this page for details on how to config:
http://ask.xmodulo.com/configure-static-dns-centos-fedora.html
piyushaghera:
It sounds like you are having a slightly different problem then was described here by the original post. Perhaps a new post would be more appropriate? Have you tried using the documented method of changing your IP via System Admin?