1 --- a/src/dns.c 2007-06-25 23:58:38.000000000 -0700
2 +++ b/src/dns.c 2016-06-04 16:20:19.644865127 -0700
4 lookup_host_addrinfo(struct addrinfo **res, const char *host, int port)
7 - char ascport[10] = "whois";
8 + char ascport[10] = "nicname";
11 memset(&hints, 0, sizeof(hints));
12 hints.ai_family = PF_UNSPEC;
14 + hints.ai_flags = AI_ADDRCONFIG;
15 hints.ai_socktype = SOCK_STREAM;
17 sprintf(ascport, "%9.9d", port);