Skip to content

CloudFlare DNS Wrong IPs

  • by

If CloudFlare is enabled on your site and when proxies are turned on, then you can see CloudFlare IP’s are being returned for your site during dnslookup instead of your origin IP. The reason is when proxies are turned on, CloudFlare acts as a reverse proxy and protect your site from DDOS attacks!

There would be no change to website visitors as they would be still redirected to the actual origin server IP (Your server or host). You can turn off being proxied by following the steps listed on How to turn off proxied in CloudFlare

Though there are numerous advantages when requests are being proxied there are also some disadvantages like not being able to connect to custom ports on the origin server. It would be best for each website owner to decide about getting the requests being proxied or using CloudFlare only for DNS!