Quote:
Originally Posted by MarcLaf
RHEL 4 U2
resolv.conf contains the new name servers (previously had the old one).
I've been performing restart, not stop/start. Haven't rebooted the machine.
PEERDNS is set to yes. I looked at this part of the cfg a while ago.. didn't quite understand what it did but decided to leave it because we're not using DHCP on this box.
|
PEERDNS=yes may be part of the issue. I believe it is a valid config option for non-DHCP applications, and it will change your DNS servers:
Code:
PEERDNS=<answer>
where <answer> is one of the following:
yes — Modify /etc/resolv.conf if the DNS directive is set. If using DHCP, then yes is the default.
no — Do not modify /etc/resolv.conf.
So remove the DNS1 or DNS2 entries for your IF, and set PEERDNS to 'no'. Then manually set your DNS servers in resolv.conf.
I'd suggest at the very least, a hard stop/start cycle on the service at the very least, but a reboot is likely preferable to that.