DHCP Assigning the correct DNS servers on Multi Domain / Single Subnet Enviroment

Posted on 2009-02-09
Last Modified: 2012-05-06

We have 2 Domains (they both Run AD but are seperate forests in an external trust at the moment whilst we do a consolidation). PC's on both domains are on a single subnet. As the PC's require different DNS servers i need a way to ensure that the scope can dish out the correct DNS servers dependant on Domain membership of the PC.

Whats the best way to achieve this.


Question by:ncomper
    LVL 8

    Expert Comment

    Why not add DNS setting in your DHCP scope
    LVL 8

    Expert Comment

    Sorry - ignore the above post - just reread your post
    LVL 82

    Expert Comment

    You need to create a DHCP user class "DomainX" or whatever (preferably for the domain with fewer clients) on your DHCP server, and add this user class to the clients of DomainX.
    Note that user classes are cAsE sEnSiTiVe. You can then define the required DNS servers for DHCP clients with this user class.
    Details here:
    How to Create a New DHCP User or Vendor Class

    The Lazy Admin > DHCP User Classes
    LVL 18

    Accepted Solution

    You may also want to think about why not replicate the DNS zone(s) between those DNS servers then you don't have to worry about too much on the DHCP scopes.

    It's a bit hard to understand that your two domain forests, with external trust, but in the same subnet. Very unusual!

    If for whatever reason that you need to make sure all your clients from both domain can properly query the DNS servers, you can also create a GPO in each domain to configure all client PCs to have a proper DNS suffixes in proper order.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
    A quick step-by-step overview of installing and configuring Carbonite Server Backup.
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
    This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

    737 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

    20 Experts available now in Live!

    Get 1:1 Help Now