Considering this article, DNS Server Types, by Cloudflare, there is a TLD nameserver that is responsible for finding the authoritative DNS server containing the required record. But how does the TLD nameserver know what are the authoritative DNS servers so it can search in them? Imagine I want to start a domain name registering company. How can I register my nameservers in the TLD server so it will know to include my server in its search?
1 Answers
A TLD nameserver is not responsible for finding anything externally.
It is responsible for answering queries with referral information specifying the authoritative nameservers for the requested names based on the information that it already has.
Eg, the com
nameservers, when queried about foo.example.com
will send a referral response containing information about the authoritative nameservers for example.com
, all based on information that already exists in the com
zone data.
In practice, the information about the authoritative nameservers for example.com
were fed to the com
nameservers with a flow outlined below:
Registrant → registrar → registry → delegation in the TLD zone
Ie, the registrant (customer) purchases and manages their domain name through the registrar, the registrar has a business relationship with the registry (essentially owner of the TLD) and sends the information for the domain there (as well as part of the money they took from the customer), the registry puts the relevant records for the delegation into the TLD zone.
![](../../users/profiles/183318.webp)
- 33,741
- 5
- 65
- 90
-
Thanks for your answer. So how is this information added to com nameserver? Is there an organization that is responsible for it? How do new companies add their nameservers to com nameserver's database? – Mahan Lamee Feb 06 '21 at 12:25
-
@MahanLameie The registrant (customer) purchases and manages their domain name through the registrar, the registrar has a business relationship with the registry (essentially owner of the TLD) and sends the information for the domain there (as well as part of the money they took from the customer), the registry puts the data into the zone. That is what I tried to outline, but I suppose I might have to put this more wordy version in the answer. – Håkan Lindqvist Feb 06 '21 at 12:28