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): 0.7.0 How reproducible: Always 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. Actual results: the DNS servers are "disappeared". Expected results: 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=4.2.2.1 and DNS2=4.2.2.2 for example). If you're using user connections, you can add them in the connection editor in the IPv4 tab.