?
Solved

No DNS across VPN and can't access Exchange server

Posted on 2007-11-20
6
Medium Priority
?
1,409 Views
Last Modified: 2010-05-18
I'm working on a client's machine (at home) where DNS doesn't seem to be working across the VPN. We are establishing the VPN between the clients computer and the router at their office. The VPN router is a Linksys RV082 and we are using the built in pptp server. The VPN establishes fine. I can ping the server. When I ping via the server name, I get proper IP address resolution.

THe DSL router is handing out a 192.168.1.x address scheme. The VPN is on 192.168.0.x. I can ping the server as I said which is on 192.168.0. 1.

DNS on the server (SBS 2003) is set correctly for DNS with proper forward and reverse zones.

On the home computer, the router is handing out ip address and handling DNS. On the VPN setting, I set the IP address configuration to automatically get the IP Address (which is handed out by the Linksys Router) but I set the DNS manually to point to the server (192.168.0.1).

I added a record to the host file where
192.168.0.1    servername

I reduced the mtu to prevent fragmenting (ping -f -l 1500 www.somedomain.com). The fragmenting stopped once the packet size was reduce to 1350.

When I run NS lookup on the client machine, I get the following message:

nslookup servername
server: home
address: 192.168.1.254

*** home can't find servername: Non-existent domain

The 192.168.1.254 is the ip address of the (home) router for DNS. I don't understand why it won't look to the VPN for resolution.

While I can access the data files via IP address (192.168.0.1/data), Outlook won't work because it can't find the exchange server.

This is getting to be a really issue for the client and I need help to clear it up. It'll be nice to know why this isn't working the way that I expect.

Thanks in advance for the assistance.

Regards,

Bill Marquardt
0
Comment
Question by:w_marquardt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 3

Expert Comment

by:brian_36526
ID: 20325626
Why not just add the exchange server to the host table. Not to mention an RV082 doesn't have a place in an environment that has their own exchange server.
0
 
LVL 9

Expert Comment

by:cooledit
ID: 20326124
Hi, there

All DNS settings should be determined by the VPN server the router/server who hands out the IP address should also handle the DNS settings and so on.

As soon as you start the VPN clients all is handled by the VPN server, think it as a mobile network when you turn on your phone you get handed out a connection from the provider he knows your phone id. It works the same here.

Cooledit
0
 

Author Comment

by:w_marquardt
ID: 20327689
Brian_26526:

Maybe I'm not understanding how to add the exchange server specifically to the hosts table.

Here's what I have and maybe you can explain what I have wrong.

Lets say the server name is server1. This is small business server 2003 so the exchange server is built in.

In the hosts table I have already entered the following:

192.168.0.1    server1

I figured this would cover the exchange server too. If I ping server1, I get the correct ip address back. (192.168.0.1)
Is there something else I need to do for the hosts table to get it to relate to the exchange server?

CoolEdit:

I would think that DNS should be handed out by the router / pptp server as well but there's no provision for that on the RV082. The PPTP server hands out an IP address only. Wouldn't setting the DNS setting (on the INternet Protocol Properties page) to point to the server on the VPN have the same effect? Must not be as it's not working but I'm no seeing the difference.

Thanks,

BIll
0
Limited time offer using promo code EXPERTS25

Designed with a wealth of functionality and convenience, ATEN's new Thunderbolt™ 2 Sharing Switch takes your Thunderbolt setup to the next level. Now through August 31, 2017, Experts Exchange members get 25% off the US7220 on the ATEN USA eShop using promo code EXPERTS25.

 
LVL 3

Accepted Solution

by:
brian_36526 earned 2000 total points
ID: 20331796
You have to enter the server name as you configured it in the outlook client.
0
 

Author Comment

by:w_marquardt
ID: 20332315
Okay... I won't get a chance to check that out until Friday but it sounds promising.

Thanks,

Bill
0
 

Author Closing Comment

by:w_marquardt
ID: 31410297
Sorry for the long delay on this. Didn't catch up with the client as expected and then she left of vacation. Made the change this morning and having the full name of the server in the hosts file resolved the problem completely.

Thanks,

Bill
0

Featured Post

Ransomware Attacks Keeping You Up at Night?

Will your organization be ransomware's next victim?  The good news is that these attacks are predicable and therefore preventable. Learn more about how you can  stop a ransomware attacks before encryption takes place with our Ransomware Prevention Kit!

Question has a verified solution.

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

OpenVPN is a great open source VPN server that is capable of providing quick and easy VPN access to your network on the cheap.  By default the software is configured to allow open access to your network.  But what if you want to restrict users to on…
This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

770 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