Guide per DNS host

Change name servers at Cloudflare

Cloudflare has no fixed name servers for everyone: each zone gets two of its own assigned. You enter them at your domain’s registrar, and only then is the domain active at Cloudflare. This guide shows where the names are and what to watch when migrating.

Cloudflare: all records at a glance

Name servers at Cloudflare: what you should know

Cloudflare automatically assigns two name servers to every zone, following the pattern name.ns.cloudflare.com. The names cannot be changed, and Cloudflare requires them to be entered exactly as shown for the zone, so do not rely on the names from another zone. Custom names for the name servers are only available on the Business and Enterprise plans.

The switch happens at the registrar: there you remove the existing name servers and enter the two from Cloudflare exactly as shown. According to Cloudflare it can take up to 24 hours until the zone is reported as active. If DNSSEC is active at the current provider, it has to be disabled at the registrar first.

Conversely there is a restriction: a domain registered through Cloudflare Registrar always uses the Cloudflare name servers. If you want to run the zone elsewhere you have to transfer the domain to another registrar; the only option is delegating individual subdomains with NS records.

How to change the name servers at Cloudflare

The way at Cloudflare:

  • Add the domain in the Cloudflare dashboard and check that Cloudflare imported all existing DNS records, above all MX, SPF, DKIM and DMARC.
  • Note the two assigned name servers; they are shown in the onboarding flow and later on the “Overview” page of the zone.
  • At the domain’s registrar remove the existing name servers and enter the two from Cloudflare.
  • Wait until Cloudflare shows the zone as “Active” and check which name servers the registry returns.

Click path at Cloudflare

Official guide from Cloudflare: Change your nameservers (Full setup)(opens in a new tab)retrieved 10 Nov 2026

Before any name server change

With the name servers the whole zone changes. Whatever is missing at the new provider no longer exists after the switch, and with mail that often only shows days later.

  • Create all records of the old zone at the new provider: A and AAAA, MX, SPF, DKIM, DMARC, CNAMEs for services, verifications.
  • Switch off DNSSEC or remove the DS record beforehand and wait for its TTL.
  • Enter at least two name servers that already answer for the domain.
  • Delete the old zone only once the switch has arrived everywhere; that can take one to two days.

Verify and keep an eye on it

The name server check below compares the name servers at the registry with those in the zone and checks whether all are reachable and return the same data. You see whether the switch at Cloudflare has arrived and whether one server is out of line. DomainWarn then monitors the name servers permanently and reports every change, including one nobody ordered.

Frequently asked questions

What are the Cloudflare name servers called?
There are no uniform ones: Cloudflare assigns two name servers to every zone following the pattern name.ns.cloudflare.com. Those for your domain are on the overview page of the zone in the dashboard.
Can I run a Cloudflare Registrar domain with external name servers?
No. Domains at Cloudflare Registrar always use the Cloudflare name servers. For another DNS provider the domain has to move to another registrar.
How long until new name servers apply everywhere?
The registry usually applies the change within minutes to hours. Resolvers keep the old name servers for as long as their TTL runs, though, often one to two days. During that time the old and the new zone must give the same answers.
Check now

Free name server check: does every NS answer authoritatively, do all serve the same zone data, are they in different networks? Finds lame delegation.

DomainWarn checks SPF, DKIM, DMARC, DNS and certificates of all client domains regularly and reports changes before mail lands in spam.

Monitor this domain continuously14-day free trial, no credit card.

The same guide for other hosts

All hosts at a glance