Vanity nameservers
If your nameservers are inside your own domain, such as ns1.example.com for example.com, the registry needs address records for them, called glue, registered at the registrar.
Monitor
Protect
Manage
By role
Security
Renewals
Monitoring
An NS (name server) record names the servers that are authoritative for a domain DNS zone. You change nameservers at your registrar, which publishes them to the TLD registry, and the new DNS host starts answering once resolvers refresh their cached delegation.
| Role | What it controls | Where you change it |
|---|---|---|
| Registrar | Domain registration, renewal, lock and which nameservers the domain delegates to | Registrar account |
| DNS host (nameservers) | The zone: A, MX, TXT, CNAME and other records | DNS provider panel; may be the registrar or a third party |
| Web host | The server that serves the website and its IP address | Hosting panel; you copy its IP into an A record |
example.com nameserver = elliott.ns.cloudflare.com
example.com nameserver = hera.ns.cloudflare.com
; zone file form
example.com. 86400 IN NS ns1.dnshost.example.
example.com. 86400 IN NS ns2.dnshost.example.Add every record you need (A, AAAA, CNAME, MX, TXT) to the new DNS provider before changing anything. Export the old zone if the old host allows it.
Cloudflare documents that changing nameservers with DNSSEC active can make the domain unreachable. Remove the DS record at the registrar first, then re-enable DNSSEC at the new host.
At Namecheap, for example: Domain List, Manage, Nameservers, choose Custom DNS and enter the new names. Other registrars use similar menus under DNS or Nameservers.
Usually two to four hostnames. Remove the old ones so only the new set remains.
Use the nameserver lookup or nslookup -type=NS example.com 1.1.1.1. Allow up to 24 hours; see DNS propagation.
Whoever controls the nameservers controls every record. An unexpected change can be a hijack. Aepto Theft Guard alerts on unexpected nameserver and registrar changes against a learned baseline. See what happens when someone changes your DNS.
If your nameservers are inside your own domain, such as ns1.example.com for example.com, the registry needs address records for them, called glue, registered at the registrar.
Add NS records for a subdomain inside the parent zone to hand that subdomain to different nameservers.
The NS records you set at the registrar are the ones the registry publishes. The NS records inside your zone should match them.
An NS record lists a nameserver that is authoritative for a zone. The records at the registry delegate your domain to those servers, and the NS records inside the zone repeat the same information.
The registrar is the company where you registered and renew the domain. Nameservers are the DNS servers the domain delegates to. You can register at one company and host DNS at another.
Namecheap says up to 24 hours, sometimes more, to reach ISP caches. Cloudflare also tells users to allow up to 24 hours. Many changes show up within an hour or two.
No. RFC 2181 section 10.3 says the target of an NS record must be a name with address records, not an alias. Use A and AAAA records for nameserver hostnames.
Theft Guard compares nameservers and registrar against a learned baseline and alerts on unexpected changes.