Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have set up a PPTP tunnel on my linux box (LAN is 192.168.1/24)

PPTP settings are: Local/Remote /

I can connect to the server with an iphone and can access ip addresses on the lan, but cannot connect to the internet with DNS. I can access the internet with ip addresses.

What am I doing wrong?

share|improve this question
Do you have an internal DNS server? – GregD Oct 18 '09 at 2:26
The DHCP which assigns the IP address inside of 192.168.1.x to the iPhone should also assign a DNS server (within the network), which should be capable of internal/external resolution. – Kyle Smith Oct 18 '09 at 2:36
@GregD no, use opendns – Tom Oct 18 '09 at 12:13

If you can use the IP addresses but not the names, it means that the DNS is not working.

Set the following in /etc/ppp/options (on the server):


to use opendns, or easier to remember, Google public dns:


Those servers are anycasted around the world and are pretty reliable, and also quite fast!

share|improve this answer
That was a great explanation, and prompted me to go back and understand what Anycasting is, and why it is used. – SpacemanSpiff Apr 3 '11 at 23:37

Your Answer


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