Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Can't resolve Exchange server via VPN

Posted on 2008-10-13
11
Medium Priority
?
494 Views
Last Modified: 2012-05-05
When I VPN to our server and run Outlook, I cannot connect to the Exchange Server UNLESS I put a route in my local Host file:

192.***.***.**    Myserver.my-domain.com

With this information in my Hosts file, it connects first time every time but without it fails.  Not really a biggie as it works by making this amendment, but I'm sure a simple DNS tweak would 'resolve' this issue?
0
Comment
Question by:-Juddy-
[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
  • 5
  • 3
  • 2
11 Comments
 
LVL 7

Expert Comment

by:icky2000
ID: 22700808
When you connect to the VPN, the VPN connection provides you with an IP address and likely also gives you an IP of a DNS server to resolve DNS requests on that network. Is it giving you the IP of a valid DNS server in the domain the Exchange server is in?
0
 
LVL 3

Author Comment

by:-Juddy-
ID: 22700855
The Exchange Server software is on the same Server that I VPN in on.  The DHCP Relay Agent (on Routing and Remote Access) does indeed point to our DNS Server.
0
 
LVL 7

Expert Comment

by:icky2000
ID: 22700879
OK, so after making the VPN connection open a command prompt on your PC and type this:
nslookup exchangeservername

(obviously replace exchangeservername with the name of your Exchange server)

Does that yield the appropriate IP address for the Exchange server? I would guess not given the issue you are having but might tell you something.

Also from the PC and in the command prompt, when you do a "ipconfig /all", does it show the IP of the correct DNS server in the list of DNS servers?

And just to be sure, the DNS server in question, this is a domain controller on your network that is the same domain the Exchange server is in, yes?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 11

Expert Comment

by:Bertling
ID: 22707871
you need to specify the DNS in the DHCP for the VPN client.

or just manually enter the DNS address in the TCPIP settings under the VPN NIC on your PC
0
 
LVL 3

Author Comment

by:-Juddy-
ID: 22718985
Ok, to test this I used a remote PC, removed the information I had added into the local Hosts file and then connected the VPN.  When I start Outlook, I cannot connect to the Exchange Server (shows as disconnected) and I cannot browse our corporate network by using server names (\\myserver\my files etc) but if I use the IP address, it does work.  

When I run nslookup myservername I get:

server: th-cache-2-a-1.ns.uk.tiscali.com (my ISP)
Address 212.139.132.10 (Tiscali's name server, I think)

Non Autoritative answer:

Name: Myservername.mydomain.com
Address: 195.238.237.142 AND 195.238.237.142 (No idea, and they are not and our our IP addresses)

Ipconfig /all shows the correct DNS information for our internal network but for some reason, three entries:

192.***.***.11 (Our Dns Server and Domain Controller)
192.***.***.15 (A file server and backup Domain Controller)
192.***.***.11 (Our Domain controller, again!)

Re-adding the record to the local hosts file means that I can use Outlook, connect to Exchange and browse by network names.
0
 
LVL 3

Author Comment

by:-Juddy-
ID: 22719118
As an added note, when I ping the Exchnage Server (once connected to the VPN, Host File has entry removed) it fails to reply, but does elude to the fact that's it's trying to resolve:

myservername.mydomain.com

So it's kind of looking in the right direction, as it adds the domain name after the hostname.  Not sure if that helps!?
0
 
LVL 11

Expert Comment

by:Bertling
ID: 22719324
try pining the excahnge.domain.local rather than just exchange
0
 
LVL 3

Author Comment

by:-Juddy-
ID: 22719335
Sorry mate, you have lost me there! Could you explain that last post?
0
 
LVL 11

Expert Comment

by:Bertling
ID: 22719351
when you ping exchange it will append the domain.local which is the fuly qualified domain name.

what happens if you yupe:

ping exchange.domain.local? does it resolve

rather than just ping exchange which is not resolving?
0
 
LVL 3

Accepted Solution

by:
-Juddy- earned 0 total points
ID: 22719397
Our domain controller (which also controls DNS and VPN) ALSO has the Exchnage Server software on it, they are the same machine.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
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

604 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