For the getaddrinfo_fail test cases you want to use a fully qualified domain name so that in network configurations that have a search domain the test will still fail. To create a fully qualified domain add a period at the end, see http://www.dns-sd.org/trailingdotsindomainnames.html for an explanation. Fixes: https://github.com/libuv/libuv/issues/583 PR-URL: https://github.com/libuv/libuv/pull/586 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>