Can I resolve DNS based on country?


With cloudflare, can I resolve a domain to different servers based on the incoming IP?
For example, if the user comes from US, resolve to server A, if the user comes from Russia, resolve to server B ?



Load Balancing with Geo Steering will maintain the hostname, but only goes by regions, not countries:

If you want to steer based on countries, you’d have to use different URLs with Workers or Transform:

1 Like

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