How to Use Alibaba Cloud DNS’s Private Zone and GTM Features

upstream backend {
server original-website.aliyun.local;
}
location / {
proxy_pass http://backend;
}
  1. oversea-dns: use HK ECS public IP address
  1. china-dns: use SZ ECS public IP address
  1. Go to Access policy, select Add Access Policy in right side and configure DNS routing based on access region.
  2. oversea-policy configuration:
  3. Default Address Pool use oversea-dns we created before.
  4. Select all oversea regions in access region list.
  1. china-policy configuration:
  2. Default Address Pool use china-dns we created before.
  3. Select all Mainland China regions in access region list.
  1. Add DNS record in Alibaba Cloud DNS Service
  1. Machine in Hong Kong:
  1. Machine in China:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alibaba Cloud

Alibaba Cloud

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com