How to default to IPv4 for logging

We are having an issue with the worker functions at Cloudflare.

They are preferring the IPv6 even when there are both IPv4 and IPv6 (for requests to our website). This is impacting our logging capabilities, along with tracking where users are coming from.

We would like to know if there are any solutions to PREFER the IPv4 instead of IPv6 when using worker functions.

  1. Are the Pseudo-IPv4 fake? The documentation are tied to Class E block, which are all “fake” IPs.

  2. Can we get both IPs for logging when there are 2?

Welcome to the Cloudflare Community. :logodrop:

This previous topic addresses your impossible desires.

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