Bulk import DNS Records from a CSV File to Azure DNS

Earlier today I needed to quickly create a bunch of DNS entries under my DNS Zone hosted in Azure DNS Service. Currently, there are three ways of creating/importing DNS records.

  1. Azure Portal
  2. Azure PowerShell
  3. Azure CLI

Once again, PowerShell to the rescue!

  1. Create a CSV file with the following information ( In my case I only needed to create only A records ).


  3. Open an Elevated PowerShell Prompt and login to your Azure Subscription.


  5. Run the following cmdlet ( alter the Path information ).

PowerShell output.


Azure Portal, looking good huh?



Thanks for reading!

George Markou

My Name is George Markou, IT Pro, Geek and Fancy Gadgets enthusiast. I am focused on Virtualization and Cloud Technologies.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: