Tuesday, August 30, 2016

Windows 10 remote DNS resolution problems

You might have noticed that with windows 10, after connecting to customer VPNs ,  the  machine fails to resolve the remote DNS ( VPN ) and it instead resolve your  local DNS  ( You LAN adapters ) and it becomes impossible to resolve DNS entries on the remote network (such as domain computers).

This happens due to two major facts

Windows 10 DNS resolver sends DNS requests in parallel to all available network interfaces

1.       If your LAN/Wifi adapter gets a lower metric automatically assigned by windows and the VPN adapter gets a higher one, the precedence goes to the Local LAN adapter and the machine tend to resolve the local DNS
2.       If the VPN doesn’t support ipv6, the windows again gives precedence to less metric enabled ipv6 adapter  ( In a few cases , though the first one is predominant)

So in case if you happen to face such issues, below is the solution

·         Control Panel > Network and Sharing Center > Change adapter settings > Right click your Ethernet or Wifi adapter > Properties > double click IPv4 > Advanced > Uncheck Automatic Metric > Enter 15 for interface metric > OK > OK. ( This can be also done via CMD as netsh int ip set interface interface="LAN CONNECTION NAME" metric=15 from an admin command prompt )

·         On that same Properties page, double click IPv6 > Advanced > Uncheck Automatic Metric > Enter 15 for interface metric > OK > OK.


( Most of the times, making the changes on the ipv4 will do the trick ) 

No comments:

Post a Comment

A lie

24 th  June Wednesday Why do we tell lies? . I am sure everyone would have told lies, at least once in their life. Lie comes in v...