Error 1000 DNS Points to prohibited IP - when connected to workers

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?

Error 1000

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.

Greetings,

Thank you for asking.

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 :orange: hostname (naked domain and/or www) like 192.0.2.1? :thinking:

Regarding Cloudflare 1000 error, I’d suggest you to into below articles for further troubleshooting and more information about the issue:

Sharing helpful articles with step-by-step instructions how to manage the DNS records at DNS tab on Cloudflare dashboard as follows:

Hi @fritex thanks for reaching out with awesome helpful info. The issue was resolved in the end by modifying the CF Worker script. There was issues in the script and modified it see here: Using Cloudflare workers to redirect multiple URLS - Developers / Workers - Cloudflare Community

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.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.