All Products
Search
Document Center

Intelligent DNS resolution

Last Updated: May 11, 2022

Overview

In a traditional DNS resolution, the DNS server randomly selects one of the IP addresses and returns the IP address to the website visitor regardless of the source of the visitor. In an intelligent DNS resolution, the DNS server returns an IP address based on the source of the visitor. The visitor can obtain the user-specified IP address when visiting the website. Intelligent DNS resolution reduces latency and improves the website access speed.

1. Example of traditional DNS resolution

For example, the domain name www.dns-example.top is hosted by three DNS servers. The IP addresses of these DNS servers are provided by China Unicom, China Mobile, and China Telecom. You can configure DNS resolution as follows:

  • Point the domain name to the IP address provided by China Unicom: 192.0.2.0

  • Point the domain name to the IP address provided by China Mobile: 192.0.2.1

  • Point the domain name to the IP address provided by China Telecom: 192.0.2.2

Effect of the configurations:

The three addresses 192.0.2.0, 192.0.2.1, and 192.0.2.2 are all returned to the visitor’s local DNS server. The local DNS server returns one of the IP addresses to the visitor randomly or based on preset priority. Traditional DNS resolution may cause cross-network access.

2. Example of intelligent DNS resolution

For example, the domain name www.dns-example.com is hosted by three DNS servers. The IP addresses of these DNS servers are provided by China Unicom, China Mobile, and China Telecom. You can configure DNS resolution as follows:

  • Set ISP Line to Default and point the domain name to the IP address provided by China Unicom: 192.0.2.0

  • Set ISP Line to China Mobile and point the domain name to the IP address provided by China Mobile: 192.0.2.1

  • Set ISP Line to China Telecom and point the domain name to the IP address provided by China Telecom: 192.0.2.2

Effect of the configurations:

Alibaba Cloud DNS returns results based on the source of the visitor. If the ISP of the visitor is China Mobile, Alibaba Cloud DNS returns 192.0.2.1. If the ISP of the visitor is China Telecom, Alibaba Cloud DNS returns 192.0.2.2. If the visitor is from other sources, Alibaba Cloud DNS returns 192.0.2.0.

Procedure

Log on to the Alibaba Cloud DNS console.

1 . In the left-side navigation pane, click Manage DNS. On the Domains tab, click a domain name to open the DNS Settings page.修改记录01

3 . On the DNS Settings page, click Add Record.添加记录

Example:

Your DNS servers are hosted by China Telecom, China Unicom, and China Mobile. When you add a DNS record for your domain name, you can configure the ISP line as follows:

  • Set ISP Line to Default and point the domain name to the IP address provided by China Unicom: 192.0.2.0

  • Set ISP Line to China Mobile and point the domain name to the IP address provided by China Mobile: 192.0.2.1

  • Set ISP Line to China Telecom and point the domain name to the IP address provided by China Telecom: 192.0.2.2

iSP LINE

Effect of the configurations:

Alibaba Cloud DNS returns results based on the source of the visitor.

  • If the ISP of the visitor is China Telecom Alibaba Cloud DNS returns 192.0.2.2.

  • If the ISP of the visitor is China Mobile, Alibaba Cloud DNS returns 192.0.2.1.

  • If the ISP of the visitor is neither China Telecom or China Mobile, Alibaba Cloud DNS returns 192.0.2.0.

By configuring the ISP line, you can ensure that Alibaba Cloud DNS returns specified IP addresses based on different visitor sources.

Supported lines

The following table lists the resolution lines that Alibaba Cloud DNS can use to identify requests:

Line name

sublevel circuit

Aliyun

China(Hangzhou), China(Shanghai), China(Qingdao), China(Beijing), China(Zhangjiakou), China(Hohhot),

China(Ulanqab), China(Shenzhen), China(Heyuan),

China(Guangzhou), China(Chengdu), China(Hong Kong), Singapore, Australia(Sydney), Malaysia(Kuala Lumpur), Indonesia(Jakarta), Japan(Tokyo), Germany(Frankfurt), UK(London), US(Silicon Valley), US(Virginia), India(Mumbai), UAE(Dubai)

Line name

Province

Default

Global

China Unicom, China Telecom, China Mobile, and China Edu

Shandong, Jiangsu, Anhui, Zhejiang, Fujian, Shanghai,

