T The Triage ManualTechnical Guides for IT Emergencies
P3 · Remote Access & VPN

Windows 10 VPN DNS resolution fails with split tunneling due to interface metric priority

On Windows 10 VPN clients with split tunneling enabled, DNS queries are routed to the LAN DNS servers instead of the VPN-assigned DNS servers, breaking name resolution for internal/remote hosts. Windows automatic interface metric assignment gives the LAN adapter a lower (preferred) metric than the VPN adapter; resolution is to set the LAN interface metric higher than the VPN's so DNS queries prefer the VPN interface.

Indicators

Likely causes

Diagnostic steps

  1. Confirm split tunneling is enabled: VPN adapter properties > IPv4 > Advanced > 'Use default gateway on remote network' is unchecked.
  2. Run 'Get-NetIPInterface' (PowerShell) or 'route print' and compare InterfaceMetric values for the LAN/Wi-Fi adapter and the VPN adapter while connected.
  3. Run 'nslookup <internal-hostname>' and confirm the Server line shows the LAN DNS server rather than the VPN-assigned DNS.
  4. Run 'Get-VpnConnection -Name <vpn>' to verify DnsSuffix and any configured DNS servers on the VPN profile are correct.
  5. Temporarily raise the LAN interface metric above the VPN metric and retest DNS resolution to confirm root cause.

Resolution path

Prevention

Tools

References

windows-10vpndnssplit-tunnelinginterface-metricnetshpowershellnetworkingname-resolution