Azure DNS also supports 'empty' record sets, which can act as a placeholder to reserve a DNS name before creating DNS records.
Empty record sets are visible in the Azure DNS control plane, but do appear on the Azure DNS name servers.
The earlier examples for ' A' records can be adapted to create record sets of other types containing multiple records, with metadata, or to create empty record sets.
We do not give an example to create an SOA record set, since SOAs are created and deleted with each DNS zone and cannot be created or deleted separately.
The following example shows how to retrieve a record set.
In this example, the zone is specified using the The examples above show how to add an ' A' record to an existing record set of type ' A'.
DNS records can also be managed by using the cross-platform Azure CLI or the Azure portal.
For example, suppose the ' web site is hosted on two different IP addresses.
The website requires two different A records, one for each IP address.
The parameters for adding records to a record set vary depending on the type of the record set. The following example creates a record set with the relative name 'www' in the DNS Zone 'contoso.com'.
For example, when using a record set of type ' A', you need to specify the IP address using the parameter . The fully-qualified name of the record set is '