To resolve and return the IP address of the server that has the least latency to the client from the list of servers, while creating a record, it is essential to select an efficient routing policy. There are various routing policies available. Let's look at each of them:
- Simple routing policy: This is one of the most common and simple DNS routing policies. It can have a FQDN or IP address as a value. Usually, to implement this routing policy using an IP address, use an A or AAAA record (based on IPv4 or IPv6 IP, respectively) or CNAME when using an Elastic Load Balancing (ELB) endpoint as a point of contact.
- Failover routing policy: This routing policy serves traffic from one resource (primary server or location) when it is healthy and, if the primary resource is down, it will serve traffic from another resource (secondary server or location). It is very...