Ryanmt
15th June 2009, 19:29
The dns servers on my vps are down so ive been told to use the opendns ones.
Easy right, edit resolv.conf. I do that, reboot.. the files changed back.
So i edit dhclient.conf and add
supersede (also tried prepend) domain-name-servers xx,xx;
Reboot, its changed back :(
so i go into /etc/sysconfig/network-scripts and edit the two files vnet0 and vnet0:0 (2 ip's) and add PEERDNS=no.
Reboot, resolv.conf and the two files ive edited have changed back to orginal.
Im pulling my hair out since i cant resolve anything to send emails etc, and its starting to feel alot like groundhog day.
Easy right, edit resolv.conf. I do that, reboot.. the files changed back.
So i edit dhclient.conf and add
supersede (also tried prepend) domain-name-servers xx,xx;
Reboot, its changed back :(
so i go into /etc/sysconfig/network-scripts and edit the two files vnet0 and vnet0:0 (2 ip's) and add PEERDNS=no.
Reboot, resolv.conf and the two files ive edited have changed back to orginal.
Im pulling my hair out since i cant resolve anything to send emails etc, and its starting to feel alot like groundhog day.