You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/dns/dns-reverse-dns-for-azure-services.md
+23-18Lines changed: 23 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,47 +25,49 @@ This scenario differs from the ability to [host the reverse DNS lookup zones](dn
25
25
26
26
Before reading this article, you should familiarize yourself with [reverse DNS in Azure DNS](dns-reverse-dns-overview.md).
27
27
28
-
In Azure DNS, compute resources such as virtual machines, virtual machine scale sets, and Service Fabric clusters have Public IP addresses. Reverse DNS lookups are configured using the 'ReverseFqdn' property of the Public IP address.
28
+
In Azure DNS, compute resources such as virtual machines, virtual machine scale sets, and Service Fabric clusters have public IP addresses. Reverse DNS lookups are configured using the 'ReverseFqdn' property of the public IP address.
29
29
30
30
Reverse DNS is currently not supported for the Azure App Service and Application Gateway.
31
31
32
32
## Validation of reverse DNS records
33
33
34
-
A third party shouldn't have access to create reverse DNS records for Azure service mapping to your DNS domains. That's why Azure only allows you to create a reverse DNS record if the domain name is the same or resolves to a Public IP address in the same subscription. This restriction also applies to Cloud Service.
34
+
A third party shouldn't have access to create reverse DNS records for Azure service mapping to your DNS domains. That's why Azure only allows you to create a reverse DNS record if a forward DNS lookup resolves to the same public IP address, or to names that are defined in your subscription. See the following example. This restriction also applies to Cloud Service.
35
35
36
-
This validation is only done when the reverse DNS record is set or modified. Periodic revalidation isn't done.
36
+
Validation is only done when the reverse DNS record is set or modified. Periodic revalidation isn't done.
37
37
38
-
For example, suppose the Public IP address resource has the DNS name `contosoapp1.northus.cloudapp.azure.com` and IP address `23.96.52.53`. The reverse FQDN for the Public IP address can be specified as:
38
+
For example, suppose the public IP address resource has the DNS name `contosoapp1.northus.cloudapp.azure.com` and IP address `23.96.52.53`. The reverse FQDN for the public IP address can be specified as:
39
39
40
-
* The DNS name for the Public IP address: `contosoapp1.northus.cloudapp.azure.com`.
40
+
* The DNS name for the public IP address: `contosoapp1.northus.cloudapp.azure.com`.
41
41
* The DNS name for a different PublicIpAddress in the same subscription, such as: `contosoapp2.westus.cloudapp.azure.com`.
42
-
* A vanity DNS name, such as: `app1.contoso.com`. As long as the name is *first* configured as a CNAME pointing to `contosoapp1.northus.cloudapp.azure.com`. The name can also be pointed to a different Public IP address in the same subscription.
42
+
* A vanity DNS name, such as: `app1.contoso.com`. As long as the name is *first* configured as a CNAME pointing to `contosoapp1.northus.cloudapp.azure.com`. The name can also be pointed to a different public IP address in the same subscription.
43
43
* A vanity DNS name, such as: `app1.contoso.com`. As long as this name is *first* configured as an A record pointing to the IP address 23.96.52.53. The name can also be pointed to another IP address in the same subscription.
44
44
45
45
The same constraints apply to reverse DNS for Cloud Services.
46
46
47
-
## Reverse DNS for Public IP address resources
47
+
## Reverse DNS for public IP address resources
48
48
49
-
This section provides detailed instructions for how to configure reverse DNS for Public IP address resources in the Resource Manager deployment model. You can use either Azure PowerShell, Azure classic CLI, or Azure CLI to accomplish this task. Configuring reverse DNS for a Public IP address resource is currently not supported in the Azure portal.
49
+
This section provides detailed instructions for how to configure reverse DNS for public IP address resources in the Resource Manager deployment model. You can use either Azure PowerShell, Azure classic CLI, or Azure CLI to accomplish this task. Configuring reverse DNS for a public IP address resource is currently not supported in the Azure portal.
50
50
51
-
Azure currently supports reverse DNS only for Public IPv4 address resources.
52
-
53
-
### Add reverse DNS to an existing public IP address
51
+
Azure currently supports reverse DNS only for public IPv4 address resources.
54
52
55
53
> [!IMPORTANT]
56
54
> New or updated PTR records must pass [validation](#validation-of-reverse-dns-records). If the PTR for a public IP address doesn't currently exist, you must specify the hostname using **DomainNameLabel** (Azure PowerShell), the **-d** parameter (Azure Classic CLI), or the **--dns-name** parameter (Azure CLI) as shown in the following examples.
57
55
56
+
### Add reverse DNS for an public IP address with an existing name
57
+
58
+
Use the following procedures if a public IP address already has a [defined name](#validation-of-reverse-dns-records) in your subscription or via forward DNS lookup.
59
+
58
60
#### Azure PowerShell
59
61
60
-
To update reverse DNS to an existing PublicIpAddress:
62
+
To update reverse DNS on a public IP address with an existing PTR:
> If the public IP address already exists in your subscription, see [Add reverse DNS for an public IP address with an existing name](#add-reverse-dns-for-an-public-ip-address-with-an-existing-name).
112
+
108
113
To create a new PublicIpAddress with the reverse DNS property already specified:
0 commit comments