> > On Jan 8 13:44, cyg Simple wrote: > > On 1/8/2016 6:14 AM, Corinna Vinschen wrote: > > > $ ./gai leapsecond.utcd.org > > > ret = 11004 > > > > > > I have no idea why Windows' getaddrinfo chokes on leapsecond.utcd.org > > > at all. > > > > utcd.org doesn't resolve for me. So getaddrinfo has no info to get. > > Why then does it work on Linux? >
nslookup works for me: Win7 64-bit $ nslookup leapsecond.utcd.org Non-authoritative answer: Server: UnKnown Address: 192.168.1.1 Name: leapsecond.utcd.org Address: 244.34.36.97 Win10 64-bit C:\Users\Andy>nslookup leapsecond.utcd.org Server: UnKnown Address: 192.168.1.1 Non-authoritative answer: Name: leapsecond.utcd.org Address: 244.34.36.97 However, tracert and ping yield this on both W7 & W10: $ tracert leapsecond.utcd.org Unable to resolve target system name leapsecond.utcd.org. $ tracert 244.34.36.97 Tracing route to 244.34.36.97 over a maximum of 30 hops 1 Transmit error: code 1231. Trace complete. $ ping 244.34.36.97 Pinging 244.34.36.97 with 32 bytes of data: PING: transmit failed. General failure. PING: transmit failed. General failure. PING: transmit failed. General failure. PING: transmit failed. General failure. Ping statistics for 244.34.36.97: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), Weird! -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple