Cloudflare error 1000: DNS points to prohibited IP, and how to fix it

Error 1000 means a proxied DNS record points at an address Cloudflare won't connect to, often its own IP. How to find the bad record and what to put there instead.

· 6 min read · By the Spot Downtime team

Error 1000 "DNS points to prohibited IP" appears when Cloudflare is asked to proxy a request to an address it refuses to connect to. The most common reason is simple: the DNS record for your hostname contains an IP address that belongs to Cloudflare itself. Cloudflare would end up forwarding the request to its own network, which is a loop, so it stops and shows the error page.

Like error 1016, this is a DNS configuration problem, not a web server problem. Your server may be perfectly healthy. The fix is to correct the record so it points at the real origin.

How the mistake usually happens

When a record is proxied (the orange cloud), anyone who looks it up in public DNS sees Cloudflare's addresses, not your origin's. That is the point of the proxy. The trap is copying one of those addresses into a record somewhere else.

  • You ran dig on a proxied hostname and used the answer. The IP you got was a Cloudflare edge address, and you pasted it into an A record for another hostname as if it were your server.
  • A migration copied the wrong value. Records were exported from a proxied domain, so the export held Cloudflare IPs, and these were imported as the new origin.
  • Two zones point at each other. A record in one Cloudflare zone targets a hostname in another zone that is proxied, and the chain ends up at a Cloudflare address.
  • A CNAME resolves to a Cloudflare address. The target of a proxied CNAME is itself behind Cloudflare, so the final answer is a Cloudflare IP.

Cloudflare also won't proxy to addresses that are not reachable from the public internet at all, such as a loopback or private address, so a record holding one of those will not work either, even if the exact error page differs.

Find the record behind the error

  1. Note the exact hostname in the error page.
  2. Open the Cloudflare dashboard, go to DNS for that zone and find the record for the hostname.
  3. Look at its type and content. If it is an A or AAAA record, check whether the IP is yours. If it is a CNAME, follow the target.

Cloudflare publishes its address ranges at cloudflare.com/ips. Compare the record's IP with those ranges. If it falls inside one, you have found the cause. To follow a CNAME chain from the command line:

bash
dig +short app.example.com A
dig +short app.example.com CNAME

# If the CNAME target is proxied elsewhere, resolve it too
dig +short target.example.net A

Remember that if the target is proxied, this shows Cloudflare addresses. That is expected for a proxied name and is exactly why pointing another record at that answer breaks.

DNS lookupLook up the A, AAAA and CNAME records for the hostname and see what each one resolves to.

Fix it

Point the record at your real origin

Replace the A record's content with the public IP of the server that actually runs your site. You can find it in your hosting panel, your cloud console or on the server itself. If you do not remember it, look at the old DNS record from before the mistake, in your zone's audit log or a backup of your zone file.

bash
# On the origin server, find its public address
curl -4 https://ifconfig.me

Use a hostname the host gave you

If your site runs on a platform that gives you a hostname such as yourapp.platform-host.com, use a CNAME to that name instead of an IP. Make sure that hostname is not itself fronted by your own Cloudflare zone in a way that loops back.

Break the chain between zones

If one zone points at another, give the first zone a record that goes straight to the origin address, or set the intermediate record to DNS only (grey cloud) so the answer is the real origin IP instead of a Cloudflare one. Do this only if exposing the origin address is acceptable for that hostname.

Changes to your own zone are fast

Cloudflare reads its own zone data directly, so a corrected record normally takes effect within moments for the proxy. Browsers and resolvers can still hold older answers for the TTL, which is explained in DNS TTL explained.

Check that it worked

Reload the page in a private window. Then confirm the origin answers directly, bypassing DNS, to separate record problems from server problems:

bash
# Replace 203.0.113.10 with your origin IP
curl -I --resolve app.example.com:443:203.0.113.10 https://app.example.com/

A normal response means the server is fine. If this fails, the issue has moved to the server, and error 522 or 521 will help from there. If the origin serves a certificate Cloudflare rejects, see error 526.

Prevent it

  • Never copy an address from a lookup of a proxied hostname. Take the origin IP from the server or your host.
  • Keep a note of each hostname's origin in your documentation, so a migration has a source of truth.
  • Review DNS changes before saving them, especially bulk imports.
  • After any DNS edit, load the affected hostnames and check the result instead of trusting the dashboard save.

Catch it the moment it happens

Error 1000 usually follows a DNS edit, and the person who made the edit rarely loads every hostname afterward. A website monitor on each important hostname flags the failed page within one check interval, and a DNS monitor can watch the records for unexpected changes. Spot Downtime confirms a failure from other regions before it alerts, so you get one clear message. The guide to monitoring DNS records shows which record types are worth watching.

Get new guides by email

Practical posts on monitoring, outages, error fixes and on-call, when they're published. No spam.

Unsubscribe from any email with one click. See our privacy policy.

Keep reading