http://bugzilla.novell.com/show_bug.cgi?id=576759 http://bugzilla.novell.com/show_bug.cgi?id=576759#c0 Summary: yast dns vs. dns-server is poorly designed Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: All OS/Version: All Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: a23d56@yahoo.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)
From Bug 558333:
Marius Tomaschewski 2009-11-27 22:56:20 UTC
It sounds like you would like to use bind as forwarder nameserver for your system, right? There is a policy + 3 variables: NETCONFIG_DNS_POLICY="auto" => defines a rule who is allowed to provide settings (servers and search list). NETCONFIG_DNS_STATIC_SERVERS="" => defines the dns domain search list NETCONFIG_DNS_STATIC_SEARCHLIST="" => defines the (external) recursive dns servers / forwarder NETCONFIG_DNS_FORWARDER="resolver" => "resolver", "bind", "dnsmasq" resolver: writes servers and search list to resolv.conf bind: writes servers to bind's forwarders.conf and search list to resolv.conf dnsmasq: writes servers to dnsmasq-forwarders.conf and search list to resolv.conf This means: for ="bind", the nameserver IPs you enter in YaST2, will be written (by "netconfig update") to the forwarders.conf, so bind is using them as forwarders. ! There are no nameserver entries in resolv.conf then ! They are not needed -- glibc will automatically use the name server on the local machine, that is, it will use bind. And bind will use the configured forwarders. See also "man 5 resolv.conf" and "man 8 netconfig".
In case there is no name server running on the local machine, just use NETCONFIG_DNS_FORWARDER="resolver"
This design is a mess. It confuses bind forwarders vs. the resolver. When you install bind, it makes 127.0.0.1 a bind forwarder. This is wrong! Start over with the design, consider the difference between bind forwarders vs. the resolver, and simplify this sorry mess. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.