I would like to add DNS zone configuration using the command line, but was unable to find the equivalent command-line commands.
Asked
Active
Viewed 261 times
1

David Gardiner
- 16,892
- 20
- 80
- 117

Thanh Nguyen Van
- 10,292
- 6
- 35
- 53
-
2hello , may i know if you are looking for this : https://learn.microsoft.com/en-us/powershell/module/az.dns/new-azdnszone?view=azps-6.5.0#example-4--create-a-dns-zone-with-delegation-by-specifying-parent-zone-name – Ansuman Bal Oct 25 '21 at 11:24
-
2Looking at the screenshot, you are trying to create a dns zone for the private end point associate to web app you can use this cmdlet New-AzPrivateDnsZone -ResourceGroupName
-Name – VenkateshDodda Oct 25 '21 at 11:27[-Tag ] [-DefaultProfile ] [-WhatIf] [-Confirm] [ ] Here is the reference documentation : https://learn.microsoft.com/en-us/powershell/module/az.privatedns/new-azprivatednszone?view=azps-6.5.0
1 Answers
1
try to follow the steps outlined in this guide. It should provide you the steps to do this with PowerShell: https://learn.microsoft.com/en-us/azure/private-link/create-private-endpoint-powershell#configure-the-private-dns-zone

nicksnb
- 258
- 1
- 7
-
The above comments doesn't solve the question what's the exact answer ? – twinkle hema Apr 10 '23 at 09:55