Cоle
CDCloudflare Developers
•Created by Cоle on 1/31/2023 in #pages-help
Pages with IPv4 Only (DNS?)
I'm trying to run a page that retrieves the user's IPv4 address. It specifically needs to be v4. I'm using CF headers to get both v4 and v6 addresses, but some users don't connect via v4 at all, so I can't get their v4 address.
I can't think of a good way to block off v6 traffic for a subdomain, other than using an A record instead of CNAME, but obviously that probably wouldn't work well. Is something like this possible?
19 replies