Skip to content

Commit bfd7f4b

Browse files
Merge pull request #229351 from greg-lindsay/dns-upd
some content fixes and notes
2 parents 5ba692b + d9ab55e commit bfd7f4b

File tree

5 files changed

+42
-17
lines changed

5 files changed

+42
-17
lines changed

articles/dns/dns-private-resolver-get-started-portal.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: In this quickstart, you create and test a private DNS resolver in A
44
services: dns
55
author: greg-lindsay
66
ms.author: greglin
7-
ms.date: 09/27/2022
7+
ms.date: 03/02/2023
88
ms.topic: quickstart
99
ms.service: dns
1010
ms.custom: mode-ui, ignite-2022
@@ -127,6 +127,15 @@ To apply your forwarding ruleset to the second virtual network, you must create
127127

128128
![Screenshot of ruleset virtual network links.](./media/dns-resolver-getstarted-portal/ruleset-links.png)
129129

130+
## Delete a virtual network link
131+
132+
Later in this article a rule is created using the private resolver inbound endpoint as a destination. This can cause a DNS resolution loop if the VNet where the resolver is provisioned is also linked to the ruleset. To fix this issue, remove the link to **myvnet**.
133+
134+
1. Search for **DNS forwarding rulesets** in the Azure services list and select your ruleset (ex: **myruleset**).
135+
2. Select **Virtual Network Links**, choose **myvnet-link**, select **Remove** and select **OK**.
136+
137+
![Screenshot of ruleset virtual network links after removing a link.](./media/dns-resolver-getstarted-portal/ruleset-links-remove.png)
138+
130139
## Configure a DNS forwarding ruleset
131140

132141
Add or remove specific rules your DNS forwarding ruleset as desired, such as:

articles/dns/dns-private-resolver-overview.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.custom: references_regions, ignite-2022
66
author: greg-lindsay
77
ms.service: dns
88
ms.topic: overview
9-
ms.date: 12/16/2022
9+
ms.date: 03/02/2023
1010
ms.author: greglin
1111
#Customer intent: As an administrator, I want to evaluate Azure DNS Private Resolver so I can determine if I want to use it instead of my current DNS resolver service.
1212
---
@@ -73,17 +73,20 @@ Azure DNS Private Resolver is available in the following regions:
7373

7474
Azure DNS Private Resolver doesn't move or store customer data out of the region where the resolver is deployed.
7575

76-
## DNS resolver endpoints
76+
## DNS resolver endpoints and rulesets
7777

78-
For more information about endpoints and rulesets, see [Azure DNS Private Resolver endpoints and rulesets](private-resolver-endpoints-rulesets.md).
78+
A summary of resolver endpoints and rulesets is provided in this article. For detailed information about endpoints and rulesets, see [Azure DNS Private Resolver endpoints and rulesets](private-resolver-endpoints-rulesets.md).
7979

80-
### Inbound endpoints
80+
## Inbound endpoints
8181

8282
An inbound endpoint enables name resolution from on-premises or other private locations via an IP address that is part of your private virtual network address space. To resolve your Azure private DNS zone from on-premises, enter the IP address of the inbound endpoint into your on-premises DNS conditional forwarder. The on-premises DNS conditional forwarder must have a network connection to the virtual network.
8383

84-
The inbound endpoint requires a subnet in the VNet where it’s provisioned. The subnet can only be delegated to **Microsoft.Network/dnsResolvers** and can't be used for other services. DNS queries received by the inbound endpoint will ingress to Azure. You can resolve names in scenarios where you have Private DNS zones, including VMs that are using auto registration, or Private Link enabled services.
84+
The inbound endpoint requires a subnet in the VNet where it’s provisioned. The subnet can only be delegated to **Microsoft.Network/dnsResolvers** and can't be used for other services. DNS queries received by the inbound endpoint ingress to Azure. You can resolve names in scenarios where you have Private DNS zones, including VMs that are using auto registration, or Private Link enabled services.
8585

86-
### Outbound endpoints
86+
> [!NOTE]
87+
> The IP address assigned to an inbound endpoint is not a static IP address that you can choose. Typically, the fifth IP address in the subnet is assigned. However, if the inbound endpoint is reprovisioned, this IP address might change. The IP address does not change unless the inbound endpoint is reprovisioned.
88+
89+
## Outbound endpoints
8790

8891
An outbound endpoint enables conditional forwarding name resolution from Azure to on-premises, other cloud providers, or external DNS servers. This endpoint requires a dedicated subnet in the VNet where it’s provisioned, with no other service running in the subnet, and can only be delegated to **Microsoft.Network/dnsResolvers**. DNS queries sent to the outbound endpoint will egress from Azure.
8992

@@ -97,7 +100,7 @@ A DNS forwarding ruleset is a group of DNS forwarding rules (up to 1000) that ca
97100

