Azure / Azure/azure-cli

Make 'az network private-dns record-set a' consistent with 'az network dns record-set a'

Open
#17,392 7 comments 0 reactions 1 assignee Claimed by @msyyc View on GitHub
act-quality-productivity-squad Doing feature-request Network - DNS Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Is your feature request related to a problem? Please describe.**
It seems like it is impossible to create a non-empty A record and set ttl for a private DNS using Azure CLI. If you compare this with the equivalent command for a public DNS, one finds that the `ttl` parameter is available for `az network dns record-set a add-record`. The latter allows us to add a new record with a custom ttl. The equivalent for a private DNS only allows us to create an empty A record with the correct ttl, but does not allow us to add a non-empty A record with a custom ttl.

**Describe the solution you'd like**
Make `az network private-dns record-set a` consistent with `az network dns record-set a`. So add the same parameters, particularly `ttl`.

**Describe alternatives you've considered**
Going through the portal and doing it manually.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.