What is the point of the NS records?
I notice that when setting up a new domain in the DNS section, it automatically creates three NS-records for you: ns1-3.digitalocean.com. What is the point of these records?
The way I understand DNS, they are useless, and I’m sure they are there for a reason. So where am I wrong? When I register a domain and set it’s name servers to ns1-3.digitalocean.com, this info is sent to the top level domain name servers. So when a user enters domain.com, it queries .com, and gets the name servers I just specified (ns1-3.digitalocean.com). domain.com is then sent to DO’s name servers. It is by default set up with one A record (@ to VPS IP).
So the request has been handed to DO’s name servers, and the record for the domain points to ns1-3.digitalocean.com. Isn’t this a circular reference? (ns1-3.digitalocean.com queries itself because of the NS-records.)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.