[Bug 473705] New: Yast-DNS-Server changes NETCONFIG_DNS_FORWARDER to bind, so /etc/resolv.conf has no nameserver entries
https://bugzilla.novell.com/show_bug.cgi?id=473705 Summary: Yast-DNS-Server changes NETCONFIG_DNS_FORWARDER to bind, so /etc/resolv.conf has no nameserver entries Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Enhancement Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: joe_morris@ntm.org QAContact: jsrain@novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-1.4 Firefox/3.0.6 When using the Yast2 module for setting up DNS, it automatically sets the NETCONFIG_DNS_FORWARDER variable to bind so that netconfig updates /etc/named.d/forwarders.conf, which works fine. But, since I do not use NetworkManager (static net setup), /etc/resolv.conf only gets the search list written. Since by using this Yast2 DNS module, it could maybe be assumed the DNS server is being setup, adding nameserver 127.0.0.1 should also be added (by netconfig?), otherwise there is no name server entries in resolv.conf. Updating the forwarders works correctly via the Yast2 module, updating NETCONFIG_DNS_STATIC_SERVERS, which should allow the local DNS server work if only nameserver 127.0.0.1 were added to resolv.conf. Reproducible: Always Steps to Reproduce: 1.Change for example DNS forwarders via Yast2 DNS Server module. 2.Check /etc/sysconfig/network/config NETCONFIG_DNS_FORWARDER is set to bind 3.With Network Manager set to no, netconfig only writes the search list to /etc/resolv.conf. Actual Results: Most networking broke, i.e. Yast, browser, mail client, ping, traceroute, Kopete, etc. Only dig and skype would work. Manually adding nameserver 127.0.0.1 allowed it to work. Expected Results: Networking would work better using the Yast tools, not get broken. I am not really sure this this is the best way. I would maybe prefer that what is shown in Network Devices, Network Settings, Hostname/DNS have resolv.conf info like it used to be, and the DNS forwarders be set like it used to be only in the DNS module. Is there a netconfig policy that would allow it to modify resolv.conf and the DNS module handle the forwarder.conf as it used to do? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473705
User joe_morris@ntm.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=473705#c1
--- Comment #1 from Joe Morris
https://bugzilla.novell.com/show_bug.cgi?id=473705
User eddie@cs.rhul.ac.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=473705#c2
Edward Howson
https://bugzilla.novell.com/show_bug.cgi?id=473705
Jiri Srain
https://bugzilla.novell.com/show_bug.cgi?id=473705
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=473705
User mt@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=473705#c3
Marius Tomaschewski
From man resolv.conf(5):
nameserver Name server IP address
Internet address (in dot notation) of a name server that the
resolver should query. Up to MAXNS (currently 3, see
https://bugzilla.novell.com/show_bug.cgi?id=473705
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=473705#c6
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=473705
User mt@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=473705#c7
Marius Tomaschewski
participants (1)
-
bugzilla_noreply@novell.com