[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 323
  • Last Modified:

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


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.


  • 2
1 Solution
Why not add DNS setting in your DHCP scope
Sorry - ignore the above post - just reread your post
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.


Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now