Solved

No DNS across VPN and can't access Exchange server

Posted on 2007-11-20
6
1,402 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
  • 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 3

Accepted Solution

by:
brian_36526 earned 500 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
When you have clients or friends from around the world, it becomes a challenge to arrange a meeting or effectively manage your time. This is where Outlook's capability to show 2 time zones in one calendar comes in handy.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

810 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