Why would changes to the DNS settings not stick

Hi

I have a problem on a virtualmin server ( possibly two ) these are centos 6.3

What happens id if I change the DNS settings in the Hostname and DNS configuration in the network settings.

Then I save this, when I have gone back it has reverted.

So I edit /etc/resolv.conf so things work.

Then on a reboot it reverts again to the origional setting.

What can I do to fix this problem.

John

Howdy,

Are you using a dedicated server, or a VPS? If a VPS, what kind of VPS is it… are you by chance using OpenVZ?

-Eric

Hi these are Vmware ESXi based servers.

Howdy,

Okay, are these servers using static IPs, or DHCP?

If they’re using DHCP, that could explain why the settings are being reset.

-Eric