Internal and External DNS setup

Posted on 2005-04-16
Last Modified: 2013-12-14

We have external DNS namespace ‘’ hosted on external DNS and internal DNS namespace ‘’ hosted on internal DNS

We have web server in the LAN available on internal private IP address

Web server’s ‘private IP’ is published on Internet on public IP address with hostname ‘’

How can we configure DNSs so when users in the LAN want to access ‘’ they are directed to the web server’s internal private IP address, and users from the Internet are directed to the web server’s public IP address. We do not want to maintain same ‘’ zone on the internal and external DNS servers.

Question by:_Speedy
    LVL 70

    Accepted Solution


    As far as DNS is concerned you can't make it available inside your network on the private IP without giving it an entry in a local version of That means that you can't avoid maintenance of the zone for a DNS based solution.

    There are a few other options:

    Adding to DNS and encouraging users to use that
    Add to Host files on each network client

    I take it your Firewall / Router can't be configured to allow requests from inside the network to the public IP of the server?

    LVL 37

    Assisted Solution

    you could use some kind of DNS proxy.  a good example is MikroTik routerOS has such a thing (and i suspect that it is just a proprietry version of some open source solution)

    you can download a mikrotik routerOS, you just need to the free license version.  Load it up on a cheap old pentium class pc with a 48MB ram and 1gig disk.  then use that system as the dns server for all internal clients.  now just add a 'static' mapping for the to point to your intranet site - any other * will be retrieved fromt he real DNS system.


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    This solves the problem of diagnosing why an internet connection is no longer working. It also helps identify the likely cause of the lost connection if the procedure fails to re-establish your internet connection. It helps to pinpoint the likely co…
    Cable Modem Provisioning from DPoE compliant server  This Article is to support CMTS administrators to provide an overview of DOCSIS compliance configuration file, and to provision a cable modem located at customer place from a Back office serve…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    728 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

    19 Experts available now in Live!

    Get 1:1 Help Now