What Error 1000 Means
When a record is proxied through Cloudflare, Cloudflare receives the visitor's request and forwards it to the origin address in the record. If that address belongs to Cloudflare itself, or the origin hands the request straight back to Cloudflare, the request would go around in a circle. Cloudflare stops it and shows error 1000, "DNS points to prohibited IP".
What a Visitor Can Do
Nothing on the visitor's side causes this error, and nothing there fixes it. Try again later, or let the site owner know which address showed the error.
Cause 1: The Record Points to a Cloudflare Address
The classic mistake: you run dig on your proxied hostname, it returns an address, and you copy that address into another record as "the server IP". For proxied names dig shows Cloudflare's edge addresses, not your server. The same happens when records are copied from another proxied zone.
Open the DNS records in the Cloudflare dashboard and compare each proxied A and AAAA record with the real public address of your server. On the server:
ip -4 addr show
ip -6 addr show
If the server sits behind NAT, its public address is shown in your provider's control panel. Cloudflare publishes the address ranges it uses; an origin address inside them is wrong. The ip command guide explains the output.
Cause 2: The Origin Sends the Request Back Through Cloudflare
A reverse proxy on the origin that forwards to the proxied hostname sends every request out to Cloudflare again. In Nginx this looks like:
# Wrong: example.com is proxied by Cloudflare
location / {
proxy_pass https://example.com;
}
# Right: forward to the local backend
location / {
proxy_pass http://127.0.0.1:8080;
}
The same applies to Apache ProxyPass, HAProxy backends, and application code that calls its own public hostname. Point them at the local address or the backend's private address. Background is in Nginx reverse proxy.
Cause 3: Request Headers and Other Cases
Cloudflare's documentation also lists request conditions for this error: an X-Forwarded-For header longer than 100 characters, two X-Forwarded-For headers in one request, or a request that already carries a CF-Connecting-IP header. These matter mostly when another proxy or a client of your own sends requests to Cloudflare with these headers set. The list further names a load balancer origin that points to a proxied record, an SNI mismatch at the origin, and a hostname set up through a provider that uses Cloudflare for SaaS without a custom hostname for your domain; in that last case the provider has to fix it.
Check with dig and curl
dig +short example.com
dig +short example.com @203.0.113.53
The first answer for a proxied name is a Cloudflare address, which is expected; do not copy it anywhere. In the second line, 203.0.113.53 stands for any public resolver you want to compare with. To confirm the origin answers for the site, ask it directly from the server:
curl -sI -H "Host: example.com" http://127.0.0.1/
More lookups are in the dig command guide.
Fix It Step by Step
- Find the server's real public address.
- Correct every proxied A or AAAA record that points elsewhere.
- Search the origin for proxies that point at a proxied name:
sudo grep -R "proxy_pass" /etc/nginx/. - Change them to the local or private backend, test with
sudo nginx -t, then reload. - Wait a few minutes and load the site again.
Switching a record to DNS only for a test sends visitors straight to the origin and shows its address; switch it back afterward.
Related Cloudflare Errors
- Error 1001: Cloudflare cannot match the hostname to an active zone.
- Error 1016: the origin's record does not resolve.
- Error 521: the origin refuses the connection.