I am trying to find a solution since 4 days but I could not.
My Issue: Since I use Cloudflare (before it was working fine) the API-Keys of OSTicket are not working anymore because I have to enter the Domain-IP of the Domain where the API will be used. In my case it is the Domain:
I use the OsTicket API and use Cloudflare on my site. I restore IP addresses on the server (contact your host about this) so that I can enter the actual IP of my server there.
ok still is not working
Host had already activated the mod_remoteip or mod_Cloudflare.
But is it normal that the “DNS look up” still is showing Cloudflare IPs:
299 IN A 104.27.150.91
299 IN A 104.27.151.91
and not the Webhoster IP: 195.30.85.100
Does the DNS Lookup of your Domain also show the Cloudflare IPs?
The DNS lookup will still show Cloudflare’s IPs, yes - this is the same on my domain too. What mod_remoteip does is to retrieve the actual IP address that the request originated from. This is expected. If that is working as it should, (you could check your server logs or ask your host to, to see if traffic is now showing as coming from its actual IP and not a Cloudflare IP) then osTicket should see the actual IP.
What you can do is pause Cloudflare on your site from the Overview tab of the Cloudflare Dashboard, bottom right under Advanced Actions, leave it to propagate and see if it works then. You can then see if it is working normally without Cloudflare and therefore see if there is an issue with mod_remoteip or something else.