Bug 485602 - DNS "disappear" when using networkmanager
Summary: DNS "disappear" when using networkmanager
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 10
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-15 07:38 UTC by Whistler
Modified: 2009-02-15 14:12 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-02-15 14:12:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.