[Bug libc/4647] New: deleting the last ipv6 nameserver from resolv.conf causes resolving to cease working
tjanouse at redhat dot com
sourceware-bugzilla@sourceware.org
Fri Jun 15 09:05:00 GMT 2007
Having one (or more) ipv6 nameservers in resolv.conf and then removing it and
calling res_init to reread it causes resolver to stop working, because an IPv4
socket is created and and connected to an IPv6 sockaddr.
I'm attaching a reproducer and a proposed fix (I did not test it but I believe
it provides a pretty good idea of why is that happening).
--
Summary: deleting the last ipv6 nameserver from resolv.conf
causes resolving to cease working
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: tjanouse at redhat dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4647
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Glibc-bugs
mailing list