Share via


BULK DNS ENTRY CHANGES

Question

Wednesday, April 13, 2016 9:24 AM

Dear All,

I've a Zone (xx.com) running on windows server 2008R2 STD with DNS Role.

I've lot of DNS entries for all internal URL which are public IP's. Now we are migrating to MPLS and moving all the public URL's into Private.

For Eg. XX.com 103.X.X.X --> XX.com - 172.X.X.X

but there are close to 200 links in a way in want to change. 

So i'm just checking if there is any possibility of completely importing complete DNS into once CSV, make all the 200 URL's with changes IP's, and then re-import to DNS server.

Any answers would be of great help.

Thanks

Shashi Kumar G

        

All replies (2)

Wednesday, April 13, 2016 12:04 PM âś…Answered

You can use DNS server powershell module to script the change. Look up Get-DnsServerResourceRecord / Set-DnsServerResourceRecord cmdlets.

Gleb.


Thursday, April 14, 2016 5:37 AM

Hi Shashi,

>>So i'm just checking if there is any possibility of completely importing complete DNS into once CSV, make all the 200 URL's with changes IP's, and then re-import to DNS server.

We could also try to use the dnscmd tool to bulk add/modify dns records.

For more detailed information, you could refer to link below:

http://blog.scottlowe.org/2006/06/30/bulk-adding-entries-in-dns/

Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

Besides, I suppose the following link might provide some help for this issue, just for your reference:

https://gallery.technet.microsoft.com/scriptcenter/Create-DNS-A-records-and-37b59037

Best regards,

Andy_Pan