Red Hat Bugzilla – Bug 485602
DNS "disappear" when using networkmanager
Last modified: 2009-02-15 09:12:30 EST
Description of problem:
When letting NetworkManager to manage the network connection, the manually set DNS servers tends to "disappear" after a reconnecting.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Set up a network connection with system-config-network, manually set some DNS servers, and enable NetworkManager.
2.Disconnect & reconnect the connection.
the DNS servers are "disappeared".
the DNS servers should be keep intact.
The manually set DNS servers actually need to be placed into the ifcfg files directly, because /etc/resolv.conf can change depending on what you're connected to. Thus /etc/resolv.conf cannot be the sole source of DNS information.
If you're using ifcfg-based connections, add the DNS servers directly to your ifcfg files (eg DNS1=18.104.22.168 and DNS2=22.214.171.124 for example).
If you're using user connections, you can add them in the connection editor in the IPv4 tab.