What is the way to redirect traffic using Geolocation Record DNS policy?

955    Asked by NathanWalker in AWS , Asked on Nov 4, 2019
Answered by Nathan Walker

Geolocation records route traffic to resources based on the location the DNS query originated from. Suppose there are two geolocation records. The top one has the United States listed as the location and web1-west is the target. The record directly underneath has the US state of South Carolina listed as the location and web1-east is the target. DNS server could be on the client's local network or DNS server is some public DNS server, like Google or open DNS, and it's not local to the client. Now, let's say that the client tries to browse to www.example.host. It's going to reach out to its DNS server to resolve that address and the DNS server will use recursion to get to the Route 53 name service and ask for the record for www.example.host. If the DNS server is in South Carolina, then Route 53 will return the geolocation record that has South Carolina listed in its location. That record points to web1-east, so the client connects to that instance.image

image


Your Answer

Interviews

Parent Categories