How to create a dns server for internal network


  • Dear all,

    I have a exchange server (AD, ip address: with windows 2008 R2, the address is I hope the my internal DNS can resolute the to (through internal network to access mail server) when I am in my office.( if I am not at office, can access through the internet)

    My Question,

    (1) how to setup this dns server

    (2) this dns server need to add to domain or need to setup as AD

    Please given me any details

    thank you

    Tuesday, June 14, 2011 3:40 PM


All replies

  • Hello,

    as you have an AD environment with a domain then you should have your DNS zone for In this case, you have to make sure that:

    • Each DC/DNS server is pointing to its private IP address as a primary DNS server and to other internal DNS servers as secondary ones
    • Each DC without DNS is pointing to internal DNS servers as DNS servers
    • Each used public DNS server is set as a forwarder

    Once done, run ipconfig /registerdns and restart netlogon on each DC. Like that, DCs A and SRV records are registered correctly in your DNS zone.

    For Exchange Server, you have to make sure that MX records are created correctly. More if you ask in Exchange forums.

    Note that running Exchange on a DC is not recommended.

    For public access, you have to contact your ISP.


    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    Microsoft Student Partner 2010 / 2011
    Microsoft Certified Professional
    Microsoft Certified Systems Administrator: Security
    Microsoft Certified Systems Engineer: Security
    Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows 7, Configuring
    Microsoft Certified IT Professional: Enterprise Administrator

    Tuesday, June 14, 2011 5:35 PM
  • You can you a split-brain DNS structure.  You need to maintain an internal DNS zone called  Add internal IP address of mail record in internal zone and external IP address in external zone. 

    Santhosh Sivarajan | MCTS, MCSE (W2K3/W2K/NT4), MCSA (W2K3/W2K/MSG), CCNA, Network+ Houston, TX

    Blogs -
    Articles -
    Twitter: @santhosh_sivara -
    This posting is provided AS IS with no warranties,and confers no rights.
    Tuesday, June 14, 2011 5:40 PM
  • Hi,


    I would agree with the MVPs. To understand DNS deeply, you may read the following Microsoft TechNet article:


    How DNS Works



    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Wednesday, June 15, 2011 7:21 AM