Prioritize IPV6 over IPV4

My NS is currently with cloudflare.
I have a apache setup with v4 and v6 address.

Client is on dual stack.
When client access, it’s a random switch between v4 and v6 address.
Sometimes it connects using v4, sometimes v6.

Is there anyway to have v6 priority or v4?

The best way is to simply remove the IPv4 record, it would still work with both, but only arrive at your origin over IPv6.

1 Like

Would I be able to get the IPV4 address if any?

The client’s? Not sure if they rewrite it to IPv6 or they leave it as IPv4. I presume now IPv4 connections are for IPv4 clients and IPv6 for IPv6.

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