Dear Ibrahim,
Thank you for reaching out regarding the DNS resolution issue with your Point-to-Site VPN connection. Below I would like to share with you some troubleshooting steps and recommendations to help resolve your problem
- Verify DNS Configuration
- Ensure the custom DNS servers (if configured) in your Azure Virtual Network (VNet) are reachable from the P2S clients.
- Check if the VPN clients are receiving the correct DNS server settings via: VPN client configuration (e.g., ipconfig /all after connecting). Azure VPN Gateway settings (under Point-to-site configuration > DNS servers).
- Check Azure VPN Gateway Settings
- Confirm that the DNS servers are correctly specified in: Virtual Network > DNS Servers (Azure-side). VPN Gateway > Point-to-Site Configuration > DNS Servers. If using Azure-provided DNS, ensure no custom DNS is overriding it unintentionally.
- Test Basic Connectivity & DNS Resolution
- From a connected P2S client, run
nslookup example.com
ping example.com
If nslookup fails but ping works (with IP), DNS is the issue.
If both fail, check network routes (route print) to ensure traffic is routed via the VPN.
- Validate VPN Client Configuration
If using Azure VPN Client, ensure the profile is updated.
For SSTP/OpenVPN/IKEv2, regenerate the VPN client configuration if DNS settings were recently changed.
- Firewall/NSG Rules
Ensure Network Security Groups (NSGs) or firewalls (on-premises/Azure) are not blocking:
UDP 53 (DNS queries).
TCP/IP connectivity to DNS servers.
- Additional Checks
If using split tunneling, confirm DNS requests for internal resources are routed via VPN.
- For Windows clients, flush DNS cache:
ipconfig /flushdns
If the issue persists, may I ask you please provide
- The output of ipconfig /all from a connected client.
- Whether public DNS (e.g., 8.8.8.8) works when manually configured.
- Any errors in VPN client logs (e.g., Azure VPN Client logs).
Best regards,
Alex
P.S. If my answer help to you, please Accept my answer