Origin DNS error while using curl from another server

Hello,

I have domain A running a Cloudflare. I have domain B on another server (no Cloudflare) which needs to do a curl command (through PHP) to a script on domain A, I’m getting an Error 1016 (Origin DNS error). This makes sense since the origin IP isn’t the same as the IP configured in the DNS.

I have tried adding the IP of domain B to the firewall in cloudflare for domain A by going to Firewall > Tools with the action ‘Whitelist’. I have also added the IP to ‘Firewall > Firewall Rules’ with the action ‘Allow’.

I’m still getting the same error, am I missing something?

Thanks!

A 1016 shouldn’t have to anything to do with other servers. That error should exist, regardless of which client tries to connect.

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