Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I setup pptp on my Linux (CentOS) server. When I connect from a Windows client I am losing name service on the windows side. Connecting to my application works ok, though.

I tried to set ms-dns in option-pptp and also to set a DNS server on the windows side, but to no avail.

Thanks for any ideas, Michael

share|improve this question

2 Answers 2

After you bring up the VPN, run ipconfig /a to see what you computer is using for the DNS server. Are you setup to use the default gateway on the remote host? If you turn that off, then only packets going to the CenOS Server network will go though the PPTP connection. All other packets will go out your regular connection. Then you can continue to use your existing DNS servers (and it will make browsing faster as well).

share|improve this answer

If you have a WINS server on your network then you should also add the ms-win option to your configuration.

Also make sure you're also setting the domain. Otherwise the search domain for resolving names may not append the appropriate domain name for dns to work unless people use the fully qualified domain name.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.