No DNS resolution when connected to VPN - windows 10

I'm running into a weird issue with windows 10 dns resolution when connected to a VPN connection. VPN tunnel is provided by an ASA configured in split tunnel mode.

The issue i'm having on 2 windows 10 machines is that i'm not getting any kind of dns resolution from ping of web browsers, however nslookup resolves just fine.

outputs when connected to the vpn tunnel:

ping to google.com

ping google.com
Ping request could not find host google.com. Please check the name and try again.

nslookup to google. com

    > google.com
Server:  nsc5.so.cg.shawcable.net
Address:  64.59.135.147

Non-authoritative answer:
Name:    google.com
Addresses:  2607:f8b0:4009:801::200e
          172.217.4.238

pinging the resulting address

ping 172.217.4.238    
pinging 172.217.4.238 with 32 bytes of data:
Reply from 172.217.4.238: bytes=32 time=103ms TTL=54
Reply from 172.217.4.238: bytes=32 time=106ms TTL=54
Reply from 172.217.4.238: bytes=32 time=102ms TTL=54
Reply from 172.217.4.238: bytes=32 time=103ms TTL=54

    Ping statistics for 172.217.4.238:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 102ms, Maximum = 106ms, Average = 103ms

I looked at the logs on the Cisco ASA, no traffic reached it I tried disabling IPV6 I tried increasing the metric on the LAN connection to 15

Still no DNS resoluton for ping of web browsers.


When you are connected to a VPN, you are connected to the remote network - and thus, your local DNS settings will be different from your remote's records. This is the trouble you're seeing.

The answer would be found in your remote network's DNS settings. This will entirely depend on how the site is set up. It does help sometimes to use ipconfig \flushdns to clear the local DNS cache on your machine so it doesn't confuse the local and remote caches.