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

Set DNS through GPO by subnet

I currently have two Domain Controllers 192.168.2.50 and 192.168.2.52 and all users authenticate through these.  I would like to seperate off a group of computers that are on a separate subnet 192.168.10.X to authenticate to the new DC located at their site which is 192.168.10.10 .....   Whats the best way of going about this ....??

Thanks ...
0
jtbrown1111
Asked:
jtbrown1111
3 Solutions
 
DrDave242Commented:
Is there a DHCP server in that subnet?  That's a far better way to assign DNS servers to clients than by using a GPO.
0
 
Sitaram PamarthiCommented:
I echo what DrDave242 said. DHCP is the efficient way to assign DNS servers. If for some reason, you are using static IP addresses, you may choose powershell way. Below articles should should help you in that context.

http://4sysops.com/archives/get-dns-server-ips-using-powershell/
http://4sysops.com/archives/set-dns-server-ip-addresses-on-remote-computers-using-powershell/
http://techibee.com/powershell/powershell-get-ip-address-subnet-gateway-dns-serves-and-mac-address-details-of-remote-computer/1367

Thanks,
0
 
Nagendra Pratap SinghCommented:
If your subnets/sites are set properly then your clients should get the local DC and not the WAN DC.

This feature is inbuilt in AD.

How many sites have you configured?
0

Featured Post

SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

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