http://bugzilla.novell.com/show_bug.cgi?id=558878 http://bugzilla.novell.com/show_bug.cgi?id=558878#c0 Summary: bad default ^host: entry in /etc/nsswitch.conf Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dpecka@techniservit.cz QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux i686; U; en) Presto/2.2.15 Version/10.00 hi i have experienced, that suse has by default as ^host: entry in /etc/nsswitch.conf : hosts: files mdns4_minimal [NOTFOUND=return] dns it leads, mixed with windows DNS server, to weird dns subsystem behaviour like: 1) ping $fqdn ## fails 2) ping $shortname ## suceed and returns $fqdn 3) dig $fqdn && dig $shortname ## suceed, same for *host|nslookup utility example:
host s10u7-esx.dmtest.local s10u7-esx.dmtest.local has address 192.168.60.201
ping -w 3 s10u7-esx.dmtest.local ping: unknown host s10u7-esx.dmtest.local
dig s10u7-esx.dmtest.local ; <<>> DiG 9.5.0-P2 <<>> s10u7-esx.dmtest.local ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29670 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;s10u7-esx.dmtest.local. IN A ;; ANSWER SECTION: s10u7-esx.dmtest.local. 3600 IN A 192.168.60.201 ;; Query time: 5 msec ;; SERVER: 192.168.60.11#53(192.168.60.11) ;; WHEN: Fri Nov 27 13:39:09 2009 ;; MSG SIZE rcvd: 56
cat /etc/resolv.conf search dmtest.local nameserver 192.168.60.111 domain dmtest.local
. this problem could be fixed by correcting entry to: hosts: files dns mdns4_minimal [NOTFOUND=return] regards and thanks for SUSE, daniel 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.