Current Cloudflare Ip-address


#1

Hello, i have a website that is using a script that sends information to other registered client websites.
The information is sent through Curl and to make sure that the information is coming from my website and not someone else’s, the client website checks that the ip-address that is sending the information is the same as my website.

The problem is that since my website is behind Cloudflare i do no longer have a static ip-address.
Is there a way to get the current Cloudflare ip-address of my website like ip.mywebsite.com so my clients can check against that?


#2

If you’re less worried about the ddos protection feature and your origin server is resilient, you could create a separate :grey: zone containing your origin IP. Another option is to simply share your origin’s IP with clients and remove the website DNS lookup all together.