Guangdong, Guangxi, Hainan,

Hubei, Hunan, Henan, Jiangxi,

Beijing, Tianjin, Hebei, Shanxi, Inner Mongolia,

Ningxia, Xinjiang, Qinghai, Shaanxi, Gansu,

Sichuan, Yunnan, Guizhou, Tibet, Chongqing,

Liaoning, Jilin, and Heilongjiang

China Dr. Peng

Anhui, Beijing, Chongqing, Fujian, Gansu,

Guangdong, Guangxi, Guizhou, Hainan, Hebei,

Heilongjiang, Henan, Hubei, Hunan, Jiangsu,

Jiangxi, Jilin, Liaoning, Inner Mongolia, Ningxia,

Qinghai, Shaanxi, Shandong, Shanghai, Shanxi,

Sichuan, Tianjin, Xinjiang, Tibet, Yunnan, and Zhejiang

China TV Network

Heilongjiang, Shandong, Inner Mongolia, Ningxia, Hunan,

Guizhou, Qinghai, Liaoning, Henan, Jilin,

Gansu, Hebei, Jiangsu, Anhui, Fujian,

Hainan, Hubei, Shaanxi, Shanghai, Shaanxi,

Sichuan, Tianjin, Tibet, Xinjiang, Zhejiang,

Beijing, Chongqing, Guangdong, Guangxi, Jiangxi, and Yunnan

Line name

Continent

Country or region

Outside mainland China

N/A

N/A

Outside mainland China

Oceania

Australia, New Zealand, Fiji, and Palau

Outside mainland China

Asia

United Arab Emirates, China(Hong Kong), Indonesia, India,

Japan, Cambodia, Korea, Laos,

Myanmar, China(Macau), Maldives, Malaysia,

Nepal, Philippines, Saudi Arabia, Singapore,

Thailand, China(Taiwan), Vietnam, Mongolia,

Pakistan, Kazakhstan, Uzbekistan,

Turkey,Iraq, Israel,

Kuwait, Lebanon, and Qatar

Outside mainland China

Europe

Austria, Switzerland, Germany, Spain,

France, United Kingdom, Italy, Netherlands,

Russia, Sweden, Czech Republic, Belgium,

Ireland, Denmark, Finland, Iceland,

Hungary, Poland, Slovakia, Belarus,

Lithuania, Ukraine, Bulgaria, Croatia,

Portugal, Romania, and Slovenia

Outside mainland China

North America

Canada, Mexico, and USA

Outside mainland China

South America

Argentina, Brazil, Colombia, Venezuela,

Ecuador, Peru, Bolivia, Chile,

Paraguay, and Uruguay

Outside mainland China

Africa

South Africa, Egypt, Nigeria, Angola,

Ghana, Cote d’Ivoire, Kenya, Seychelles,

Algeria, Cameroon, Morocco, Sudan, South Sudan, and Senegal

Line name

Region

Province

Default

N/A

N/A

Mainland China

China East

Shandong, Jiangsu, Anhui, Jiangxi, Zhejiang, Fujian, and Shanghai

Mainland China

China South

Guangdong, Guangxi, and Hainan

Mainland China

Central China

Hubei, Hunan, and Henan

Mainland China

China North

Beijing, Tianjin, Hebei, Shanxi, and Inner Mongolia

Mainland China

China Northwest

Ningxia, Xinjiang, Qinghai, Shaanxi, and Gansu

Mainland China

China Southwest

Sichuan, Yunnan, Guizhou, Tibet, and Chongqing

Mainland China

China Northeast

Liaoning, Jilin, and Heilongjiang

Edition comparison

Different versions of Alibaba Cloud DNS provide different resolution lines, please refer to the following:

Feature/Edition

Free Edition

Personal Edition

Enterprise Standard Edition

Enterprise Ultimate Edition

Intelligent DNS resolution

China Unicom,

China Telecom,

China Mobile, CERNET,

and outside China

China Unicom, China Telecom,

China Mobile,

Dr. Peng Telecom & Media Group,

CERNET,

China Broadcasting Network,

and outside China

Aliyun, Provincial branches of China Unicom,

China Telecom, China Mobile, Dr. Peng Telecom & Media Group, CERNET,

and China Broadcasting Network,

outside China (continents, countries, or regions)

All fixed intelligent DNS resolution

lines included and custom IP range

resolution supported