Bug 602396
Summary: | Resolver requests fail | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dan Williams <dcbw> |
Component: | glibc | Assignee: | Jeff Law <law> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 14 | CC: | fweimer, jakub, schwab |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-01-25 18:00:39 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
Dan Williams
2010-06-09 19:01:57 UTC
Created attachment 422655 [details] packet capture of failed "wget http://lwn.net" Created attachment 422657 [details]
failed and successful wgets for novell.com
I assume 'wget -4' just tells getaddrinfo to use AF_INET and not both, so glibc returns only the IPv4 address. Or something like that? In any case, I can't see the nameserver returning any valid IPv6 results for anything in these packet captures, but it does return IPv4 results. /etc/resolv.conf is: # Generated by NetworkManager nameserver 192.168.1.254 and my glibc version is: glibc-2.12-2.x86_64 Created attachment 422659 [details]
failed and successful wgets for novell.com (with only dns packets)
Created attachment 422662 [details]
successful DNS request from RH's DNS servers using openvpn on the same machine
It's pretty clear that the AP kinda sucks, but I thought that if IPv6 wasn't enabled on any interfaces, that glibc wouldn't try requesting AAAA records or something like that? That's sub-optimal though since by default most people will have at least an IPv6 LL address, so maybe it would make more sense to not request AAAA records unless at least one interface has a non-LL address. Setting the hostname to 'localhost' to suppress glibc's queries for lwn.net.localdomain doesn't work either. Seems like the problem is that the DNS server doesn't actually return any answers for the AAAA query though it says "success"? This is probably why Chrome works but FF doesn't: http://code.google.com/p/chromium/issues/detail?id=28943 This bug could be the same as: https://bugzilla.redhat.com/show_bug.cgi?id=505105 So I assume most apps will make name queries with AF_UNSPEC. In that case, if no usable AAAA answers are returned, since the app didn't specifically request IPv6 or IPv4, shouldn't glibc return the partial answer successfully? Then it's up to the app to sort through the list and pick out which one it wants to use, either IPv4 or IPv6... What do you get from dig aaaa lwn.net? I'm not in that location anymore, but are the packet captures above not sufficient? I can't imagine that dig would return anything materially different than what glibc wanted... dig uses its own stub resolver, so it is important to get its output. This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle. Changing version to '14'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. *** This bug has been marked as a duplicate of bug 505505 *** |