Route 53 name server collisions

0

Let's say I create a Hosted Zone in Route 53 for mydomain.com after purchasing that domain name through the Route 53 registrar service within my account, which we will call Account 1.

AWS will assign a set of four authoritative name servers for mydomain.com. Let's say that one of them is ns-1234.awsdns-56.net.

Now let's say that someone else, within an account we will call Account 2, an account that does not own mydomain.com, creates a Hosted Zone in Route 53 for mydomain.com (even though they do not own that domain name).

AWS will assign a set of four name servers in Account 2 for mydomain.com. Let's say that by coincidence one of them happens to be ns-1234.awsdns-56.net.

Is this scenario possible? Does AWS re-use the name servers assigned to hosted zones?

If this scenario is possible, what would happen if a DNS query arrived at ns-1234.awsdns-56.net for www.mydomain.com, if additionally Account 1 (the one that owns mydomain.com) had created an A record for www.mydomain.com pointing to 1.1.1.1, and Account 2 (which uses the same name server but does not own mydomain.com) had created an A record for www.mydomain.com pointing to 2.2.2.2?

已提問 4 年前檢視次數 290 次
1 個回答
0

Hi,

Every time anyone creates a hosted zone for a given domain name, such as example.com, Route 53 assigns a unique set of four name servers to that hosted zone. This is true regardless of which account creates yet another example.com hosted zone, so there will never be a conflict.

On a side note, there are only so many unique combinations of Route 53 name servers, which explains why you can no longer create a hosted zone named example.com--the maximum possible number of unique combinations of name servers for example.com hosted zones have already been assigned.

Scott

專家
已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南