My question is about using multiple IP addresses in DNS settings. My context is that I have two servers for the same domain - one in EU and another in USA. If I add the IP addresses of both servers in Cloudflare DNS settings, does it automagically direct user requests to the closest server?
On this support page I read that it will automatically round robin between the different IP addresses. Is there a way to change the setting so that it just sends it to the nearest (using any way it likes to measure “nearness”) server? Obviously I can only afford the free services at this time, but I am hoping that since Cloudflare DNS uses Anycast, this should be possible…
Cloudflare’s anycast is only for anycasting to the nearest CF datacenter, so when you add multiple A records, it will only round-robin them, not direct them to the “closest” datacenter.