Solved

Group Policy to change DNS servers

Posted on 2006-11-28
4
933 Views
Last Modified: 2012-06-21
Hi all,

I'd like to be able to change the DNS servers of about 1000 client (WinXP) PCs in my domain using group policies (Win 2003).  My question is, if I make the change via Group Policy, will it actually change the physical server IP info in the client TCP/IP properties?  We have a couple static IPs typed into the primary and secondary DNS server area on each client, but when we apply the Group Policy to the computers, the original server IPs remain (even after several reboots and several gpupdate /force).  

Thanks!
0
Comment
Question by:esckeyrwm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 15

Accepted Solution

by:
wwwally earned 125 total points
ID: 18032388
In the " Computer Configuration => Administrative Templates => Network => DNS Client" folder is a policy "DNS Server" to set the primary DNS server.
The policy states that it will replace the local settings.
Try to run a RSOP to see if the gpo is applied.
But why don't you just use your DHCP server do update the settings?


Good luck,

Walter
0
 

Author Comment

by:esckeyrwm
ID: 18032462
Our domain is a subset of a larger enterprise network.  I don't have the ability to change/configure the DHCP servers, but I'd like to use the enterprise DNS servers for our domain (versus maintaining and managing my own DNS server).

So by doing the above, the client computers will use the DNS servers I specify in the GPO even though their local settings are still set to the old DNS servers?  What I'd really like to do is somehow be able to tick the radio button "Obtain DNS servers automatically" without having to walk around to 1000 computers.  Any ideas on that?

Thanks!
0
 
LVL 15

Expert Comment

by:wwwally
ID: 18032772
Maby with "netsh interface ip set dns"  in a script but i don't think it will work.
I should contact the DHCP admin to change the dns setting for you subnet.
DNS placement is part of the design to also avoid bandwith and internal communication problems.

Can't help you any further.

Good luck,

Walter
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

710 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