DNS for VPN connection [closed]

I have two Windows PCs (XP and 7) in my company. Both are connected to headquarters via OpenVPN. On one of them I can access to the internal HQ website. On the second it is not possible. I did tracert from both and I see that:

  1. for the XP the first point it connects is the VNC server in HQ and it reaches website in 3 hops.
  2. for the 7 the first point it connects is our local router and it reaches only main router in HQ going first through many cities (10 hops). In the end it can’t load that website.

I suppose the reason is how DNS are used on both computers. But I can’t find how to modify it. Could you help, please?

ipconfig: http://pastebin.com/VmaQHrh9
netstat: http://pastebin.com/nc7Styu5
tracert: http://pastebin.com/HMSJtrtV

ipconfig: http://pastebin.com/Ee9qcXtg
netstat: http://pastebin.com/QdzKmJCs
tracert: http://pastebin.com/BbyUg6SP


The windows 7 box is using for DNS (presumably a home router that uses the ISP’s DNS servers). This resolves your website panteon.cbk.waw.pl to

The XP box correctly uses the internal DNS server and resolves panteon.cbk.waw.pl to the internal IP

Couple of ways round this:

  1. Use a unique URL for your internal website, eg. internalweb.cbk.waw.pl
  2. On the Win 7 box add a HOSTS file entry for panteon.cbk.waw.pl using the internal IP
  3. Set the Win 7 box to use the DNS at as primary DNS

Main issue is that your target website resolves both internally and externally depending which DNS you use.

Source : Link , Question Author : bLAZ , Answer Author : BlueCompute

Leave a Comment