Share via


az network dns record-set

Manage DNS records and record sets.

Commands

Name Description Type Status
az network dns record-set a

Manage DNS A records.

Core GA
az network dns record-set a add-record

Add an A record.

Core GA
az network dns record-set a create

Create an A record set.

Core GA
az network dns record-set a delete

Delete an A record set.

Core GA
az network dns record-set a list

List A record sets in a zone.

Core GA
az network dns record-set a remove-record

Remove an A record from its record set.

Core GA
az network dns record-set a show

Get an A record set.

Core GA
az network dns record-set a update

Update an A record set.

Core GA
az network dns record-set aaaa

Manage DNS AAAA records.

Core GA
az network dns record-set aaaa add-record

Add an AAAA record.

Core GA
az network dns record-set aaaa create

Create an AAAA record set.

Core GA
az network dns record-set aaaa delete

Delete an AAAA record set.

Core GA
az network dns record-set aaaa list

List AAAA record sets in a zone.

Core GA
az network dns record-set aaaa remove-record

Remove AAAA record from its record set.

Core GA
az network dns record-set aaaa show

Get an AAAA record set.

Core GA
az network dns record-set aaaa update

Update an AAAA record set.

Core GA
az network dns record-set caa

Manage DNS CAA records.

Core GA
az network dns record-set caa add-record

Add a CAA record.

Core GA
az network dns record-set caa create

Create a CAA record set.

Core GA
az network dns record-set caa delete

Delete a CAA record set.

Core GA
az network dns record-set caa list

List CAA record sets in a zone.

Core GA
az network dns record-set caa remove-record

Remove a CAA record from its record set.

Core GA
az network dns record-set caa show

Get a CAA record set.

Core GA
az network dns record-set caa update

Update a CAA record set.

Core GA
az network dns record-set cname

Manage DNS CNAME records.

Core GA
az network dns record-set cname create

Create a CNAME record set.

Core GA
az network dns record-set cname delete

Delete a CNAME record set.

Core GA
az network dns record-set cname list

List CNAME record sets in a zone.

Core GA
az network dns record-set cname remove-record

Remove a CNAME record from its record set.

Core GA
az network dns record-set cname set-record

Set the value of a CNAME record.

Core GA
az network dns record-set cname show

Get a CNAME record set.

Core GA
az network dns record-set cname update

Update a CNAME record set.

Core GA
az network dns record-set ds

Manage DNS DS records.

Core Experimental
az network dns record-set ds add-record

Add a DS record.

Core Experimental
az network dns record-set ds create

Create an DS record set.

Core Experimental
az network dns record-set ds delete

Delete an DS record set.

Core Experimental
az network dns record-set ds list

List DS record sets in a zone.

Core Experimental
az network dns record-set ds remove-record

Remove a DS record from its record set.

Core Experimental
az network dns record-set ds show

Get an DS record set.

Core Experimental
az network dns record-set ds update

Update an DS record set.

Core Experimental
az network dns record-set list

List all record sets within a DNS zone.

Core GA
az network dns record-set mx

Manage DNS MX records.

Core GA
az network dns record-set mx add-record

Add an MX record.

Core GA
az network dns record-set mx create

Create an MX record set.

Core GA
az network dns record-set mx delete

Delete an MX record set.

Core GA
az network dns record-set mx list

List MX record sets in a zone.

Core GA
az network dns record-set mx remove-record

Remove an MX record from its record set.

Core GA
az network dns record-set mx show

Get an MX record set.

Core GA
az network dns record-set mx update

Update an MX record set.

Core GA
az network dns record-set ns

Manage DNS NS records.

Core GA
az network dns record-set ns add-record

Add an NS record.

Core GA
az network dns record-set ns create

Create an NS record set.

Core GA
az network dns record-set ns delete

Delete an NS record set.

Core GA
az network dns record-set ns list

List NS record sets in a zone.

Core GA
az network dns record-set ns remove-record

Remove an NS record from its record set.

Core GA
az network dns record-set ns show

Get an NS record set.

Core GA
az network dns record-set ns update

Update an NS record set.

Core GA
az network dns record-set ptr

Manage DNS PTR records.

Core GA
az network dns record-set ptr add-record

Add a PTR record.

Core GA
az network dns record-set ptr create

Create a PTR record set.

Core GA
az network dns record-set ptr delete

Delete a PTR record set.

Core GA
az network dns record-set ptr list

List PTR record sets in a zone.

Core GA
az network dns record-set ptr remove-record

Remove a PTR record from its record set.

Core GA
az network dns record-set ptr show

Get a PTR record set.

Core GA
az network dns record-set ptr update

Update a PTR record set.

Core GA
az network dns record-set soa

Manage a DNS SOA record.

Core GA
az network dns record-set soa show

Get a SOA record set.

Core GA
az network dns record-set soa update

Update properties of an SOA record.

Core GA
az network dns record-set srv

Manage DNS SRV records.

Core GA
az network dns record-set srv add-record

Add an SRV record.

Core GA
az network dns record-set srv create

Create an SRV record set.

Core GA
az network dns record-set srv delete

Delete an SRV record set.

Core GA
az network dns record-set srv list

List SRV record sets in a zone.

Core GA
az network dns record-set srv remove-record

Remove an SRV record from its record set.

Core GA
az network dns record-set srv show

Get an SRV record set.

Core GA
az network dns record-set srv update

Update an SRV record set.

Core GA
az network dns record-set tlsa

Manage DNS TLSA records.

Core Experimental
az network dns record-set tlsa add-record

Add a TLSA record.

Core Experimental
az network dns record-set tlsa create

Create a TLSA record set.

Core Experimental
az network dns record-set tlsa delete

Delete a TLSA record set.

Core Experimental
az network dns record-set tlsa list

List TLSA record sets in a zone.

Core Experimental
az network dns record-set tlsa remove-record

Remove a TLSA record from its record set.

Core Experimental
az network dns record-set tlsa show

Get a TLSA record set.

Core Experimental
az network dns record-set tlsa update

Update a TLSA record set.

Core Experimental
az network dns record-set txt

Manage DNS TXT records.

Core GA
az network dns record-set txt add-record

Add a TXT record.

Core GA
az network dns record-set txt create

Create a TXT record set.

Core GA
az network dns record-set txt delete

Delete a TXT record set.

Core GA
az network dns record-set txt list

List TXT record sets in a zone.

Core GA
az network dns record-set txt remove-record

Remove a TXT record from its record set.

Core GA
az network dns record-set txt show

Get a TXT record set.

Core GA
az network dns record-set txt update

Update a TXT record set.

Core GA

az network dns record-set list

List all record sets within a DNS zone.

az network dns record-set list --resource-group
                               --zone-name
                               [--max-items]
                               [--next-token]

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

Name of the DNS zone.

Optional Parameters

--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.