Solved

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

Posted on 2014-04-04
3
492 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 500 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Title # Comments Views Activity
Unable to access folder shares on Netapp 1 20
CTIOS error on Windows 10 3 58
PEN and Issuance policy for 2 tier Windows 2012 PKI 3 77
Can i use a GC as a DC? 7 70
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

739 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