Red Hat Bugzilla – Bug 446743
[PATCH] copy DNS information into ifcfg files
Last modified: 2008-05-30 22:15:10 EDT
NetworkManager treats resolv.conf as a composite of DNS information from each
connection, since for things like VPN you want your VPN DNS servers and domain
searches in resolv.conf when you're using the VPN but not when you aren't using
the VPN. Therefore, resolv.conf is not stable enough to be the only source of
The attached patch makes system-config-network save the DNS information that the
user enters in the DNS page into each device's ifcfg file. This will be used by
NetworkManager to ensure that after setting static DNS servers with s-c-n, that
you get a workable resolv.conf file.
When _not_ using NetworkManager, there shouldn't be any effect because the DNS
information will be the same for the ifcfg files as in /etc/resolv.conf.
Currently Dialup devices already use DNS1/DNS2, and thus for dialup devices this
copy is not performed (though it could be).
Created attachment 305536 [details]
Copy info from DNS page into each ifcfg file
wow, thanks very much for the patch :)
Created attachment 305675 [details]
reduced the patch
system-config-network-1.5.8-1.fc9 has been submitted as an update for Fedora 9
harald; do you mind if I apply to F8 branch and push as an update for F8 as well?
system-config-network-1.5.8-1.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update system-config-network'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-4022
please test and give feedback
system-config-network-1.5.10-1.fc9 has been submitted as an update for Fedora 9
system-config-network-1.5.10-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.