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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인