az network dns record-set

Manage DNS records and record sets.

Commands

az network dns record-set a

Manage DNS A records.

az network dns record-set a add-record

Add an A record.

az network dns record-set a create

Create an empty A record set.

az network dns record-set a delete

Delete an A record set and all associated records.

az network dns record-set a list

List all A record sets in a zone.

az network dns record-set a remove-record

Remove an A record from its record set.

az network dns record-set a show

Get the details of an A record set.

az network dns record-set a update

Update an A record set.

az network dns record-set aaaa

Manage DNS AAAA records.

az network dns record-set aaaa add-record

Add an AAAA record.

az network dns record-set aaaa create

Create an empty AAAA record set.

az network dns record-set aaaa delete

Delete an AAAA record set and all associated records.

az network dns record-set aaaa list

List all AAAA record sets in a zone.

az network dns record-set aaaa remove-record

Remove AAAA record from its record set.

az network dns record-set aaaa show

Get the details of an AAAA record set.

az network dns record-set aaaa update

Update an AAAA record set.

az network dns record-set caa

Manage DNS CAA records.

az network dns record-set caa add-record

Add a CAA record.

az network dns record-set caa create

Create an empty CAA record set.

az network dns record-set caa delete

Delete a CAA record set and all associated records.

az network dns record-set caa list

List all CAA record sets in a zone.

az network dns record-set caa remove-record

Remove a CAA record from its record set.

az network dns record-set caa show

Get the details of a CAA record set.

az network dns record-set caa update

Update a CAA record set.

az network dns record-set cname

Manage DNS CNAME records.

az network dns record-set cname create

Create an empty CNAME record set.

az network dns record-set cname delete

Delete a CNAME record set and its associated record.

az network dns record-set cname list

List the CNAME record set in a zone.

az network dns record-set cname remove-record

Remove a CNAME record from its record set.

az network dns record-set cname set-record

Set the value of a CNAME record.

az network dns record-set cname show

Get the details of a CNAME record set.

az network dns record-set list

List all record sets within a DNS zone.

az network dns record-set mx

Manage DNS MX records.

az network dns record-set mx add-record

Add an MX record.

az network dns record-set mx create

Create an empty MX record set.

az network dns record-set mx delete

Delete an MX record set and all associated records.

az network dns record-set mx list

List all MX record sets in a zone.

az network dns record-set mx remove-record

Remove an MX record from its record set.

az network dns record-set mx show

Get the details of an MX record set.

az network dns record-set mx update

Update an MX record set.

az network dns record-set ns

Manage DNS NS records.

az network dns record-set ns add-record

Add an NS record.

az network dns record-set ns create

Create an empty NS record set.

az network dns record-set ns delete

Delete an NS record set and all associated records.

az network dns record-set ns list

List all NS record sets in a zone.

az network dns record-set ns remove-record

Remove an NS record from its record set.

az network dns record-set ns show

Get the details of an NS record set.

az network dns record-set ns update

Update an NS record set.

az network dns record-set ptr

Manage DNS PTR records.

az network dns record-set ptr add-record

Add a PTR record.

az network dns record-set ptr create

Create an empty PTR record set.

az network dns record-set ptr delete

Delete a PTR record set and all associated records.

az network dns record-set ptr list

List all PTR record sets in a zone.

az network dns record-set ptr remove-record

Remove a PTR record from its record set.

az network dns record-set ptr show

Get the details of a PTR record set.

az network dns record-set ptr update

Update a PTR record set.

az network dns record-set soa

Manage a DNS SOA record.

az network dns record-set soa show

Get the details of an SOA record.

az network dns record-set soa update

Update properties of an SOA record.

az network dns record-set srv

Manage DNS SRV records.

az network dns record-set srv add-record

Add an SRV record.

az network dns record-set srv create

Create an empty SRV record set.

az network dns record-set srv delete

Delete an SRV record set and all associated records.

az network dns record-set srv list

List all SRV record sets in a zone.

az network dns record-set srv remove-record

Remove an SRV record from its record set.

az network dns record-set srv show

Get the details of an SRV record set.

az network dns record-set srv update

Update an SRV record set.

az network dns record-set txt

Manage DNS TXT records.

az network dns record-set txt add-record

Add a TXT record.

az network dns record-set txt create

Create an empty TXT record set.

az network dns record-set txt delete

Delete a TXT record set and all associated records.

az network dns record-set txt list

List all TXT record sets in a zone.

az network dns record-set txt remove-record

Remove a TXT record from its record set.

az network dns record-set txt show

Get the details of a TXT record set.

az network dns record-set txt update

Update a TXT record set.

az network dns record-set list

List all record sets within a DNS zone.

az network dns record-set list --resource-group
                               --zone-name
                               [--query-examples]
                               [--subscription]

Examples

List all "@" record sets within this zone.

az network dns record-set list -g MyResourceGroup -z www.mysite.com --query "[?name=='@']"

Required Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--zone-name -z

The name of the zone.

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.