Protocols.DNS: Improved detection of IPv6 support. These tests should be sufficient to get Protocols.DNS to work on all OSes again.