[Bug 822414] New: glibc 2.17 dns resolver fails to return query results with _ in the name
https://bugzilla.novell.com/show_bug.cgi?id=822414
https://bugzilla.novell.com/show_bug.cgi?id=822414#c0
Summary: glibc 2.17 dns resolver fails to return query results
with _ in the name
Classification: openSUSE
Product: openSUSE 12.3
Version: Final
Platform: x86-64
OS/Version: openSUSE 12.3
Status: NEW
Severity: Major
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: root+novell@su.lt
QAContact: qa-bugs@suse.de
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/27.0.1453.93 Safari/537.36
Update to 12.3 breaks GLIBC DNS resolving when hostname includes "_"
This breaks breaks samba and all other software, using slightly invalid
hostnames
Reproducible: Always
Steps to Reproduce:
1.setup any hostname with _ in it's name (for example samba4 AD DC)
2.make sure /etc/nsswitch.conf containts "hosts: files dns"
3.ping any hostname with _ in it's name (f.e.
https://bugzilla.novell.com/show_bug.cgi?id=822414
https://bugzilla.novell.com/show_bug.cgi?id=822414#c
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=822414
https://bugzilla.novell.com/show_bug.cgi?id=822414#c1
Andreas Schwab
https://bugzilla.novell.com/show_bug.cgi?id=822414
https://bugzilla.novell.com/show_bug.cgi?id=822414#c2
--- Comment #2 from Giedrius Liubavičius
A DNS hostname label must not start with an underscore. And the HOSTNAME part does not! The SUBDOMAIN label has this. See RFC 2782 for names with _
Anyway... this is not up to the stub resolver to DROP RESPONSE. This is SERVERS choice to reply or not, and the resolver just CACHES. -- 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.
participants (1)
-
bugzilla_noreply@novell.com