[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Windows 7 PPTP VPN not using VPN DNS servers

Posted on 2011-11-01
11
Medium Priority
?
1,582 Views
Last Modified: 2012-05-12
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.
0
Comment
Question by:TheCleaner
11 Comments
 
LVL 20

Expert Comment

by:wolfcamel
ID: 37063669
i have seen this sometimes if the home IP range is similar to the work Ip range.
0
 
LVL 23

Author Comment

by:TheCleaner
ID: 37063783
wolf,

Not the case here.

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

0
 
LVL 14

Expert Comment

by:isaman07
ID: 37064264
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.
0
A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

 
LVL 23

Author Comment

by:TheCleaner
ID: 37065019
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.
0
 
LVL 14

Expert Comment

by:isaman07
ID: 37065144
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.
0
 
LVL 23

Author Comment

by:TheCleaner
ID: 37065423
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.
0
 
LVL 78

Assisted Solution

by:Rob Williams
Rob Williams earned 1000 total points
ID: 37065470
Have you added the corporate DNS suffix as per:
http://blog.lan-tech.ca/2011/05/14/vpn-client-name-resolution-2/
0
 
LVL 23

Author Comment

by:TheCleaner
ID: 37066387
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.
0
 
LVL 14

Assisted Solution

by:isaman07
isaman07 earned 1000 total points
ID: 37071071
Weird i tested this on a wondows 7 and it works just fine. Maybe recreating the VPN connection as you suddest will fix it?!
0
 
LVL 23

Accepted Solution

by:
TheCleaner earned 0 total points
ID: 37094311
The user tried recreating the VPN account and it still doesn't work right.  However, the user tried it on a different Windows 7 computer at his house and it works just fine.

I don't know...chalk it up to aliens.
0
 
LVL 23

Author Closing Comment

by:TheCleaner
ID: 37123851
Suggestions were accurate...just not applicable here for some reason.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question