Skip to content

--ttl option does not work when adding A records to private DNS with latest azure cli. #33264

@ramya0528

Description

@ramya0528

Describe the bug

help for the az network private-dns record-set
Image

Related command

az network private-dns record-set a add-record --resource-group MyResourceGroup --zone-name www.mysite.com --record-set-name MyRecordSet --ipv4-address MyIpv4Address --ttl 600

Errors

cli is unable to update ttl, while creating a private-dns record set.

Image

Issue script & Debug output

cli is unable to update ttl, while creating a private-dns record set.

Image

Expected behavior

According to the documentation:

Image

Environment Summary

Installed latest azure cli Image

Additional context

No response

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamDocumentationNetworkaz network vnet/lb/nic/dns/etc...Similar-Issueact-quality-productivity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions