I have no DNS records in Cloudflare for xxx.com.au domain. It is only connected to Workers and I have added the custom domain to workers yet I get IP conflict issues?
Ray ID: 751948946d00a86a • 2022-09-28 03:10:00 UTC
DNS points to prohibited IP
What happened?
You’ve requested a page on a website (xxx.com.au) that is on the Cloudflare network. Unfortunately, it is resolving to an IP address that is creating a conflict within Cloudflare’s system.
What can I do?
If you are the owner of this website:
you should login to Cloudflare and change the DNS A records for xxx.com.au to resolve to a different IP address.
The error is correct as far as I am afraid your are putting Cloudflare IP instead of your hosting / origin server IP address into the Content field for both A and AAAA records.
You should get provided the IP address(es) from your hosting provider.
However, since using Workers on a defined route path like domain.com/*, may I ask if you’ve tried pointing to a temporary IP address for that particular proxied hostname (naked domain and/or www) like 192.0.2.1?
But as FYI you can indeed use CF workers without needing any A or CNAME records specified. You can add them direct to the Worker itself (To do so you must remove any A or CNAME records for the domain first then add them directly into CF workers) see screen shot and i have marked out confidential client data. hope this helps you as well.