98101
## DNS forwarding rules
99102

100-
A DNS forwarding rule includes one or more target DNS servers that will be used for conditional forwarding, and is represented by:
103+
A DNS forwarding rule includes one or more target DNS servers that are used for conditional forwarding, and is represented by:
101104
- A domain name
102105
- A target IP address
103106
- A target Port and Protocol (UDP or TCP)
@@ -135,6 +138,8 @@ Outbound endpoints have the following limitations:
135138
### Other restrictions
136139

137140
- IPv6 enabled subnets aren't supported.
141+
- DNS private resolver does not support Azure ExpressRoute FastPath.
142+
138143

139144
## Next steps
140145

104 KB
Loading
-7.08 KB
Loading

articles/dns/private-resolver-endpoints-rulesets.md

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ author: greg-lindsay
66
ms.service: dns
77
ms.custom: ignite-2022
88
ms.topic: conceptual
9-
ms.date: 12/16/2022
9+
ms.date: 03/02/2023
1010
ms.author: greglin
1111
#Customer intent: As an administrator, I want to understand components of the Azure DNS Private Resolver.
1212
---
1313

1414
# Azure DNS Private Resolver endpoints and rulesets
1515

16-
In this article, you'll learn about components of the [Azure DNS Private Resolver](dns-private-resolver-overview.md). Inbound endpoints, outbound endpoints, and DNS forwarding rulesets are discussed. Properties and settings of these components are described, and examples are provided for how to use them.
16+
In this article, you learn about components of the [Azure DNS Private Resolver](dns-private-resolver-overview.md). Inbound endpoints, outbound endpoints, and DNS forwarding rulesets are discussed. Properties and settings of these components are described, and examples are provided for how to use them.
1717

1818
The architecture for Azure DNS Private Resolver is summarized in the following figure. In this example network, a DNS resolver is deployed in a hub vnet that peers with a spoke vnet.
1919

@@ -28,12 +28,15 @@ An ExpressRoute-connected on-premises network is also shown in the figure, with
2828

2929
## Inbound endpoints
3030

31-
As the name suggests, inbound endpoints will ingress to Azure. Inbound endpoints provide an IP address to forward DNS queries from on-premises and other locations outside your virtual network. DNS queries sent to the inbound endpoint are resolved using Azure DNS. Private DNS zones that are linked to the virtual network where the inbound endpoint is provisioned are resolved by the inbound endpoint.
31+
As the name suggests, inbound endpoints ingress to Azure. Inbound endpoints provide an IP address to forward DNS queries from on-premises and other locations outside your virtual network. DNS queries sent to the inbound endpoint are resolved using Azure DNS. Private DNS zones that are linked to the virtual network where the inbound endpoint is provisioned are resolved by the inbound endpoint.
3232

3333
The IP address associated with an inbound endpoint is always part of the private virtual network address space where the private resolver is deployed. No other resources can exist in the same subnet with the inbound endpoint. The following screenshot shows an inbound endpoint with a virtual IP address (VIP) of **10.10.0.4** inside the subnet `snet-E-inbound` provisioned within a virtual network with address space of 10.10.0.0/16.
3434

3535
![View inbound endpoints](./media/private-resolver-endpoints-rulesets/east-inbound-endpoint.png)
3636

37+
> [!NOTE]
38+
> The IP address assigned to an inbound endpoint is not a static IP address that you can choose. Typically, the fifth IP address in the subnet is assigned. However, if the inbound endpoint is reprovisioned, this IP address might change. The IP address does not change unless the inbound endpoint is reprovisioned.
39+
3740
## Outbound endpoints
3841

