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/private-resolver-hybrid-dns.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
-
title: Resolve Azure and on-premises domains
3
-
description: Configure Azure and on-premises DNS to resolve private DNS zones and on-premises domains
2
+
title: Resolve Azure and on-premises domains.
3
+
description: Configure Azure and on-premises DNS to resolve private DNS zones and on-premises domains.
4
4
services: dns
5
5
author: greg-lindsay
6
6
ms.service: dns
7
7
ms.topic: how-to
8
-
ms.date: 10/05/2023
8
+
ms.date: 04/05/2024
9
9
ms.author: greglin
10
10
#Customer intent: As an administrator, I want to resolve on-premises domains in Azure and resolve Azure private zones on-premises.
11
11
---
@@ -14,7 +14,7 @@ ms.author: greglin
14
14
15
15
## Hybrid DNS resolution
16
16
17
-
This article provides guidance on how to configure hybrid DNS resolution by using an [Azure DNS Private Resolver](#azure-dns-private-resolver) with a [DNS forwarding ruleset](#dns-forwarding-ruleset).
17
+
This article provides guidance on how to configure hybrid DNS resolution by using an [Azure DNS Private Resolver](#azure-dns-private-resolver) with a [DNS forwarding ruleset](#dns-forwarding-ruleset). In this scenario, your Azure DNS resources are connected to an on-premises network using a VPN or ExpressRoute connection.
18
18
19
19
*Hybrid DNS resolution* is defined here as enabling Azure resources to resolve your on-premises domains, and on-premises DNS to resolve your Azure private DNS zones.
20
20
@@ -48,24 +48,24 @@ Create a private zone with at least one resource record to use for testing. The
48
48
-[Create a private zone - PowerShell](private-dns-getstarted-powershell.md)
49
49
-[Create a private zone - CLI](private-dns-getstarted-cli.md)
50
50
51
-
In this article, the private zone **azure.contoso.com** and the resource record **test** are used. Autoregistration isn't required for the current demonstration.
51
+
In this article, the private zone **azure.contoso.com** and the resource record **test** are used. Autoregistration isn't required for the current demonstration.
52
52
53
53
> [!IMPORTANT]
54
54
> A recursive server is used to forward queries from on-premises to Azure in this example. If the server is authoritative for the parent zone (contoso.com), forwarding is not possible unless you first create a delegation for azure.contoso.com.
**Requirement**: You must create a virtual network link in the zone to the virtual network where you deploy your Azure DNS Private Resolver. In the following example, the private zone is linked to two VNets: **myeastvnet** and **mywestvnet**. At least one link is required.
58
+
**Requirement**: You must create a virtual network link in the zone to the virtual network where you deploy your Azure DNS Private Resolver. In the following example, the private zone is linked to two VNets: **myeastvnet** and **mywestvnet**. At least one link is required.
59
59
60
60
[](./media/private-resolver-hybrid-dns/private-zone-links.png#lightbox)
61
61
62
62
## Create an Azure DNS Private Resolver
63
63
64
-
The following quickstarts are available to help you create a private resolver. These quickstarts walk you through creating a resource group, a virtual network, and Azure DNS Private Resolver. The steps to configure an inbound endpoint, outbound endpoint, and DNS forwarding ruleset are provided:
64
+
The following quickstarts are available to help you create a private resolver. These quickstarts walk you through creating a resource group, a virtual network, and Azure DNS Private Resolver. The steps to configure an inbound endpoint, outbound endpoint, and DNS forwarding ruleset are provided:
65
65
-[Create a private resolver - portal](dns-private-resolver-get-started-portal.md)
66
66
-[Create a private resolver - PowerShell](dns-private-resolver-get-started-powershell.md)
67
67
68
-
When you're finished, write down the IP address of the inbound endpoint for the Azure DNS Private Resolver. In this example, the IP address is **10.10.0.4**. This IP address is used later to configure on-premises DNS conditional forwarders.
68
+
When you're finished, write down the IP address of the inbound endpoint for the Azure DNS Private Resolver. In this example, the IP address is **10.10.0.4**. This IP address is used later to configure on-premises DNS conditional forwarders.
69
69
70
70
[](./media/private-resolver-hybrid-dns/inbound-endpoint-ip.png#lightbox)
71
71
@@ -75,11 +75,11 @@ Create a forwarding ruleset in the same region as your private resolver. The fol
**Requirement**: You must create a virtual network link to the vnet where your private resolver is deployed. In the following example, two virtual network links are present. The link **myeastvnet-link** is created to a hub vnet where the private resolver is provisioned. There's also a virtual network link **myeastspoke-link** that provides hybrid DNS resolution in a spoke vnet that doesn't have its own private resolver. The spoke network is able to use the private resolver because it peers with the hub network. The spoke vnet link isn't required for the current demonstration.
78
+
**Requirement**: You must create a virtual network link to the vnet where your private resolver is deployed. In the following example, two virtual network links are present. The link **myeastvnet-link** is created to a hub vnet where the private resolver is provisioned. There's also a virtual network link **myeastspoke-link** that provides hybrid DNS resolution in a spoke vnet that doesn't have its own private resolver. The spoke network is able to use the private resolver because it peers with the hub network. The spoke vnet link isn't required for the current demonstration.
Next, create a rule in your ruleset for your on-premises domain. In this example, we use **contoso.com**. Set the destination IP address for your rule to be the IP address of your on-premises DNS server. In this example, the on-premises DNS server is at **10.100.0.2**. Verify that the rule is **Enabled**.
82
+
Next, create a rule in your ruleset for your on-premises domain. In this example, we use **contoso.com**. Set the destination IP address for your rule to be the IP address of your on-premises DNS server. In this example, the on-premises DNS server is at **10.100.0.2**. Verify that the rule is **Enabled**.
@@ -94,11 +94,11 @@ The procedure to configure on-premises DNS depends on the type of DNS server you
94
94
95
95
## Demonstrate hybrid DNS
96
96
97
-
Using a VM located in the virtual network where the Azure DNS Private Resolver is provisioned, issue a DNS query for a resource record in your on-premises domain. In this example, a query is performed for the record **testdns.contoso.com**:
97
+
Using a VM located in the virtual network where the Azure DNS Private Resolver is provisioned, issue a DNS query for a resource record in your on-premises domain. In this example, a query is performed for the record **testdns.contoso.com**:
98
98
99
99

100
100
101
-
The path for the query is: Azure DNS > inbound endpoint > outbound endpoint > ruleset rule for contoso.com > on-premises DNS (10.100.0.2). The DNS server at 10.100.0.2 is an on-premises DNS resolver, but it could also be an authoritative DNS server.
101
+
The path for the query is: Azure DNS > inbound endpoint > outbound endpoint > ruleset rule for contoso.com > on-premises DNS (10.100.0.2). The DNS server at 10.100.0.2 is an on-premises DNS resolver, but it could also be an authoritative DNS server.
102
102
103
103
Using an on-premises VM or device, issue a DNS query for a resource record in your Azure private DNS zone. In this example, a query is performed for the record **test.azure.contoso.com**:
104
104
@@ -111,6 +111,6 @@ The path for this query is: client's default DNS resolver (10.100.0.2) > on-prem
111
111
* Learn how to create an Azure DNS Private Resolver by using [Azure PowerShell](./dns-private-resolver-get-started-powershell.md) or [Azure portal](./dns-private-resolver-get-started-portal.md).
112
112
* Understand how to [Resolve Azure and on-premises domains](private-resolver-hybrid-dns.md) using the Azure DNS Private Resolver.
113
113
* Learn about [Azure DNS Private Resolver endpoints and rulesets](private-resolver-endpoints-rulesets.md).
114
-
* Learn how to [Set up DNS failover using private resolvers](tutorial-dns-private-resolver-failover.md)
114
+
* Learn how to [Set up DNS failover using private resolvers](tutorial-dns-private-resolver-failover.md).
115
115
* Learn about some of the other key [networking capabilities](../networking/fundamentals/networking-overview.md) of Azure.
116
116
*[Learn module: Introduction to Azure DNS](/training/modules/intro-to-azure-dns).
0 commit comments