We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


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

Medium Priority
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.


Watch Question

Why not add DNS setting in your DHCP scope

Sorry - ignore the above post - just reread your post
Most Valuable Expert 2019
Most Valuable Expert 2018

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
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.


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.