Solved

Simple method for looking up one DNS entry

Posted on 2011-03-15
4
675 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
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 68

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

758 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now