This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/12398] getaddrinfo("127.0.0.1") and/or getaddrinfo("::1) may fail with AI_ADDRCONFIG
- From: "metadings at live dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 07 Apr 2016 05:14:08 +0000
- Subject: [Bug network/12398] getaddrinfo("127.0.0.1") and/or getaddrinfo("::1) may fail with AI_ADDRCONFIG
- Auto-submitted: auto-generated
- References: <bug-12398-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=12398
Uli Riehm <metadings at live dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |metadings at live dot de
--- Comment #15 from Uli Riehm <metadings at live dot de> ---
I have this problem too - with gethostname(). I'm going to make a new DNS
service and built a DNS resolver, which must run on localhost.
If I'm disconnected from eth0 and wlan0 and the computer is offline, Firefox
doesn't even try to resolve hostnames (on Linux, but also on Windows), whereas
nslookup actually does resolve them. I'm using Firefox, but now I suspect this
being a problem of libc; and I don't want (but need) to run some virtual
interface which is always-up.
I do need this feature, because there maybe services running on localhost - so
they are also available in offline mode.
--
You are receiving this mail because:
You are on the CC list for the bug.