[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

script to add/remove DNS entries.

Posted on 2013-06-12
2
Medium Priority
?
529 Views
Last Modified: 2013-07-03
Hello,

I need help to create a script to read a txt file that contains a list of servers, and add/remove them from DNS.  Our DC is running on WIN2K8.

Please advise.

Thanks.
0
Comment
Question by:nav2567
[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
2 Comments
 
LVL 40

Assisted Solution

by:Subsun
Subsun earned 750 total points
ID: 39242426
Did you Check this script from TechNet scriptcenter?
http://gallery.technet.microsoft.com/scriptcenter/Update-DNS-records-with-da10910d
0
 
LVL 10

Accepted Solution

by:
Prashant Girennavar earned 750 total points
ID: 39250171
I have a powershell script which adds both Host Record and PTR Record to your DNS

http://prashant1987.wordpress.com/2012/11/16/powershell-script-to-add-a-record-ptr-record-in-dns/


Hope this link helps ,

-Prashant Girennavar.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
Wouldn't it be nice if objects in Active Directory automatically moved into the correct Organizational Units? This is what AutoAD aims to do and as a plus, it automatically creates Sites, Subnets, and Organizational Units.
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 show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

656 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