Community Tip - Fixing Error: 530 / Error: 1016 Origin DNS Error

Error
Try the suggestions in this Community Tip to help you fix “Error 530: Origin DNS Error”.

Background
Error 1016 / Error 530 indicates Cloudflare is unable to send requests to your server because its origin IP cannot resolve the A or CNAME DNS record requested. Even if Cloudflare’s Anycast address is resolving correctly, the record that should be specified in the DNS tab of your Cloudflare dashboard cannot be found or is a CNAME record to an external domain that cannot be resolved. When this happens, the browser will show a 1016 error, but the actual HTTP response code you’ll see is “Error 530: Origin DNS Error”.

PRO UP SELL

Cloudflare Diagnostic Center
Checks: nameservers, DNSSEC, DS record configuration, if connecting to ‘domain.com’ works, if connecting to ‘www.domain.com’ works, & for existing MX records

Quick Fix Ideas

  1. You’re using Cloudflare Load Balancer and the origin host names (CNAMEs) in your default/region and fallback pools cannot be resolved via DNS. Use a fallback pool configured with an origin IP as a backup in case all other pools are unavailable.

  2. Your Cloudflare DNS configuration does not have an A DNS record that matches your origin IP address. Verify that your Cloudflare DNS settings include an A record that points to a valid IP address. You could edit an existing A record or create a new one. See Community Tip - Fixing No A, AAAA or CNAME record found / ERR NAME NOT RESOLVED errors for details on how to add DNS records.

  3. You have a CNAME DNS record pointing to an external domain that cannot be resolved. If your CNAME record is pointing to an external domain, ensure that the target domain can be resolved by using command line tools as well as third-party tools to check DNS resolution.

    dig

    dig subdomain.example.com
    dig +trace subdomain.example.com - The +trace option outputs detailed information when the DNS response fails. This information can be useful when working with DNS providers to troubleshoot the issue.
    dig subdomain.example.com @1.1.1.1 - The @1.1.1.1 option returns results from Cloudflare's public DNS resolver. This is useful in confirming that public resolvers can receive a DNS response.
    

    nslookup

    nslookup subdomain.example.com
    nslookup subdomain.example.com 1.1.1.1

    Try an online services, such as whatsmydns.net, to check for DNS resolution worldwide. Note that a response other than a valid IP address (e.g., timeout, SERVFAIL, NXDOMAIN or NOERROR) most likely points to the source of your issue. For resolution, contact the DNS provider for your CNAME.

Lite Reading
https://support.cloudflare.com/hc/en-us/articles/360029779472#error1016

Community Tutorial

Background Resources
Help Center
YouTube

Research The Issue
Community
Google

If You Need More Help
This community of other Cloudflare users may be able to assist you, login to Cloudflare and post your question to the Community. When you post on the Community make sure to include as much of this information as possible: the specific error message you are seeing, the URLs this is happening on, screen shot of the error, and the steps to reproduce the error. Please indicate what troubleshooting steps you’ve tried in order to help us help you.

Expert Comments Appreciated
This Community Tip will remain open for input from Community experts and those familiar with this issue. We really appreciate comments that start with words like: “The three things I always try”, or “Do this first” or “In my experience”.

This is a Cloudflare Community Tip, to review other tips click here.

Çevirme…traduzir…翻译…traducir…Traduire…Übersetzen…:greyg: Translate this Tip

FXODCT 102119

