my-manageable-zone.com
Let's say you have a DNS server with public IP address of 205.251.197.174
and you planned it to be an authoritative zone for my-manageable-zone.com
. Basically, you have two options in preparing the DNS server to become a nameserver:
- Self-hosted: you can create an A-record subdomain under the same zone; or
- Outsourced: you can create an A-record subdomain from other zone
Self-hosted
Record set inside my DNS server
Record | Record type | Value |
---|---|---|
ns-1.my-manageable-zone.com. |
A | 205.251.197.174 |
my-manageable-zone.com. |
NS | ns-1.my-manageable-zone.com. |
Outsourced
Record set inside some other DNS server
Record | Record type | Value |
---|---|---|
ns-1.some-other-zone.com. |
A | 205.251.197.174 |
Record set inside my DNS server
Record | Record type | Value |
---|---|---|
my-manageable-zone.com. |
NS | ns-1.some-other-zone.com. |
Real world
I looked online on what people are practicing with regards to nameservers. Basically, in the command-line I tried something like:
dig +short NS google.com
dig +short NS nsa.gov
dig +short NS cloudflare.com
dig +short NS mit.edu
Results
google.com | nsa.gov | cloudflare.com | mit.edu |
---|---|---|---|
ns2.google.com. |
a11-66.akam.net. |
ns3.cloudflare.com. |
use5.akam.net. |
ns1.google.com. |
a24-65.akam.net. |
ns4.cloudflare.com. |
use2.akam.net. |
ns3.google.com. |
a1-107.akam.net. |
ns5.cloudflare.com. |
asia2.akam.net. |
... | ... | ... | ... |
In the real world, it is actually a healthy mix of self-hosted and outsourced. What are the things to look out for when implementing self-hosted or outsourced?
UPDATE
I stand corrected on the terminologies. What I refer to as "self-hosted" actually means In-bailiwick and whenever I said "outsourced" that actually means Out-of-bailiwick.