4 ms·
This will show my lack of ipv6 knowledge but I’ll ask anyway. Say I have an endpoint service somewhere listening only on ipv6. Let’s take any sort of CDN out
by indigodaddy 5y ago
This will show my lack of ipv6 knowledge but I’ll ask anyway. Say I have an endpoint service somewhere listening only on ipv6.
Let’s take any sort of CDN out of the equation for simplicity. Can I use Cloudflare DNS for the service, such that anyone using ipv6 will connect directly to my service, of course— but can CF do some magic ipv4->ipv6 translation/bridge sort of thing, so that someone on ipv4-only will also be able to connect to my ipv6-only service?
I’d imagine the answer is hopefully yes and perhaps this is trivial stuff these days, but anyway I’m thinking of setting up a blog and might go ipv6 only with it..
- jon-wood 5y agoYou should be able to advertise your ipv6 endpoint in the AAAA record, going direct to the origin, while make the A records pointers to Cloudflare which can then proxy back to your v6-only origin servers.
- indigodaddy 5y agoAwesome, thanks for the answers all! Sounds simple enough!
- p1mrx 5y agoCloudflare makes a website dual-stack from the user's perspective, regardless of whether the server is IPv4-only or IPv6-only. Typically, both the A and AAAA records point to the same Cloudflare proxy, because serving IPv4 and IPv6 via different infrastructure requires a lot of care to avoid subtle brokenness.
- cortesoft 5y agoIt wouldn't be magic.... the AAAA record for DNS would point to your server, and the A record would point to cloudflare. Of course, it is up to the client, then, to decide which address to use. Not all clients default to v6 even if it is available.