Only proxy ipv6

I have a service with a fixed ipv4 address. CF currently proxies it. The proxy provides both IPv4 and IPv6 addresses. (Great for most uses.)

For one of my services, I collect statistics about whether the client is ipv4-only ipv6-only, dual prefer ipv4, or dial prefer ipv6. (It tells me how much effort I need to put in for IPv6 support. Right now, about 30% of my users even have IPv6 enabled, and 40% of them prefer IPv4 over IPv6.)

How can I configure CF so that "ipv4.mydomain.com" should only advertise IPv4 addresses, not IPv6. Similarly, "ipv6.myomain.com" should only advertise IPv6, not IPv4. In both cases, the back-end server (target of the proxy) is IPv4.
Was this page helpful?