Regarding cdn-cgi/trace

Dear Team Cloudflare,

My question relates to https://www.cloudflare.com/cdn-cgi/trace

  • Is it possible to see IPV4 address while being on IPV6 supported ISP?

Thanks

This should do it:
curl -4 https://www.cloudflare.com/cdn-cgi/trace

3 Likes

Thanks!
Any more cleaner way like by adding some query string, directly with URL?

What? That’s totally clean! I promise.

It’s really up to the app making the connection. This is generally selected by the operating system, but some apps, like ‘curl’ can force a specific connection. I suppose if you modified the network settings of your device, you could disable IPv6.

7 Likes

To my knowledge, we don’t have any test URLs which are v4 or v6 only, thus requiring the client to choose which address family (ipv4 or ipv6) is used to connect.

HTTP is at the wrong layer of the protocol stack to make that possible.

The best you could get is an IPv4 only hostname (IPv4.example.com) and a separate IPv6 only hostname (IPv6.example.com). But in Cloudflare, I think you can only have a v4 only
zone, or a dual stack zone, but not a v6 only zone.

3 Likes

Thank you Michael, that’s really a useful tip in direct URL way.

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