IPv6 DNS issues within a VPN.

When connected to Wi-Fi network with a DHCP server that serves IPv4 and IPv6 configs, IPv6 hostname resolution works just fine. When connected to a Wi-Fi network that only serves IPv4 configs whilst connected to a VPN that does support IPv6 and having set appropriate IPv6 addresses and routes for the tunnel device and setting IPv6 DNS servers in the system config, IPv6 hostname resolution fails. Inspecting the network traffic seems to suggest that no DNS request is being sent out, the requests just time out. This is rather peculiar, as I can reach the IPv6 addresses just fine, and if I manually send out the DNS request to the IPv6 resolver, the response comes back just fine (via dig -6 apple.com @$my-ipv6-resolver-address). What should I be doing to ensure that IPv6 DNS works when connected to a VPN that supports IPv6?

Posted on May 4, 2020 2:25 AM

Reply

Similar questions

4 replies

May 4, 2020 7:12 AM in response to EmilsP

EmilsP wrote:

When connected to Wi-Fi network with a DHCP server that serves IPv4 and IPv6 configs, IPv6 hostname resolution works just fine.

When connected to a Wi-Fi network that only serves IPv4 configs whilst connected to a VPN that does support IPv6 and having set appropriate IPv6 addresses and routes for the tunnel device and setting IPv6 DNS servers in the system config, IPv6 hostname resolution fails. Inspecting the network traffic seems to suggest that no DNS request is being sent out, the requests just time out. This is rather peculiar, as I can reach the IPv6 addresses just fine, and if I manually send out the DNS request to the IPv6 resolver, the response comes back just fine (via dig -6 apple.com @$my-ipv6-resolver-address).

What should I be doing to ensure that IPv6 DNS works when connected to a VPN that supports IPv6?



So why are you so determined to use VPN— what do you suspect is the advantage here...

May 4, 2020 9:38 AM in response to EmilsP

I don't believe there are issues with the VPN configuration as it remains the same between the IPv6 enabled LAN and the IPv4 only LAN. In fact, I've tried different clients and different configurations (WireGuard and OpenVPN), and in all of the cases, IPv6 DNS works in one network, and doesn't in the other. And the same configuration works just fine on other systems.


So why are you so determined to use VPN— what do you suspect is the advantage here...

How is this relevant to my initial question? I need to use a VPN to reach IPv6 hosts to do work. My reasons for using a VPN are orthogonal to macOS not resolving IPv6 hostnames.


May 4, 2020 10:15 AM in response to EmilsP

EmilsP wrote:


I don't believe there are issues with the VPN configuration as it remains the same between the IPv6 enabled LAN and the IPv4 only LAN. In fact, I've tried different clients and different configurations (WireGuard and OpenVPN), and in all of the cases, IPv6 DNS works in one network, and doesn't in the other. And the same configuration works just fine on other systems.

So why are you so determined to use VPN— what do you suspect is the advantage here...
How is this relevant to my initial question? I need to use a VPN to reach IPv6 hosts to do work. My reasons for using a VPN are orthogonal to macOS not resolving IPv6 hostnames.

If this is required for work contact your VPN/Network admin to determine why the VPN client/server is not performing correctly. Typically when connected through a private tunnel using VPN, DNS is performed at the server/private network end of the tunnel. Your Mac can not have multiple concurrent gateways.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

IPv6 DNS issues within a VPN.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.