Test over both IPv4 and IPv6, if available