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
@@ -25,44 +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.
51
+
Azure currently supports reverse DNS only for public IPv4 address resources.
52
52
53
-
### Add reverse DNS to an existing PublicIpAddresses
53
+
> [!IMPORTANT]
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.
55
+
56
+
### Add reverse DNS for a 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.
54
59
55
60
#### Azure PowerShell
56
61
57
-
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 a public IP address with an existing name](#add-reverse-dns-for-a-public-ip-address-with-an-existing-name).
104
112
105
113
To create a new PublicIpAddress with the reverse DNS property already specified:
They're free! There's no extra cost for reverse DNS records or queries.
212
220
213
-
### Will my reverse DNS records resolve from the internet?
221
+
### Do my reverse DNS records resolve from the internet?
214
222
215
223
Yes. Once you set the reverse DNS property for your Azure service, Azure manages all the DNS delegations and DNS zones needed to ensure it resolves for all internet users.
216
224
@@ -222,9 +230,9 @@ No. Reverse DNS is an opt-in feature. No default reverse DNS records are created
222
230
223
231
FQDNs are specified in forward order, and must be terminated by a dot (for example, "app1.contoso.com.").
224
232
225
-
### What happens if the validation check for the reverse DNS I've specified fails?
233
+
### What happens if the validation check for the specified reverse DNS entry fails?
226
234
227
-
Where the reverse DNS validation check fails, the operation to configure the reverse DNS record fails. Correct the reverse DNS value as required, and retry.
235
+
If the reverse DNS validation check fails, the operation to configure the reverse DNS record fails. Correct the reverse DNS value as required and retry.
228
236
229
237
### Can I configure reverse DNS for Azure App Service?
0 commit comments