?
Solved

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

Posted on 2014-04-04
3
Medium Priority
?
495 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
[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
3 Comments
 
LVL 17

Accepted Solution

by:
Brad Bouchard earned 1000 total points
ID: 39978952
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 37

Expert Comment

by:Mahesh
ID: 39980040
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
ID: 39992271
I've requested that this question be deleted for the following reason:

Found own solution.
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

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

Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses
Course of the Month11 days, 18 hours left to enroll

752 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