Modify nameserver for domain clients with GPO

G

Guest

Hello all,

Does anyone know if its possible to change the primary and secondary DNS
settings for domain client PCs via a (2000 Server) GPO? Or, possibly with a
KiX script? (I figured user permissions might be an issue with the latter)

Thanks
Maurice
 
F

Florian Frommherz

Howdie!
Does anyone know if its possible to change the primary and secondary DNS
settings for domain client PCs via a (2000 Server) GPO? Or, possibly with a
KiX script? (I figured user permissions might be an issue with the latter)

I wonder why you want to do that. Changing the DNS server of the clients
might break your domain services like login and Group Policies. Is it
really necessary to change the DNS? Would setting the DNS server via
DHCP be an alternative for you?

cheers,

Florian
 
G

Guest

Florian Frommherz said:
Howdie!


I wonder why you want to do that. Changing the DNS server of the clients
might break your domain services like login and Group Policies. Is it
really necessary to change the DNS? Would setting the DNS server via
DHCP be an alternative for you?

cheers,

Florian

Hi Florian,

All of our PCs are configured with static IP and DNS addresses, and the DNS
server they are set to is being retired (which is actually a Bind box). The
new DNS servers are the domain controllers, which are already configured and
running properly.
 
M

Mark Heitbrink [MVP]

Hi,
Does anyone know if its possible to change the primary and secondary DNS
settings for domain client PCs via a (2000 Server) GPO? [...]

Computer Startup script and netsh.
-> netsh interface ip set dns "name of your connection" static d.d.d.d

But I share possible problems, that Florian mentioned.

Mark
 
R

Roger Abell [MVP]

Check on the ScriptCenter as they have brief sample code
to handle this. There is policy to set client DNS suffix
search list, but not server list. Sort of a catch-22. If not
using a DNS server able to support domain group policy
would not be applying correctly.
The issue you will encounter adapting from the scripts at
www.microsoft.com/technet/scriptcenter is that there may
be parameters that will be unique per machine, as this tends
to be set in the per-interface parameters for each within the
Tcp/Ip reg keys, so your startup script may need to first
acquire this info.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top