Beep beep... Loading...
An NS (Name Server) record is like a directory service for your domain. It tells the internet which servers are in charge of answering questions about your domain name, like "what's its IP address?" or "where does its email go?"
Real-world examples:
# Using Cloudflare's nameservers example.com → ns1.cloudflare.com example.com → ns2.cloudflare.com # Using AWS Route 53 example.com → ns-123.awsdns-15.com example.com → ns-1234.awsdns-22.org example.com → ns-2048.awsdns-64.net example.com → ns-978.awsdns-58.net # Using custom nameservers for a subdomain subdomain.example.com → ns1.hosting.com subdomain.example.com → ns2.hosting.com
Think of NS records like the information desk at a shopping mall:
Without NS records, nobody would know where to look up information about your domain - it would be like trying to find a store in a mall with no information desks or directories.
Point your domain to your DNS provider:
example.com → ns1.provider.com example.com → ns2.provider.com
Let another provider manage a subdomain:
app.example.com → ns1.hosting.com app.example.com → ns2.hosting.com
Switch to a new DNS provider:
# Old records example.com → ns1.oldprovider.com # New records example.com → ns1.newprovider.com
Having at least two nameservers ensures your domain stays online even if one server fails.
When you change NS records, it can take 24-48 hours for the changes to fully propagate.
Don't rely on a single nameserver - it's a single point of failure for your entire domain.
Double-check the spelling of nameserver addresses - even a small typo will break your domain.
Before changing NS records, verify the new nameservers are properly configured.
Schedule NS record changes during low-traffic periods to minimize disruption.
When switching providers, keep the old NS records active for a few days after the change.