So we have a multi tenancy application, when a user request comes in. I know in Route 53 we can route to a different server. But is it possible to determine the location ie Europe or Asia. ie like add to a header?
Ideally I'd like to pass this information forward to our application. I know that Route 53 provides the Geolocation routing policy. But can it pass this information forward?
CodePudding user response:
I know that route 53 provides the Geolocation routing policy. But can it pass this information forward?
The answer is NO.
How would a DNS server pass that information to a client? DNS servers translate domain names to IP addresses (for the most part). There are no DNS fields where the geolocation details can be returned. When you say header, you probably mean HTTP header. HTTP is at a different layer in the OSI stack. Each type of application would have a different concept of encoding geolocation.