Solved

Update DNS entries across a network

Posted on 2001-06-25
5
216 Views
Last Modified: 2010-04-11
Hi all you gurus out there!

Is there an easy way to change DNS entries (the IP addresses that specify where to go for DNS queries) across a range of workstations and servers? These include NT Workstation, NT Server, Win 2k Pro and Win2k Server. I want to be able to specify a list of IP addresses and (with my Domain Admin status) be able to delete a DNS server entry in each one of them. I don't want to go around to each computer and do the change manually.

We're not going to use DHCP in this case otherwise this would be an easy win.

Any ideas? Urgent.

Thanks

- Timeless
0
Comment
Question by:Timeless
[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
5 Comments
 
LVL 13

Accepted Solution

by:
ocon827679 earned 130 total points
ID: 6224481
I'm not a script writer so I don't have specifics.  But why not write a script that would go something like this:
Ping 1st IP address
If the host is alive
   Apply a regini file that changes the DNS server IP
If not alive
   Ping the next IP address
The regini file would contain the entry for HKLM\System\Current Control Set\Services\TCP/IP\Parameters\Name Server
Value - REG_SZ=name server IP

There are lots of experts here who could give you specifics on this idea.  Good Luck!
 
0
 
LVL 5

Expert Comment

by:dcgames
ID: 6225403
You say you don't want to use DHCP. I assume because you don't want to use dynamic IPs.

DHCP supports assigning the SAME IP address to each client all the time (i.e. static IPs, because they don't change).

You don't have to have a "dynamic IP" network in order to benefit from DHCP.

a) Tell the client to use DHCP. However, the DHCP server has a permanent static IP address associated with the client's MAC address, so the client always gets the same IP address.

b) DHCP sets not only the IP address (which is static from the point of view of the client user) but also sets the DNS, routing, etc.

Dave
0
 
LVL 1

Author Comment

by:Timeless
ID: 6225584
Okay I can see where this is going.

Clearly, DHCP is the way to do this. I have known this all along. Now I shall just beat it into the sys admin!

Thanks guys for the input all the same. Who will concede the question points to the other? Pity I can't split the points hey?
0
 
LVL 41

Expert Comment

by:stevenlewis
ID: 6225910
Timeless, you can split the points.
just go to community support (the link is on the left) post a zero point question asking to do this. Include a link to this question, and tell them how you would like the points split
Steve
0
 

Expert Comment

by:RedCCameleon
ID: 6226665
As requested by Timeless here is the split points:
130 points are being given to ocon827679
130 points are being given to  dcgames
40 points are being given to stevenlewis

RedCCameleon
Community Support Moderator @ Experts Exchange
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

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