How to change nameservers for multiple domains at once
Bulk nameserver changes at GoDaddy, Namecheap, Porkbun, Cloudflare, Dynadot and GetNameDot, plus the DNSSEC and glue checks that prevent outages.
On this page
- What actually changes when you switch nameservers
- Bulk nameserver changes at each registrar
- GoDaddy
- Namecheap
- Porkbun
- Cloudflare (and Cloudflare Registrar)
- Dynadot
- GetNameDot
- Pre-flight checklist
- Propagation: what to expect
- Common mistakes (and how to avoid them)
- 1. Leaving an old DNSSEC DS record in place
- 2. Pointing to nameservers that have no glue
- 3. Delegating to an empty zone
- 4. Forgetting mail and verification records
- 5. Mixing nameserver sets
- 6. Expecting Cloudflare Registrar domains to change
- 7. Forgetting services that depend on the old DNS host
- When bulk changes are worth automating
To change nameservers for many domains at once, select the domains in your registrar's bulk tool, enter the same set of two to four nameserver hostnames, and submit. Every major registrar has some version of this. Before you press submit, do three things: have the new DNS zones ready at the new provider, remove or update any DNSSEC DS records, and make sure any in-domain nameservers have glue records. Skip those and some of your domains will go offline.
Below are the exact paths at GoDaddy, Namecheap, Porkbun, Cloudflare, Dynadot and GetNameDot, taken from each company's own help pages (checked 29 Oct 2026), followed by a pre-flight checklist and the mistakes we see most often.
What actually changes when you switch nameservers
Your nameservers are recorded at the registry (Verisign for .com, DENIC for .de, and so on). They tell the world which DNS host answers for the domain. Changing them moves the whole DNS zone, including the website records, mail (MX), and verification TXT records, to a different provider in one go.
That is why a bulk nameserver change is powerful and risky. One wrong value across 40 domains means 40 broken websites and 40 broken mailboxes. GoDaddy's own help article on nameservers puts it plainly: changing nameservers "may break existing connections to your website or email" (GoDaddy Help, checked 29 Oct 2026).
Bulk nameserver changes at each registrar
| Registrar | Bulk route | Limit stated | Source (checked 29 Oct 2026) |
|---|---|---|---|
| GoDaddy | Per-domain in the Domain Portfolio, or the Domains API | API: 2–13 nameservers per domain, 60 requests/min | Help, API |
| Namecheap | Domain List > select > Actions > DNS/Host Records | Not stated | Knowledgebase |
| Porkbun | Domain Management > Bulk Actions > General Bulk Options | Not stated | Knowledge Base |
| Cloudflare Registrar | Not possible: Cloudflare nameservers only | — | Registrar FAQ |
| Dynadot | Folder DNS settings > Save and Apply to All Domains, or API set_ns | API: 100 domains per request | Help, API |
| GetNameDot | My domains > select > Change nameservers | 50 domains per action | Bulk domain management |
GoDaddy
GoDaddy's help center documents nameserver changes one domain at a time (source, checked 29 Oct 2026):
- Sign in to your GoDaddy Domain Portfolio.
- Select an individual domain to open its Domain Settings page.
- Select DNS, then Nameservers.
- Choose GoDaddy Nameservers or I'll use my own nameservers and enter your hostnames.
- Select Save, then Continue.
Domains with GoDaddy's Domain Protection ask for identity verification, either a 2-step verification code or a one-time password sent by email. Plan for that if you are working through dozens of domains.
For larger portfolios, GoDaddy's v3 Domains API has a "Replace the nameservers for a domain" endpoint. It takes an ordered list of 2 to 13 nameserver hostnames, needs a personal access token, and is rate-limited to 60 requests per minute per credential (GoDaddy Developers, checked 29 Oct 2026). A short script that loops over your domain list is the practical bulk method. Check that your account has API access before you plan around it.
Namecheap
Namecheap's knowledgebase describes the bulk path (source, checked 29 Oct 2026):
- Sign in and open Domain List from the left sidebar, with the Domains tab active.
- Tick the domains you want to update.
- Open the Actions drop-down and choose DNS/Host Records. Namecheap says this option changes nameservers and host records for several domains at once.
- Follow the wizard and pick the nameserver option you need.
Namecheap's related article on bulk host records adds a warning that applies here too. The bulk update "will replace current DNS settings", and Namecheap says it is not possible to restore them afterwards (source). Export or screenshot your current records first.
Porkbun
Porkbun's Bulk Manage tool covers nameservers along with contacts, DNS records, forwarding and renewals (source, checked 29 Oct 2026):
- Log in. You land on Domain Management (or go to ACCOUNT > Domain Management).
- Tick the domains on the left, or use the top checkbox to select all of them.
- Click Bulk Actions above the list, then General Bulk Options.
- Choose the authoritative nameservers option, enter your hostnames, and click Submit.
Porkbun warns that all selected domains update after Submit "without additional confirmation", and that Bulk Manage overwrites previous settings. Large batches can take several minutes to show.
Cloudflare (and Cloudflare Registrar)
There are two different situations here:
- The domain is registered at Cloudflare Registrar. You cannot change its nameservers. Cloudflare's FAQ states that "all domains on Cloudflare Registrar use Cloudflare nameservers" and that if you need other nameservers, you have to move the domain to another registrar (Cloudflare Registrar FAQ, checked 29 Oct 2026). If that is your goal, see our guide on EPP/auth codes for the transfer steps.
- You are moving domains from another registrar to Cloudflare DNS. Add each domain to Cloudflare as a zone (full setup), copy the nameservers Cloudflare assigns, then change the nameservers at your current registrar using that registrar's bulk tool above. Cloudflare's setup guide says to turn DNSSEC off at your registrar before replacing nameservers, because changing them while DNSSEC is active "can cause your domain to become unreachable". It also says to allow up to 24 hours for the registrar update (Cloudflare Docs, checked 29 Oct 2026).
Dynadot
Dynadot documents two bulk methods:
- Folders. Go to My Domains > Folders, click the link in the folder's DNS column, choose Name Servers, enter your nameservers (or a saved set), and click Save and Apply to All Domains. Saving without "apply" only changes the folder default and leaves existing domains alone (Dynadot Help, checked 29 Oct 2026).
- API. The
set_nscommand accepts up to 100 domains per request, separated by commas. It takes up to 13 nameservers, but they must already be in your Dynadot account (Dynadot API, checked 29 Oct 2026).
GetNameDot
In GetNameDot you can change nameservers on up to 50 domains in one action:
- Open My domains in your dashboard.
- Tick the domains (or the select-all box).
- From Bulk action for selected…, choose Change nameservers….
- Pick Our DNS (records managed in your GetNameDot DNS editor) or Custom nameservers and enter two to four hostnames, such as the pair Cloudflare or your host gave you.
- Click Apply.
The same nameservers are set on every selected domain. Domains that are still being registered are skipped. Afterwards you get a per-domain summary showing which were done, submitted, unchanged or skipped, with a reason for each skipped domain. The same bulk menu also toggles transfer lock, WHOIS privacy and auto-renew, so a portfolio clean-up can happen in one session. See bulk domain management for the full list.
Pre-flight checklist
Run through this before any bulk change, whichever registrar you use:
- Export the current state. Save a CSV or screenshot of each domain's nameservers and DNS records. (GetNameDot's My domains page has a CSV export.)
- Build the zones at the new DNS host first. Recreate the A/AAAA, CNAME, MX, TXT (SPF, DKIM, DMARC, verification) and any SRV records before delegating. An empty zone at the new host means an outage the moment the change propagates.
- Lower TTLs a day ahead at the old host, if it lets you. Shorter TTLs on the records you are about to move make the cut-over faster.
- Check DNSSEC. Run
dig DS example.com +shortfor each domain. Any output means a DS record exists, and it must be handled (see below). - Check for in-domain nameservers. If any new nameserver lives inside one of the domains you are changing, it needs glue records at that domain's registrar first.
- Test with a small batch. Change two or three low-traffic domains, confirm website and mail work, then do the rest.
- Keep the old DNS host running for at least 48 hours after the switch. Some resolvers will keep using the old delegation until their cache expires.
- Verify.
dig NS example.com @1.1.1.1(ornslookup -type=ns example.comon Windows) should return the new set.
Propagation: what to expect
The registry update itself is usually quick. Porkbun notes that bulk changes can take several minutes to appear, and longer for big batches. The wait comes from caching. Resolvers that already know the old nameservers keep using them until the cached delegation expires. Cloudflare tells you to wait up to 24 hours for nameserver updates, and GoDaddy says most DNS changes take effect within an hour but "could take up to 48 hours to update globally" (GoDaddy Help). Plan for the 48-hour end, and do not cancel the old DNS plan until it has passed.
Common mistakes (and how to avoid them)
1. Leaving an old DNSSEC DS record in place
This is the most damaging bulk-change mistake because it fails silently for some users and not others. A DS record at the registry says "this zone is signed with this key." If you move the domain to a new DNS host that signs with different keys, or does not sign at all, resolvers that validate DNSSEC reject every answer. For those users the domain simply stops resolving, while people behind non-validating resolvers see nothing wrong.
Fix: Before switching, remove the DS record at the registrar and wait until its TTL has expired. Then change nameservers. Re-enable DNSSEC at the new provider and publish its DS record once the domain is active there. Cloudflare's setup guide follows this order (source). Squarespace also asks you to remove DNSSEC before a transfer (Squarespace Help).
2. Pointing to nameservers that have no glue
If you run your own nameservers, such as ns1.youragency.com and ns2.youragency.com, the registry for youragency.com must hold their IP addresses as glue. Without glue, resolvers cannot find a server named inside the very zone they are trying to look up. RFC 9471 explains that, for nameservers below the delegation point, a resolver otherwise "has no way of finding these addresses" (RFC 9471).
Fix: Create the child nameservers (glue records) on youragency.com first. Then bulk-point your client domains at them. The client domains themselves do not need glue. In GetNameDot, child nameservers are on each domain's detail page.
3. Delegating to an empty zone
Changing nameservers before the new provider has the records is the classic cause of "the site and email went down at the same time." Build and check the zones first.
4. Forgetting mail and verification records
Websites get attention. MX, SPF, DKIM and DMARC records often don't. The same goes for Google or Microsoft domain-verification TXT records. Compare record counts between the old and new zone for each domain.
5. Mixing nameserver sets
Entering one Cloudflare nameserver and one old-host nameserver makes resolvers answer from two different zones at random. Use one provider's complete set.
6. Expecting Cloudflare Registrar domains to change
They can't. Move them to another registrar first, or keep them on Cloudflare DNS.
7. Forgetting services that depend on the old DNS host
URL forwarding, email forwarding and parking pages offered by a registrar usually run on that registrar's own DNS. Once the nameservers point elsewhere, those features stop working for the domain. List which domains use them, and recreate the equivalent at the new host before you switch.
When bulk changes are worth automating
For one-off migrations under a few hundred domains, the registrar's web bulk tool is usually enough. Scripted changes through the GoDaddy or Dynadot APIs make sense when you onboard client domains every week, or when your portfolio is spread across folders and accounts. In both cases the checklist above still applies: DNSSEC and glue are registry-level problems that no bulk tool fixes for you.
If you are consolidating domains at one registrar while you do this, read what an EPP/auth code is and how to get one. Also check renewal prices before you move, using our renewal price comparison. A cheaper first year at a new registrar can turn into a higher bill in year two.
Frequently asked questions
Can I change nameservers for all my domains in one step?
At most registrars, yes. Namecheap (Domain List > Actions > DNS/Host Records), Porkbun (Bulk Actions > General Bulk Options), Dynadot (folder settings or the set_ns API command) and GetNameDot (up to 50 selected domains) all offer a bulk route. GoDaddy's help center documents a per-domain flow, and its API can update nameservers for one domain per request.
How long does a nameserver change take to work?
The registry usually accepts the change within minutes, but resolvers can keep the old delegation cached. Plan for up to 24 to 48 hours before every visitor sees the new DNS host, and keep the old DNS zone running during that time.
Do I need to turn off DNSSEC before changing nameservers?
If the domain has a DS record at the registry and the new DNS provider will sign with different keys, yes. Remove the DS record (or replace it with the new provider's) before you switch. Otherwise, resolvers that validate DNSSEC will treat the domain as broken.
Can I use my own nameservers with Cloudflare Registrar?
No. Cloudflare's Registrar FAQ says all domains registered with Cloudflare Registrar use Cloudflare nameservers. To use another DNS host, you must transfer the domain to a different registrar.
What are glue records and when do I need them?
Glue records are IP addresses stored at the registry for nameservers that live inside the domain they serve, such as ns1.example.com for example.com. You need them only for that domain. Other domains that point to ns1.example.com do not need their own glue.