Fix for failing lookups of names resolving to IPv6 only