This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/14966] getaddrinfo() with AI_ADDRCONFIG may fail to properly resolve /etc/hosts names, e.g. "localhost"
- From: "psimerda at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 22 Jan 2013 17:39:50 +0000
- Subject: [Bug network/14966] getaddrinfo() with AI_ADDRCONFIG may fail to properly resolve /etc/hosts names, e.g. "localhost"
- Auto-submitted: auto-generated
- References: <bug-14966-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14966
--- Comment #2 from Pavel Åimerda <psimerda at redhat dot com> 2013-01-22 17:39:50 UTC ---
In many cases, having localhost point to both IPv4 and IPv6 addesses can serve
as a workaround:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
...
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.