Red Hat Bugzilla – Bug 53165
DNS1/DNS2/DNS3 no longer honored
Last modified: 2014-03-16 22:23:18 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010809
Description of problem:
In previous releases of RHL, setting DNS1 or DNS2 or DNS3 in
/etc/sysconfig/network-scripts/ifcfg-<interface> would let you specify DNS
server addresses to be set in /etc/resolv.conf when that interface was
This was very useful for CIPE tunnels, as the DNS on the other end knew
about addresses behind a firewall, which most servers don't know about.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create a CIPE tunnel using r-c-n.
2.Set DNS1=127.0.0.1 in /etc/sysconfig/network-scripts/ifcfg-cipcb0
3.Verify that /etc/resolv.conf does not list 127.0.0.1 as the first nameserver.
4.Bring the interface up.
/etc/resolv.conf is unchanged.
/etc/resolv.conf should list 127.0.0.1 as the first nameserver.
Does redhat-config-network automatically set PEERDNS=no?
default setting for PEERDNS is no. To enable it you should have to activate it
in Protocol->Hostname->Automatically obtain DNS information from provider.