Solved

Simple method for looking up one DNS entry

Posted on 2011-03-15
4
684 Views
Last Modified: 2012-05-11
Hi,

I'm running an in-house email server and have several laptop users who are sometimes in the office, and other times remote. For Outlook the email server names are set for "mail.mycompany.com". This obviously works fine, as "mail.mycompany.com" translates to an MX record for our mail-server's WAN address. But when the laptops are in the office, they're looking up "mail.mycompany.com" and finding the WAN address, therefore traffic flows out of the building and then back in again.

I normally have one router dedicated to email traffic, and another for web traffic. So for someone using a laptop, traffic will flow out using the web router and back in again on another router (the email router).

To speed up laptops when working in the office I'd like some way of telling them that the DNS name of the mail-server is actually a LAN address in the same building. I thought it might be possible to add an entry to the router's DNS cache to point local requests to the server LAN address, but the routers are not capable of DNS caching (Draytek 2820's).

One other option is possibly a batch file to be run immediately before opening outlook, and that batch file amends the LMHOSTS file according to whether a user is on-site or remote. I think this is very clumsy though.....

Failing all that, perhaps someone could suggest a small, cheap/free, and simple DNS server? We have Windows 2003 servers (R2), and operate a regular workgroup (not domain). I want to avoid converting the whole lot to a domain if possible.

Incidentally, the email server is Mdaemon, and the laptops are using Mdaemon Outlook Connector (something which isn't particularly stable over slow WAN connections, thus my need to improve connectivity at least on-site).

Thanks for your time!
0
Comment
Question by:DPL31
[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
4 Comments
 
LVL 14

Accepted Solution

by:
sentner earned 500 total points
ID: 35138944
What I've done in the past is set up an internal and external DNS server.  The internal one has the records (MX, A, CNAMES, etc) for what I'd point internal clients and servers to, and the external one has the ones that I need accessible by outside clients.

This is a more secure solution also, as not every server on a network should be visible (or knowable) to the outside world.  For example, internal web servers would only be found in the internal DNS servers.  

You then configure your DHCP for your internal network to point at the internal DNS servers (for cache as well as authoritative).  When outside, the laptops will only see the external DNS servers, which are what are registered with your registrar.
0
 
LVL 6

Expert Comment

by:bluepig
ID: 35139238
One of your Windows 2003 R2 servers can do DNS - it becomes the internal DNS server that sentner describes above.
0
 
LVL 70

Expert Comment

by:Qlemo
ID: 35373067
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses
Course of the Month5 days, 15 hours left to enroll

627 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