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||220.127.116.11||10 min|
|www||Chine Mobile||18.104.22.168||10 min|
The preceding configuration achieves the following results:
- If a China Unicom user requests the domain name, 22.214.171.124 is returned.
- If a China Mobile user requests the domain name, 126.96.36.199 is returned.
- If a user of any other carriers requests the domain name, 188.8.131.52 is returned.
What happens if the server of China Unicom (184.108.40.206) 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.
- For more information about Global Traffic Manager, see Global Traffic Manager.