하위 도메인에 대한 글루 레코드?

하위 도메인에 대한 글루 레코드?

내가 example.com을 소유하고 있다고 가정해 보겠습니다.

dns.example.com이라는 A 레코드를 만든 다음 이를 네임서버에 지정합니다. 네임서버에는 ns1.dns.example.com이라는 이름과 dns.example.com이라는 이름을 지정했습니다.

이제 나는 혼란스러워졌습니다. ns1.dns.example.com 또는 dns.example.com의 글루 레코드를 생성합니까? dns.example.com에도 A 레코드가 필요합니까?

답변1

도메인의 NS 레코드가 해당 도메인 내의 호스트 이름을 가리키는 경우 글루 레코드가 필요합니다. 예를 들어, 다음과 같은 경우에는 글루 레코드가 필요하지 않습니다.

testing.example.com:
NS = ns1.infra.example.com.
NS = ns2.infra.example.com.

여기서는 글루 레코드가 필요합니다.

testing.example.com:
NS = ns1.testing.example.com.
NS = ns2.testing.example.com.

이 경우 글루 레코드는 도메인으로 이동합니다 example.com.

example.com:
[...]
testing.example.com.     IN NS ns1.testing.example.com.
testing.example.com.     IN NS ns2.testing.example.com.
ns1.testing.example.com. IN  A 172.16.202.152
ns2.testing.example.com. IN  A 172.12.9.11

관련 정보