Question:
iPhone to Windows 7 PPTP VPN DNS resolution broken?
Muttleyuk
2011-03-07 04:26:19 UTC
Hi - I have a Windows 7 desktop at home, which is setup to accept incoming PPTP VPN connections. This server has a static address of 192.168.0.105.

I can connect successfully to this via my iPhone's built-in PPTP VPN client. My iPhone is always given the address 192.168.0.170 (I have specified that only one connection is allowed, and the DHCP is limited to this one address).

At home, I also have D-Link NAS drive (192.168.0.108). The DNS name for this is DNAS.

From my desktop, I can ping DNAS, no problems. From my iPhone, I can only ping it using it's IP address.

Does anybody know how to force Windows to allow PPTP clients to use it's DNS settings or to manually add an entry?

I have tried forcing it in the hosts file already, but as suspected, it makes no difference.

Thanks in advance to anybody that can shed some light on this - I've looked everywhere for some tips!

Phil
Five answers:
?
2011-03-07 05:31:18 UTC
PPTP - point to point tunnelling protocol

VPN - virtual private network



DNS is not getting distributed, and to be honest unless you set up a DNS relay agent, you won't have much more that the address of the common DNS server. I suspect that the trafiic you are intending for your NAS drive is just being sent to your default gateway through the PPTP and dropped as there is no route configured to return this traffic to the NAS, DNS or no DNS.



You could add a static route in netsh in Windows to send this traffic to the NAS, but this isn't ideal as computer would have to be on to work.And really you just want DNS to work.



IPhone static route to 192.168.0.108 ,having a host name resolves it to a address, but that doesn't mean it has a ROUTE to actually get there. Um I don't have a IPhone.....bit of research....you'll need to get a terminal open in your IPhone and use a command ' route add 192.168.0.108 -p' i.e. persistent....confirm this with 'route print route -p ' I don't have a Iphone to test this on.



To be honest I don't think the IPhone is making a routing decision this might resolve it but if traffic still gets pushed to router it might be dropped as the router is not aware it needs to be forwarded if the IPhone has rewritten its destination address to the default gateway. So DNS record/ host file is ignored and default gateway is used, and the router doesn't resolve the query as it doesn't know and traffic is dropped.
jarvie
2016-12-13 14:21:58 UTC
Iphone Vpn Dns
2014-08-18 14:39:51 UTC
I recommend making use of VPNPower to unblock sites. I have been using them since 5 years. http://www.vpnpower.net
2011-03-07 04:59:30 UTC
this is technical matter also requires some config here is a vpn service provider forum and you can get solutions from experts free!
2014-04-19 20:22:32 UTC
When i recommend using http://www.vpnpower.net to unblock web-sites. I am using their services for more than 4 years without having complications.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...