C:\WINDOWS\system32\drivers\etc\hosts
Seems it's no longer working after I switch on the VPN.
Is it the case ,or just my own mistake?
C:\WINDOWS\system32\drivers\etc\hosts
Seems it's no longer working after I switch on the VPN.
Is it the case ,or just my own mistake?
The hosts
file supersedes remote DNS lookups, no matter how you're connected. So the name-to-IP mapping shouldn't change. However, VPNs often change the nature of your connectivity, which can change which server responds to the IP address you've assigned.
Yes this is normal as the VPN server is pushing his own DNS servers onto the local host.
So they must be declared in the remote "hosts" file (on the server) or there must be an entry in the remote DNS server.
hosts should work fine. What kind of VPN software are you using? Could it be disabling the hosts file or using its own by changing registry keys?
http://support.microsoft.com/kb/314053
Compare the values before/after.