Solved

Script Needed to add IP addresses in DNS entries for multiple servers

Posted on 2014-04-04
3
482 Views
Last Modified: 2014-04-10
Script Needed to add IP addresses  in DNS entries. Also need to add domain name in  "Append these DNS suffixes (in order), NDS suffix for this connection - domain name. Also both check boxes should be marked "Register this connection's adresses in DNS and "Use this connection's DNS suffix in DNS registartion.
0
Comment
Question by:biplabmukh
3 Comments
 
LVL 17

Accepted Solution

by:
Brad Bouchard earned 500 total points
Comment Utility
Script for adding IPs of DNS servers here:  http://stackoverflow.com/questions/18620173/how-can-i-set-change-dns-using-the-command-prompt-at-windows-8
(Make sure to change the name of the interface there)

Script for adding DNS Suffix from here:  http://arstechnica.com/civis/viewtopic.php?f=17&t=342893

Don't know about the final two but I think this would work:  http://technet.microsoft.com/en-us/library/ee692588.aspx
0
 
LVL 35

Expert Comment

by:Mahesh
Comment Utility
You can use DNSCMD command line utility to add Host(A) records and PTR records in DNS
http://blog.scottlowe.org/2006/06/30/bulk-adding-entries-in-dns/
http://kpytko.pl/2012/08/12/dns-bulk-ptr-records-creation/
If you are running on 2008 DN server, Dnscmd command is already there
If you are running 2003 DCs, you have to download 2003 support tools to get dnscmd tool

You need to prepare Excel file with required records and with Excel concatenate function formulate dnscmd command for each host record

Also for DNS suffices you can use Group policy on OU containing Computers \ servers
The settings can be found under Computer configuration\administrative templates\dns client

Mahesh.
0
 

Author Comment

by:biplabmukh
Comment Utility
I've requested that this question be deleted for the following reason:

Found own solution.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Background Still having to process all these year-end "csv" files received from all these sources (including Government entities), sometimes we have the need to examine the contents due to data error, etc... As a "Unix" shop, our only readily …
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now