All Products
Search
Document Center

Alibaba Cloud DNS:Line-based intelligent DNS resolution

Last Updated:Apr 02, 2024

Overview

Built-in authoritative acceleration zones support line-based intelligent Domain Name System (DNS) resolution, which returns preset DNS records based on different DNS request sources. Private DNS supports the following lines: default line, Alibaba Cloud lines, and custom lines.

Default line: The default line is equivalent to a global line. We recommend that you configure a default line to ensure that a DNS record can be returned if no intelligent line is matched.

Alibaba Cloud lines: indicate that DNS requests are originated from Alibaba Cloud, including Alibaba Cloud public cloud, Alibaba Finance Cloud, and Alibaba Gov Cloud.

Custom lines: You can configure custom lines so that the Private DNS service can return specific IP addresses for DNS requests that are originated from a specific CIDR block.

Only the built-in authoritative acceleration zone supports custom lines.

Alibaba Cloud lines

DNS request lines

Category

region line

Zone line

Alibaba Cloud public cloud

China (Beijing)

Zone A

Zone B

Zone C

Zone D

Zone E

Zone F

Zone G

Zone H

Zone I

Zone J

Zone K

Zone L

China (Chengdu)

Zone A

Zone B

China (Guangzhou)

Zone A

Zone B

China (Hangzhou)

Zone B

Zone C

Zone D

Zone E

Zone F

Zone G

Zone H

Zone I

Zone J

Zone K

China (Heyuan)

Zone A

Zone B

China (Hohhot)

Zone A

Zone B

China (Nantong)

Zone A

Zone B

China (Qingdao)

Zone B

Zone C

China (Shanghai)

Zone A

Zone B

Zone C

Zone D

Zone E

Zone F

Zone G

Zone H

Zone I

Zone J

Zone K

Zone L

Zone M

Zone N

Zone Z

China (Shenzhen)

Zone A

Zone B

Zone C

Zone D

Zone E

Zone F

Zone G

China (Ulanqab)

Zone A

Zone B

Zone C

China (Zhangjiakou)

Zone A

Zone B

Zone C

Zone D

US (Silicon Valley)

Zone A

Zone B

US (Virginia)

Zone A

Zone B

Japan (Tokyo)

Zone A

Zone B

Zone C

Singapore

Zone A

Zone B

Zone C

Malaysia (Kuala Lumpur)

Zone A

Zone B

Indonesia (Jakarta)

Zone A

Zone B

Zone C

China (Hong Kong)

Zone B

Zone C

Zone D

Germany (Frankfurt)

Zone A

Zone B

Zone C

UK (London)

Zone A

Zone B

UAE (Dubai)

Zone A

South Korea (Seoul)

Zone A

Philippines (Manila)

Zone A

Thailand (Bangkok)

Zone A

SAU (Riyadh - Partner Region)

Zone A

Zone B

China (Fuzhou)

Local Region Zone A

China (Nanjing)

Local Region Zone A

China (Wuhan)

Local Region Zone A

Alibaba Finance Cloud

China (North 2 Finance)

(Preview) Zone K

(Preview) Zone L

(Preview) Zone F

(Preview) Zone Z

China (East 2 Finance)

Zone A

Zone B

Zone F

Zone Z

Zone O

China (South 1 Finance)

Zone A

Zone B

Zone E

Alibaba Gov Cloud

China (North 2 Ali Gov 1)

Zone A

Zone B

Zone C

Zone D

Zone E

Procedure

  1. Log on to the Alibaba Cloud DNS console.

  2. In the left-side navigation pane, click Private DNS (PrivateZone). On the page that appears, click Configuration Mode in the upper-right corner, click the Built-in Authoritative Module tab, and then click the User Defined Zones tab.

  3. On the User Defined Zones tab, find the desired zone and click Resource Records Settings in the Actions column.

  4. On the Resource Records Settings page, click Add Record. In the Add Record panel, click Form Editor Mode or Visual Editor Mode. For this example, click Form Editor Mode. Set Record Type, Hostname, Record Value, and TTL. Choose Aliyun > Public Cloud > China (Beijing) for Request Line. Then, click OK. image.png

Custom lines

Limits

Item

Limit

Format of line names

A line name must be 1 to 20 characters in length, and can contain letters, digits, hyphens, and underscores.

Format of IP address ranges

An IP address, for example, 192.168.0.1. This format is applicable only if one IP address is configured.

A range of IP addresses defined by a subnet mask, for example, 192.168.0.0/24.

A CIDR block, for example, 192.168.0.1 - 192.168.0.100.

Number of CIDR blocks

A maximum of 100 CIDR blocks can be configured.

Number of custom lines

You can configure up to 100 custom lines within an account.

Note

The CIDR blocks for custom lines within an account cannot overlap.

Procedure

  1. Log on to the Alibaba Cloud DNS console.

  2. In the left-side navigation pane, click Private DNS (PrivateZone). On the page that appears, click Configuration Mode in the upper-right corner, click the Built-in Authoritative Module tab, and then click the User Defined Zones tab.

  3. On the User Defined Zones tab, click User-defined Request Lines.

  4. In the User-defined Request Lines panel, click Add Line. In the Add Line panel, specify Line Name and IP Address Range, and then click OK.

    image.png

  5. On the User Defined Zones tab, find the desired zone and click Resource Records Settings in the Actions column.

  6. On the Resource Records Settings page, click Add Record. In the Add Record panel, click Form Editor Mode or Visual Editor Mode. For this example, click Form Editor Mode. Set Record Type, Hostname, Record Value, and TTL. Then, select the custom line that you created for Request Line and click OK. image.png