Share via


az network dns

Manage DNS domains in Azure.

Commands

Name Description Type Status
az network dns dnssec-config

Manage DNSSEC configurations.

Core Experimental
az network dns dnssec-config create

Create the DNSSEC configuration on a DNS zone.

Core Experimental
az network dns dnssec-config delete

Delete the DNSSEC configuration on a DNS zone. This operation cannot be undone.

Core Experimental
az network dns dnssec-config show

Get the DNSSEC configuration.

Core Experimental
az network dns dnssec-config wait

Place the CLI in a waiting state until a condition is met.

Core Experimental
az network dns list-references

Returns the DNS records specified by the referencing targetResourceIds.

Core GA
az network dns record-set

Manage DNS records and record sets.

Core GA
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 zone

Manage DNS zones.

Core GA
az network dns zone create

Create a DNS zone.

Core GA
az network dns zone delete

Delete a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone.

Core GA
az network dns zone export

Export a DNS zone as a DNS zone file.

Core GA
az network dns zone import

Create a DNS zone using a DNS zone file.

Core GA
az network dns zone list

List the DNS zones.

Core GA
az network dns zone show

Get a DNS zone. Retrieves the zone properties, but not the record sets within the zone.

Core GA
az network dns zone update

Update a DNS zone. Does not modify DNS records within the zone.

Core GA

az network dns list-references

Returns the DNS records specified by the referencing targetResourceIds.

az network dns list-references [--parameters]

Examples

Returns the DNS records specified by the referencing targetResourceIds.

az network dns list-references --parameters "/subscriptions/**921/resourceGroups/MyResourceGroup/providers/Microsoft.Network/trafficManagerProfiles/MyTrafficManager"

Optional Parameters

--parameters

A space-separated list of resource IDs for which referencing dns records need to be queried. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

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.