How does Windows decides which DNS Server to use when resolving names and connected to a VPN

Solution 1:

It depends of the VPN that you are using... usually, Windows resolves everything through the VPN tunnel.

Other solutions such as DirectAccess for example, let you define a NRPT to determine how a specific namespace should be resolved.