From 2ffd38022856c8479029922952a3ac72f20cf550 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Fri, 15 Nov 2024 21:41:51 +0100 Subject: [PATCH] chore(aws/route53): expand split-view notes --- knowledge base/cloud computing/aws/route53.md | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/knowledge base/cloud computing/aws/route53.md b/knowledge base/cloud computing/aws/route53.md index 4b91a69..9dd5397 100644 --- a/knowledge base/cloud computing/aws/route53.md +++ b/knowledge base/cloud computing/aws/route53.md @@ -47,9 +47,10 @@ Allows to use the same domain name for both **internal** _and_ **external** uses Procedure: +1. Enable DNS resolution and DNS hostnames for any VPC involved. 1. Create public **and** private hosted zones with the same name.
Split-view DNS will still work if using an external DNS service for the public hosted zone. -1. Associate one or more VPCs with the private hosted zone.
+1. Associate one or more VPCs with the **private** hosted zone.
Route 53 Resolver will use the private hosted zone to route DNS queries in the associated VPCs. 1. Create records in each hosted zone. @@ -58,12 +59,23 @@ Procedure: 1. Use Route 53 Resolver to perform name resolution of **both** the associated VPC **and** on-premises workloads. +DNS queries for **public** DNS record from VPCs attached to private hosted zone will **not** resolve and will give back +`NXDOMAIN` errors.
+If a record doesn't exist in the private hosted zone, the DNS query **cannot** be forwarded to a public hosted zone. + +Resolve public DNS records from VPCs associated with private hosted zones by replicating all public records in the +private hosted zone along with private records.
+Any query coming from a public DNS record will be resolved from the private hosted zone. + ## Further readings +- [Documentation] + ### Sources -- [What is Amazon Route 53?] - [Split-view DNS] +- [Split-view DNS using Amazon Route 53] +- [How do I use Route 53 to access an internal version of my website with the same domain name that is used publicly?] [split-view dns]: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/hosted-zone-private-considerations.html -[what is amazon route 53?]: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/Welcome.html +[documentation]: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/ +[how do i use route 53 to access an internal version of my website with the same domain name that is used publicly?]: https://repost.aws/knowledge-center/internal-version-website +[split-view dns using amazon route 53]: https://tutorialsdojo.com/split-view-dns-using-amazon-route-53/