question

ChaituChowdary avatar image
0 Votes"
ChaituChowdary asked suvasara-MSFT edited

Azure CLI CMD for Vm Dns label

i want to automate the dns label with azure cli
145511-screenshot-2021-11-01-at-40952-pm.png


azure-dns
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

suvasara-MSFT avatar image
0 Votes"
suvasara-MSFT answered suvasara-MSFT edited

@ChaituChowdary, DNS should be unique globally. So, are you holding the list of registered DNS entries? or registering them on deployment? If you have the list of entries, then you can automate by calling it dynamically in your script else you need to write a custom script with conditions and exceptions for DNS availability checks.

Here are the CLI commands to work with Azure Public IP deployments.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.