Why Move DNS at All
You keep your domain registered where you bought it. Moving DNS only changes who answers the question "where does this domain point?" Reasons to do it:
- Some Cloudflare features only work on domains whose DNS Cloudflare manages, for example attaching a custom domain like
app.yourdomain.comto a Cloudflare Worker. - One dashboard for DNS, SSL and security across all your domains.
- Fast DNS changes, and the free plan is genuinely free.
Step 1 — Write Down Every Record You Have Now
In GoDaddy: My Products → your domain → DNS. Screenshot every page of the records list. A typical setup for a GitHub Pages site plus Google Workspace email looks like this:
| Type | Name | Value | What it does |
|---|---|---|---|
| A ×4 | @ | 185.199.108.153 / 109 / 110 / 111.153 | Website (GitHub Pages) |
| CNAME | www | username.github.io | Website with www |
| MX | @ | smtp.google.com (priority 1) | Receiving email |
| TXT | @ | v=spf1 include:… ~all | SPF: who may send your mail |
| TXT | google._domainkey | v=DKIM1; k=rsa; p=… | DKIM: signs your mail |
| TXT | _dmarc | v=DMARC1; p=… | DMARC: spam policy |
| TXT | @ | google-site-verification=… | Proves you own the domain to Google |
| NS ×2, SOA | @ | ns##.domaincontrol.com | GoDaddy's own; Cloudflare replaces these |
Watch for records that point to other records. My SPF record included a sub-record (include:something._spfm.yourdomain.com), and that sub-record had its own TXT entry. Miss it and your SPF check fails quietly.
Step 2 — Add the Domain to Cloudflare
- Sign up or log in at dash.cloudflare.com.
- On the account home, click Add → Connect a domain (older wording: "Add a site"). Enter the domain and continue. Don't use the "Onboard domain" button inside a Worker's settings for this. It gives you no chance to review records first.
- Choose the Free plan.
- Cloudflare scans your existing DNS and shows a list of records it found.
Step 3 — Compare and Fix the Scanned Records
The scan is good, not perfect. In my case it found 10 of the 11 records. It missed the SPF sub-record. Go through your screenshot line by line:
- Add anything missing with + Add record.
- Long TXT values (DKIM): open the record with Edit and check the start and end of the value match exactly. Copy-paste from GoDaddy's copy button, never retype.
- Website records pointing at GitHub Pages: switch the orange cloud to grey "DNS only". With proxy on, GitHub can't issue or renew your site's HTTPS certificate.
- MX and TXT are always DNS only. That's correct, leave them.
Step 4 — Check DNSSEC Is Off at the Registrar
In GoDaddy: DNS → DNSSEC. If it's on, turn it off before changing nameservers. If you don't, the domain can stop resolving completely after the switch. You can switch DNSSEC on again later from Cloudflare.
Step 5 — Switch the Nameservers
- Cloudflare shows two nameservers assigned to you, for example
carter.ns.cloudflare.comanddavina.ns.cloudflare.com. Yours will have different names. - In GoDaddy: your domain → DNS → Nameservers → Change Nameservers → I'll use my own nameservers.
- Delete the two
domaincontrol.comentries, paste the two Cloudflare ones, and Save.
Step 6 — Wait, and Don't Panic at "Invalid Nameservers"
Right after the change, Cloudflare may show "Invalid nameservers" or "Pending". It checked before GoDaddy finished publishing the change. Click Check nameservers now after an hour. Mine went Active within about 12 hours. Cloudflare says it can take up to 24.
During the wait nothing breaks, because both GoDaddy and Cloudflare hold identical records.
Step 7 — Test Everything
- Open your website on mobile data (not home Wi-Fi, which can cache old answers).
- Send an email to your domain address from a different account, and reply from it.
- On Windows, if your PC still shows an old error for a new sub-domain, clear its DNS cache: open Command Prompt and run
ipconfig /flushdns.
Common Issues
Website shows a certificate error. The GitHub Pages records are still proxied (orange). Switch them to DNS only and wait a few minutes.
Emails land in spam after the move. An SPF, DKIM or DMARC record is missing or altered. Compare against your screenshot again, character by character for DKIM.
A Worker custom domain says "No zones match". The domain isn't active in your Cloudflare account yet. Finish the nameserver switch first.
Registrar subscriptions. Moving DNS doesn't cancel anything at GoDaddy. Keep auto-renew on for the domain itself. If you don't use the email product it bundled, you can let that lapse.