2 Likes
Error 1016 help
ERROR 1016 Origin DNS error [Help needed]
Origin DNS error
Error 1016 Issue with CNAME Flattening
I add Thai Domain name to Cloudflare but got error 1016
LunarPages CNAME Setup Produces Origin DNS Error 1016
1016 Error - how to fix - cómo arreglar
Error 1016 origi dns
CNAME No access to Aliyun WAF
Error 1016 origin DNS error too
ERROR 1016 Origin DNS error on my webiste [Need help]
ERROR 1016 Origin DNS error on my webiste [Need help]
Account Setup - Websites Down
Wildcard not working for custom hostname
Cloudflare is currently unable to resolve your requested domain (cdn.consumidorpositivo.com.br)
How do I fix a Cloudflare error 1016 message in a wordpress website?
Error 1016 (on some ISPs)
Custom Domain Name and Heroku not working
Site complete broken after turning on Cloudflare
530 / Error: 1016 Origin DNS Error
530 / Error: 1016 Origin DNS Error
530 / Error: 1016 Origin DNS Error
Blogspot Setup
Error 1016 for valid Cloudflare Pages site
My website show Error 1016 Origin DNS error
I'm a newbie and stuck - 1016 error code issue
Error 1016 for valid Cloudflare Pages site
Error 521 and 530
Setting up a domain with the øæå
Error 1016- no idea how to fix
How long it takes for a new A record to get propagated
The page returned an error: 530 Unknown code
Facing dns error
DNS Error 1016 issue
DNS CNAME - error 1016 on mobile
Getting Error 1016 on a site I'm trying to use but not always
Error 1016 after doing nothing
Origin DNS error while using curl from another server
Can't access with my new DNS NameServers of Cloudnet
Website not loading | IP address couldnot found error
Error 1016 Origin DNS error Ray ID: 59b6f1f8dcc9d41b
Urgent help please for charity website. Status Active all DNS completed yet no website
Cloudflare and Google Domains
Company website is not working
My website is taking to much load is there any problem
Error 1016 for Domain and Subdomain even after following all the steps
How do I fix error 1016
Error 1016 Origin DNS error - Custom Domain - Cloudflare Workers
Error 1016 Origin DNS error - Custom Domain - Cloudflare Workers
Error 1016 is showing in my website. Someone help pls
Error 1016 - beginner user
Purging everything
Help Me! is not a registered domain name
Please help, my website shows an error 530
How Do I Fix error 1016?
Community Tip - Alle veröffentlichten Tipps
WP Offload Images Not Showing
1016 Origin DNS error
1016 Origin DNS error
Cloudflare API returned error(s): Unknown X-Auth-Key or X-Auth-Email
Error. Domain is not a registered domain
What percent of 400's and 500's errors do you have?
Registrar Dash Ticket - Issue resolving www.thinkprotection.con - get Error 1016 but thinkprotection.com works
Registrar Dash Ticket - Issue resolving www.thinkprotection.con - get Error 1016 but thinkprotection.com works
Pages project, how to connect a branch preview deploy to a branch specific custom domain
Error. Domain is not a registered domain
Error. Domain is not a registered domain
Delete Recorde
Error. Domain is not a registered domain
1016 Origin DNS Error when proxy enabled, otherwise working
Re: [Cloudflare]: Certificate renewal for getkarma.co.uk"
Website hosted behind vendor CF Account
How to connect hostname properly
530 / Error: 1016 Origin DNS Error
Website hosted behind vendor CF Account
Website hosted behind vendor CF Account
Error 1016 for eastcoastcollective.com
Website hosted behind vendor CF Account
Error 1016 with Realm.mongodb.com (cloudflare worker)
Website hosted behind vendor CF Account
Account Dash Ticket - I still have DNS records from Cloudflare but no site in my account
Error 1016 with Realm.mongodb.com (cloudflare worker)
Need some questions answered
Error 1016 with Realm.mongodb.com (cloudflare worker)
Occasional 1016 DNS Origin Errors
Occasional 1016 DNS Origin Errors
Occasional 1016 DNS Origin Errors
Error 1016: Origin DNS error
Page Rule: Forwarding URL stopped working
Page Rule: Forwarding URL stopped working
Error 1016: Origin DNS error
Page Rule: Forwarding URL stopped working
Updating nameserver my site is down
Help to activate cloudflare to my website
Help to activate cloudflare to my website
I have 100 sites down due to 1016 Error?
I have 100 sites down due to 1016 Error?
Dicas da comunidade - Todas as dicas
社區提示 - 所有提示
Set up a partial (CNAME) zone
Hosting outside Cloudflare
Hosting outside Cloudflare
Error 1016 - nameservers got me confused
Error 1016 - nameservers got me confused
เคล็ดลับชุมชน - เคล็ดลับทั้งหมด
Error 1016 for our domain
CommunityTip - Tất cả các mẹo
Error 1016 New Setup
TipsKomunitas - Semua Tips
コミュニティのヒント - 公開されているすべてのヒント
Cloudflare A record to Lightsail Plex server not working
社区提示 - 所有提示
CommunityTip - Todas la CommunityTips
Graphql server hitting the 1mb script limit
커뮤니티 팁 - 모든 팁
Occasional 1016 error
CommunityTip - Tous les conseils
Error 1016 DriveToWeb From Google Docs Custom Domain
Setup new domain
Subdomain point to an external subdomain
1016 error origin
1016 error origin
1016 error origin
Error 1016 for one subdomain, but not any other domains
I'm a newbie and stuck - 1016 error code issue
Origin DNS Error 1016
Site not working without www
1016 errors w/ tunnel - ingress rules ignored
Error 1016 My website was working and suddenly this error appears
DNSimple / Cloudflare / Heroku Error 1016
Origin DNS Error - Error 1016
Error 1016 after switching to cloudflare
Error 1016 when moving from SiteGround
Origin DNS Error 1016 after changing hosting
I can't change the Origin Certificates
### buycott ### cloudflare
Bot Fight Mode raises Total Blocking Time on speed test
All my websites is hitting error 1016
All my websites is hitting error 1016
Cannot Submit Ticket + Error 1016
Cannot Submit Ticket + Error 1016
Cannot Submit Ticket + Error 1016
Error 1016 - Origin DNS Error 09-12-2022 11:30am EST
Error 1016 - Origin DNS Error 09-12-2022 11:30am EST
Elevated 1016 errors?
All my websites is hitting error 1016
Difference between CF-Connecting-IP and True-Client-Ip?
Difference between CF-Connecting-IP and True-Client-Ip?
Error 1016 - SiteGround Host
Error 1016 - SiteGround Host
Error 1016 - SiteGround Host
Error 1016 Ray ID: 748e485a66ad8ef2 • 2022-09-11 06:17:50 UTC Origin DNS error
Rewrite wildcard domain to subdirectories in R2 bucket
Unexpected random 5xx errors on the origin
Can't access a specific website
Image could not be resized (530)
Error 1016 issue
Советы сообщества - Все советы
Domain not reachable after switching NS to CF
How to resolve Error 1016
Google GCS Static Website 1016 Error
Problema al ingresar a mi sitio web
DNS Error for My Country
SSL not active for over 24 hours on domain mupwebdesign.com
Error 1016 help
I'm changing ISPs, what does the Community recommend?
BigCommerce Stores 1016 Error
DNS & Name Server issue
Community Tip - All Published Tips
Dns and network
Error 1016 on CNAME
Error 1016 - Origin DNS error
The DNS A Record of my Subdomain is removed Automatically After 2 days
Error 1016 how to recover my website please
Consigli della community - Tutti i suggerimenti
Site can't be reached site not secure with cloudfare SSL
Why am I getting a 1016 error?
Error 1016, Origin DNS error