az network dns

Manage DNS domains in Azure.

Commands

az network dns list-references

Returns the DNS records specified by the referencing targetResourceIds.

az network dns record-set

Manage DNS records and record sets.

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 zone

Manage DNS zones.

az network dns zone create

Create a DNS zone.

az network dns zone delete

Delete a DNS zone and all associated records.

az network dns zone export

Export a DNS zone as a DNS zone file.

az network dns zone import

Create a DNS zone using a DNS zone file.

az network dns zone list

List DNS zones.

az network dns zone show

Get a DNS zone parameters. Does not show DNS records within the zone.

az network dns zone update

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

az network dns list-references

Returns the DNS records specified by the referencing targetResourceIds.

az network dns list-references [--subscription]
                               [--target-resources]

Optional Parameters

--subscription

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

--target-resources

Space-separated list of resource IDs you wish to query.