Powershell script to create reverse lookups (PTR) in Microsoft DNS

We’re switching IP spaces at work and need to create a large amount of reverse lookup PTR records for our PAT/NAT pools.

Microsoft only allows you to manually create one DNS entry at a time via the GUI so I wrote a simple Powershell script that lets you mass create sequential PTR records.

 

 

2 thoughts on “Powershell script to create reverse lookups (PTR) in Microsoft DNS

  1. This came in very handy for me, thanks for sharing! I just had to finagle the $significantDigit creation to match my needs.

Leave a Reply

Your email address will not be published. Required fields are marked *