Ha. And if I restore "hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4" and take down network interfaces then the status / errno is different again: it's -5 / 110 (EAI_FAMILY / ETIMEDOUT). Onzin, as the Dutch say.
# ./a.out Making resolv.conf empty Results of looking up www.google.com: status = -5, errno = 110 Results of looking up a bogus name: status = -5, errno = 110 Writing incorrect nameserver option to resolv.conf Results of looking up www.google.com: status = -5, errno = 110 Results of looking up a bogus name: status = -5, errno = 110 Making resolv.conf empty Results of looking up www.google.com: status = -5, errno = 110 Results of looking up a bogus name: status = -5, errno = 110 Writing correct nameserver option to resolv.conf Results of looking up www.google.com: status = -5, errno = 110 Results of looking up a bogus name: status = -5, errno = 110 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1154599 Title: getaddrinfo() returns -11 (EAI_SYSTEM) instead of -2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1154599/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
