Link to home
Start Free TrialLog in
Avatar of TheCleaner
TheCleanerFlag for United States of America

asked on

Windows 7 PPTP VPN not using VPN DNS servers

We have a small branch office with a Windows 2003 server setup there.  It is running RRAS with a simple PPTP VPN setup.

It works just fine, and users are able to connect to it just fine using Windows XP.

However, we have one user there with Windows 7 at their home.  They can connect just fine but even if I manually set the DNS servers for their PPTP connection the windows 7 machine will continue to try and use the local ISP at their house for DNS resolution (in this case resolver.qwest.net).

I have done my own 5 minutes of research and found some mention of changing the linkage subkey in the registry and making sure the NDIS\WanIP is at the top of the order and/or the GUID for the PPP adapter is at the top.  I did this, but still no luck.

Use Default Gateway on Remote Network has been checked and unchecked, and almost all of the TCP/IP settings have been messed with to see if anything helps.  No luck.

ping and browsing after connecting to the VPN by IP works just fine, it's just that the client refuses to use the DNS servers at the office once connected.

I've also tried doing nslookup and setting the server to one of the DNS servers at the branch office and querying but I get "server failed" on any query.


Any help is appreciated.  If EE can't figure this one out I'll just open a ticket with MS and let them deal with it.
Avatar of wolfcamel
wolfcamel
Flag of Australia image

i have seen this sometimes if the home IP range is similar to the work Ip range.
Avatar of TheCleaner

ASKER

wolf,

Not the case here.

Home IP range is 192.168.1.x/24
Work/VPN IP range is 10.30.10.x/24

You can solve this by manually entering the desired DNS server IP addresses in the VPN connection properties, under networking, Internet protocol tcp/ip 4 properties.
Tried that isaman07.  Even set a static IP and static dns suffixes.  The connection still sets their isp's dns server as the first dns server to query.  The only "fix" that works is host entries.
Just tried it in my lab and it uses the manually entered DNS server by default. Can you give it a go? dial your vpn and then perform an nslookup, see what is the returned IP of the server.
Did that...nslookup shows resolver.qwest.net as the default DNS server, even if I manually enter DNS servers.

I have Windows 7 on my machine and it works fine.  It must be something unique to Windows 7 Home or something semi-unique to him.

Here's example urls I've found:

http://www.hideipvpn.com/2009/09/dns-issues-on-pptp-vpn-connect/
http://support.microsoft.com/kb/942440
http://support.microsoft.com/kb/311218
http://www.hydrous.net/weblog/2009/10/28/force-windows-to-use-a-vpns-dns-server

I've tried those fixes as well...no joy.  It's as if something is inserting their ISPs DNS server into the binding regardless of what I do.
SOLUTION
Avatar of Rob Williams
Rob Williams
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Rob,

Yes.  However, I've noticed that they don't stay.  If you add them they just go back to the default radio button after hitting OK and closing those settings and going back to them.

The one thing I haven't tried that would be somewhat a given is to completely delete the VPN connection and create a new one in hopes that these gremlins go away.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Suggestions were accurate...just not applicable here for some reason.