This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug network/12398] getaddrinfo("127.0.0.1") and/or getaddrinfo("::1) may fail with AI_ADDRCONFIG


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]