DNS script

T

twan.grotenhuis

Hi all,

We're facing a problem configuring the DNS settings on our servers and
static configured clients.
A week ago, we installed two new hubsite domaincontrollers to replace
the old dc's, these new dc's will also provide DNS. So now the dns
settings of all the servers and staticly configured clients in the
domain have to be adjusted.
I know the netsh command and it works just fine on machines with only
one nic (if it isn't renamed), the problem is that most servers have
got two nics and it is possible that some of them are connected on nic
1 as some others are connected on the second nic.
Does anyone have an idea how to script this?

grtz Twan
 

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