Solution:
Root Cause: Enterprise Private DNS Resolution Failure for Public Records
When a VPN client connects with full-tunnel or strict DNS redirection enabled, it overrides the host adapter's primary and secondary DNS server properties, replacing them with enterprise internal DNS servers (e.g., Active Directory Domain Controllers). If these enterprise DNS servers lack root hints or forwarders for public internet records, queries for external domains (like google.com) return
NXDOMAIN or time out, despite active IP-level connectivity.
Diagnostic Verification:
Open Command Prompt and test public name resolution against the VPN-assigned DNS server versus a public resolver: nslookup google.com *(Fails or times out using internal corporate DNS IP)*
nslookup google.com 1.1.1.1 *(Succeeds with correct public A record)*
Step-by-Step Fix:
1Open Network Connections Properties:
Press Win + R, type ncpa.cpl, and hit Enter.Right-click the VPN Virtual Adapter (e.g., *OpenVPN TAP-Windows*, *AnyConnect*, or *WireGuard*) > select Properties.2Configure Dual-Layer IPv4 DNS Servers:
Double-click Internet Protocol Version 4 (TCP/IPv4).Under *Use the following DNS server addresses*, set Preferred DNS server to your primary corporate DNS (e.g., 10.0.0.2).Set Alternate DNS server to a public high-performance resolver (e.g., 1.1.1.1 or 8.8.8.8).3Enable NRPT (Name Resolution Policy Table) Rules for Split-DNS (PowerShell Administrative Command):
Force split-DNS execution using PowerShell so public domains bypass internal resolvers: Add-DnsClientNrptRule -Namespace "." -DnsServers "1.1.1.1"
Prevention & Long-Term Monitoring:
Network administrators should configure Split-DNS profiles in the VPN gateway configuration (e.g., Cisco ASA, Fortinet, or Palo Alto GlobalProtect) to route internal domain queries exclusively to enterprise resolvers.