Contents
Every domain has at least two nameservers, so if one fails the other still answers. When you change them, you hand the whole DNS zone to the new provider: the old records at the previous provider stop being used, even if they still exist there.
How they work
- You enter the nameservers in your account at the registrar.
- The registrar sends them to the extension’s registry, where they become NS records in the TLD zone (such as
.com). - When any DNS resolver looks up your site, it asks the TLD servers first, which refer it to your nameservers.
- Your nameservers answer with the requested record, such as the IP address in the A record.
Practical example: checking your nameservers
dig NS example.com +short
ns1.example-host.com.
ns2.example-host.com.
Or use the DNS lookup tool in your browser, no commands needed.
Nameservers or an A record?
| Method | What happens | When to choose it |
|---|---|---|
| Change nameservers | The host manages every record | Simplest for most sites |
| Add an A record only | DNS stays at the registrar or Cloudflare | When other important records live there |
Common problems
- The change isn’t showing: DNS propagation takes time, because NS records in zones like
.comare cached for up to 48 hours. See nameservers not updating. - Email stops after the switch: the old MX records weren’t recreated on the new nameservers; if your email lives elsewhere, add its records again.
- Nameservers named after the domain itself: names like
ns1.example.comneed glue records at the registrar, or nobody can find their address. - A typo: one extra dot or missing letter in a nameserver name is enough to take the whole domain offline.
On ArabyHost
At your registrar, set the nameservers to:
ns1.arabicode.com
ns2.arabicode.com
The essential records are then created automatically, you edit them in the control panel’s DNS editor, and a free SSL certificate is issued without any action from you. Follow the nameserver change guide step by step.
FAQ
How long does a nameserver change take?
It often shows within a few hours, but can take 24 to 48 hours to reach every network because of caching at the extension's servers and at ISPs.
Will my site go down while nameservers change?
For a while some visitors may reach the old host and others the new one. Keep the site and email working in both places until propagation completes.
How many nameservers do I need?
At least two, and most registrars let you add more. Having several means queries still get answered if one goes down.