3942
Outbound endpoints egress from Azure and can be linked to [DNS Forwarding Rulesets](#dns-forwarding-rulesets).
@@ -55,16 +58,16 @@ A ruleset can't be linked to a virtual network in another region. For more infor
5558

5659
### Ruleset links
5760

58-
When you link a ruleset to a virtual network, resources within that virtual network will use the DNS forwarding rules enabled in the ruleset. The linked virtual networks are not required to peer with the virtual network where the outbound endpoint exists, but these networks can be configured as peers. This configuration is common in a hub and spoke design. In this hub and spoke scenario, the spoke vnet doesn't need to be linked to the private DNS zone in order to resolve resource records in the zone. In this case, the forwarding ruleset rule for the private zone sends queries to the hub vnet's inbound endpoint. For example: **azure.contoso.com** to **10.10.0.4**.
61+
When you link a ruleset to a virtual network, resources within that virtual network will use the DNS forwarding rules enabled in the ruleset. The linked virtual networks aren't required to peer with the virtual network where the outbound endpoint exists, but these networks can be configured as peers. This configuration is common in a hub and spoke design. In this hub and spoke scenario, the spoke vnet doesn't need to be linked to the private DNS zone in order to resolve resource records in the zone. In this case, the forwarding ruleset rule for the private zone sends queries to the hub vnet's inbound endpoint. For example: **azure.contoso.com** to **10.10.0.4**.
5962

60-
The following screenshot shows a DNS forwarding ruleset linked to two virtual networks: a hub vnet: **myeastvnet**, and a spoke vnet: **myeastspoke**.
63+
The following screenshot shows a DNS forwarding ruleset linked to the spoke virtual network: **myeastspoke**.
6164

6265
![View ruleset links](./media/private-resolver-endpoints-rulesets/ruleset-links.png)
6366

6467
Virtual network links for DNS forwarding rulesets enable resources in other vnets to use forwarding rules when resolving DNS names. The vnet with the private resolver must also be linked from any private DNS zones for which there are ruleset rules.
6568

6669
For example, resources in the vnet `myeastspoke` can resolve records in the private DNS zone `azure.contoso.com` if:
67-
- The ruleset provisioned in `myeastvnet` is linked to `myeastspoke` and `myeastvnet`
70+
- The ruleset provisioned in `myeastvnet` is linked to `myeastspoke`
6871
- A ruleset rule is configured and enabled in the linked ruleset to resolve `azure.contoso.com` using the inbound endpoint in `myeastvnet`
6972

7073
### Rules
@@ -75,7 +78,7 @@ DNS forwarding rules (ruleset rules) have the following properties:
7578
| --- | --- |
7679
| Rule name | The name of your rule. The name must begin with a letter, and can contain only letters, numbers, underscores, and dashes. |
7780
| Domain name | The dot-terminated DNS namespace where your rule applies. The namespace must have either zero labels (for wildcard) or between 2 and 34 labels. For example, `contoso.com.` has two labels. |
78-
| Destination IP:Port | The forwarding destination. One or more IP addresses and ports of DNS servers that will be used to resolve DNS queries in the specified namespace. |
81+
| Destination IP:Port | The forwarding destination. One or more IP addresses and ports of DNS servers that are used to resolve DNS queries in the specified namespace. |
7982
| Rule state | The rule state: Enabled or disabled. If a rule is disabled, it's ignored. |
8083

8184
If multiple rules are matched, the longest prefix match is used.
@@ -88,11 +91,19 @@ For example, if you have the following rules:
8891
| AzurePrivate | azure.contoso.com. | 10.10.0.4:53 | Enabled |
8992
| Wildcard | . | 10.100.0.2:53 | Enabled |
9093

91-
A query for `secure.store.azure.contoso.com` will match the **AzurePrivate** rule for `azure.contoso.com` and also the **Contoso** rule for `contoso.com`, but the **AzurePrivate** rule takes precedence because the prefix `azure.contoso` is longer than `contoso`.
94+
A query for `secure.store.azure.contoso.com` matches the **AzurePrivate** rule for `azure.contoso.com` and also the **Contoso** rule for `contoso.com`, but the **AzurePrivate** rule takes precedence because the prefix `azure.contoso` is longer than `contoso`.
95+
96+
> [!IMPORTANT]
97+
> If a rule is present in the ruleset that has as its destination a private resolver inbound endpoint, do not link the ruleset to the VNet where the inbound endpoint is provisioned. This configuration can cause DNS resolution loops. For example: In the previous scenario, no ruleset link should be added to `myeastvnet` because the inbound endpoint at `10.10.0.4` is provisioned in `myeastvnet` and a rule is present that resolves `azure.contoso.com` using the inbound endpoint.
98+
99+
#### Rule processing
100+
101+
- If multiple DNS servers are entered as the destination for a rule, the first IP address that is entered is used unless it doesn't respond. An exponential backoff algorithm is used to determine whether or not a destination IP address is responsive. Destination addresses that are marked as unresponsive aren't used for 30 minutes.
102+
- Certain domains are ignored when using a wildcard rule for DNS resolution, because they are reserved for Azure services. See [Azure services DNS zone configuration](../private-link/private-endpoint-dns.md#azure-services-dns-zone-configuration) for a list of domains that are reserved. The two-label DNS names listed in this article (ex: windows.net, azure.com, azure.net, windowsazure.us) are reserved for Azure services.
92103

93104
> [!IMPORTANT]
94105
> - You can't enter the Azure DNS IP address of 168.63.129.16 as the destination IP address for a rule. Attempting to add this IP address will output the error: **Exception while making add request for rule**.
95-
> - Do not use the private resolver's inbound endpoint IP address as a forwarding destination for zones that are not linked to the virtual network where the private resolver is provisioned.
106+
> - Do not use the private resolver's inbound endpoint IP address as a forwarding destination for zones that aren't linked to the virtual network where the private resolver is provisioned.
96107
97108
## Next steps
98109

0 commit comments

Comments
 (0)