Bug 379741
Summary: | system-config-network 1.4.3 does not retain DNS settings | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | MJ <techwriter> | ||||||
Component: | system-config-network | Assignee: | Harald Hoyer <harald> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 8 | CC: | jmoskovc, jones.peter, Marc.Herbert+rhzilla | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2007-11-14 09:46:07 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: | |||||||||
Attachments: |
|
Description
MJ
2007-11-13 11:47:44 UTC
do you have activated DHCP (dynamic IP)? or do you use NetworkManager? Yes, the IP address of the computer is dynamic, supplied by my router. I want to use the dynamic IP but have static DNS records. I had this setup working in Fedora 7, but can't get it running in Fedora 8. I am using System > Administration > Network to try and set the DNS. I'm not sure if that's what you mean by "Network Manager". I am using the default Fedora Gnome desktop. Created attachment 256871 [details]
Screenshot of the interface configuration dialog
_Un_check the checkbox marked in the screenshot.
Created attachment 256881 [details]
Screenshot of the interface configuration dialog
_Un_check the checkbox marked in the screenshot.
That fixed it. Thank you very much for your help! Can I suggest the addition of a note to "Chapter 9. Managing DNS Settings" of the Network Administration Tool documentation, to the effect that the DNS records will not hold until that check box is cleared? I am seeing this bug with system-config-network-1.4.7-1.fc8 system-config-network-tui-1.4.7-1.fc8 I have installed but deactivated the following: pdns-recursor-3.1.4-4.fc7, NetworkManager-0.7.0-0.6.7.svn3235.fc8 NetworkManager-gnome-0.7.0-0.6.7.svn3235.fc8 NetworkManager-glib-0.7.0-0.6.7.svn3235.fc8 i.e they are configured not to start automatically. And the checkbox mentioned above is unchecked. This issue arose after I installed pdns-recursor, and could not keep the DNS set to 127.0.0.1. I would like to reopen this bug, but I don't see a check to do that with my account. I don't have the privileges to change the version in the summary, either. After retesting, I have found I can keep the DNS information in /etc/resolv.conf if I disable NetworkManager and NetworkManagerDaemon (i.e. I stop them in the Services menu and/or uncheck their automatic start boxes). This is as expected when this bug report was closed. Of course, this means I am doing without Network Manager. In one of NM's files, /usr/share/doc/NetworkManager-0.7.0/ChangeLog, around line 75, I read the following: 2008-01-04 Dan Williams <dcbw> 74 75 * src/named-manager/nm-named-manager.c 76 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's 77 nameservers if the secondary config doesn't have any 78 (gnome.org #346833) In other words, there is code in NM to alter the contents of /etc/resolv.conf, and I see no way to disable that behaviour, unlike the situations in comment #5 and comment #6. So, my temporary workaround is to keep NM disabled. In the long term, I would like to see configuration menus that would be less confusing, and that would allow selective configuration of pdns-recursor in the system-config-network menu, for example. In my (Fedora 14) case the checkbox did not seem to have any effect, /sbin/dhclient-script ignores overwrite /etc/resolv.conf systematically. The only way I could make dhclient-script not override the DNS tab is like this: echo PEERDNS=no >> /etc/sysconfig/network Note: I do not even have NetworkManager installed. |