Skip to content

Commit c961460

Browse files
committed
Update private-dns-migration-guide.md
1 parent 087df22 commit c961460

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

articles/dns/private-dns-migration-guide.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,14 @@ ms.author: rohink
1111

1212
# Migrating legacy Azure DNS private zones to new resource model
1313

14-
The current Azure DNS private zones release provides new functionality and removes several limitations and restrictions of the initial public preview. However, these benefits aren't available on the private DNS zones that were created using the preview API. To get the benefits of the new release, you must migrate your legacy private DNS zone resources to the new resource model. The migration process is simple, and we've provided a PowerShell script to automate this process. This guide provides step by step instruction to migrate your Azure DNS private zones to the new resource model.
14+
During public preview, private DNS zones were created using “dnszones” resource with “zoneType” property set to “Private”. Such zones will not be supported after December 31, 2019 and must be migrated to GA resource model which makes use of “privateDnsZones” resource type instead of “dnszones”.
15+
The migration process is simple, and we've provided a PowerShell script to automate this process. This guide provides step by step instruction to migrate your Azure DNS private zones to the new resource model.
16+
17+
To find out the dnszones resources that require migration; execute the below command in Azure CLI.
18+
```azurecli
19+
az account set --subscription <SubscriptionId>
20+
az network dns zone list --query "[?zoneType=='Private']"
21+
```
1522

1623
## Prerequisites
1724

@@ -20,7 +27,7 @@ Make sure you have installed latest version of Azure PowerShell. For more inform
2027
Make sure that you've Az.PrivateDns module for the Azure PowerShell installed. To install this module, open an elevated PowerShell window (Administrative mode) and enter following command
2128

2229
```powershell
23-
Install-Module -Name Az.PrivateDns -AllowPrerelease
30+
Install-Module -Name Az.PrivateDns
2431
```
2532

2633
>[!IMPORTANT]
@@ -40,6 +47,9 @@ Enter “A” when prompted to install the script
4047

4148
You can also manually obtain the latest version of PowerShell script at https://www.powershellgallery.com/packages/PrivateDnsMigrationScript
4249

50+
>[!IMPORTANT]
51+
>The migration script must not be run in Azure cloud shell and must be executed in a VM or local machine connected to internet.
52+
4353
## Running the script
4454

4555
Execute following command to run the script

0 commit comments

Comments
 (0)