Bug 485602

Summary: DNS "disappear" when using networkmanager
Product: [Fedora] Fedora Reporter: Whistler <whistler>
Component: NetworkManagerAssignee: Dan Williams <dcbw>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 10CC: dcbw
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-15 14:12:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Whistler 2009-02-15 07:38:48 UTC
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.

Comment 1 Dan Williams 2009-02-15 14:12:30 UTC
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.