Fix IPv6 on Windows and DNS.