Not able to query VPN DNS

I have created a VPN connection to an Azure VPN Gateway using the documentation linked below:

https://docs.microsoft.com/en-us/azure/vpn-gateway/point-to-site-vpn-client-conf iguration-azure-cert


I am able to connect with no problems but I am not able to resolve anything using the VPN DNS server. When I open Terminal and run scutil --DNS, I see the VPN DNS server listed under the section titled "DNS condifgurations (for scoped queries) but when trying to browse to a resource thru the VPN, the browser cannot resolve the address. From within Terminal, if I run nslookup and then query the VPN DNS server specifically for a record, it returns the response.


I even tried adding the DNS server to the Advanced properties page but that had no effect.


How can I configure the OS to query the VPN DNS server when I am connected to the VPN?

Posted on Aug 14, 2018 10:29 AM

Reply
8 replies

Aug 14, 2018 11:43 AM in response to Marco Klobas

I read that before posting but it is kinda old and I have been unable to figure out how to effect what the solution is:


"You need to “Set Service Order” in Network preferences such that your VPN has highest priority. Then the resolver coming from the VPN will be preferred for your search domain “alison.local”."


When I try to set Service Order, it does not list the VPN connection I created as one of the options to order.

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.

Not able to query VPN DNS

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