Https://1.1.1.1/cdn-cgi/trace resolves wrong ip address

I have issue running https://1.1.1.1/cdn-cgi/trace. I have network with two ISP routers. Originally used one modem and setup of DNS refresh using timothymiller/cloudflare-ddns (github.com).

Now I moved to network with two modems and all my traffic should be passed through new modem (new ip) and old one should be used as failover. Everything works fine. But on raspberry pi with docker mentoned before when I run https://1.1.1.1/cdn-cgi/trace I still get old ip. If I disconnect cable for my old modem from my router it falls back to new ip. Every other machine uses new ip. Is there any way to force refresh on 1.1.1.1 side?

All cdn-cgi does is tell you which IP address you’re using to connect to it. It’s pretty much like going to icanhazip.com or whatsmyip.org. What IP address you’re seeing has nothing to do with Cloudflare.

2 Likes

Any idea why I might use this address? Calling from console “curl ifconfig.io” returns ip of modem which should be used

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