All Products
Search
Document Center

Configure failover

Last Updated: Aug 21, 2020

Scenarios

You can use Alibaba Cloud DNS to configure intelligent DNS resolution for your online website or application. This allows you to accelerate and optimize user access across carriers or geographical areas. For example, you can configure DNS records for the domain name dns-example.com based on the following table.

Host ISP line Record value TTL
www China Unicom 1.1.1.1 10 min
www Chine Mobile 2.2.2.2 10 min
www Default 3.3.3.3 10 min

The preceding configuration achieves the following results:

  • If a China Unicom user requests the domain name, 1.1.1.1 is returned.
  • If a China Mobile user requests the domain name, 2.2.2.2 is returned.
  • If a user of any other carriers requests the domain name, 3.3.3.3 is returned.

What happens if the server of China Unicom (1.1.1.1) becomes faulty?

  • China Unicom users fail to access your website or application by using the domain name.
  • Users of China Mobile and other carriers are not affected.

How do I route China Unicom users to the server of another carrier after the server of China Unicom becomes faulty?

You can route China Unicom users to the server of another carrier by using Global Traffic Manager in Alibaba Cloud DNS. Global Traffic Manager performs health checks to determine whether a server is faulty. If the server of China Unicom becomes faulty, the DNS server forwards domain name requests to a backup server to implement failover.