Let’s say I have a domain from Namecheap called example.com
I also have a VPS from Hetzner at the IP 12.34.56.78
I want to link one to the other. The simple way is just to add an A record in namecheap that’s points “@” to “12.34.56.78” (the nameserver is Namecheap BasicDNS). This works! However Hetzner wants me to add there authoritative nameservers (e.g. hydrogen.ns.hetzner.com). My question is: what is the advantage of doing this over sticking with the NamecheapDNS?
It is very likely I have fundamental misunderstandings about how these things work so please feel free to correct me. Thank you.
Well, nameservers control what your domain’s DNS show, so reasons for switching might be:
- more DNS servers locations
- better DNS servers uptime
- support for some special features
As for the special features, some providers allow you to do stuff otherwise impossible, for example with AWS you can set your base domain as an alias to a different domain, which is not possible in raw DNS (you can’t set CNAME on your base domain). I think CloudFlare supports something similar.
Whether any of those applies to you is something you will have to research on your own, I don’t use namecheap, nor hetzner (not for dns anyway).