Created attachment 5462 [details] PATCH for this bug If the system has no IPV6 and meanwhile the DNS server is not available or no service. nslookup has segmentation fault. How to test: set DNS server to a ip address which is not actually a DNS server.
what C library are you using ? i wonder if this is a bug in glibc itself ... there's been a few fixed for the 2.20 release like: https://sourceware.org/bugzilla/show_bug.cgi?id=17125