All Products
Search
Document Center

Alibaba Cloud DNS:Line-based smart DNS resolution

Last Updated:Jun 22, 2026

Private Zone supports line-based smart DNS resolution, returning preset DNS records based on the query source. Supported line types: Default Line, Alibaba Cloud Line, and Custom ACLs.

Supported line types

1. Default line

Equivalent to a global line. Use this as a fallback to ensure DNS records are returned when no other smart line matches.

2. Alibaba Cloud line

Supports region-level and zone-level granularity.

Important

Important: When you select a zone-level line (such as Singapore - Zone C), the resolution strategy takes effect only for DNS queries from that specific zone. If you need the resolution strategy to cover all instances within a region, select the region-level line (such as Singapore) instead of a specific zone.

Line categorization

Region line

Granular zone line

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

Public Cloud

China (Chengdu)

Zone A, Zone B

Public Cloud

China (Guangzhou)

Zone A, Zone B

Public Cloud

China (Hangzhou)

Zone B, Zone C, Zone D, Zone E, Zone F, Zone G, Zone H, Zone I, Zone J, Zone K

Public Cloud

China (Heyuan)

Zone A, Zone B

Public Cloud

China (Hohhot)

Zone A, Zone B

Public Cloud

China (Nantong)

Zone A, Zone B

Public Cloud

China (Qingdao)

Zone B

Public Cloud

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

Public Cloud

China (Shenzhen)

Zone A, Zone B, Zone C, Zone D, Zone E, Zone F, Zone G

Public Cloud

China (Ulanqab)

Zone A, Zone B, Zone C

Public Cloud

China (Zhangjiakou)

Zone A, Zone B, Zone C, Zone D

Public Cloud

US (Silicon Valley)

Zone A, Zone B

Public Cloud

US (Virginia)

Zone A, Zone B

Public Cloud

Japan (Tokyo)

Zone A, Zone B, Zone C

Public Cloud

Singapore

Zone A, Zone B, Zone C

Public Cloud

Malaysia (Kuala Lumpur)

Zone A, Zone B

Public Cloud

Indonesia (Jakarta)

Zone A, Zone B, Zone C

Public Cloud

China (Hong Kong)

Zone B, Zone C, Zone D

Public Cloud

Germany (Frankfurt)

Zone A, Zone B, Zone C

Public Cloud

UK (London)

Zone A, Zone B

Public Cloud

Middle East 1 (Dubai)

Zone A

Public Cloud

South Korea (Seoul)

Zone A

Public Cloud

Philippines (Manila)

Zone A

Public Cloud

Thailand (Bangkok)

Zone A

Public Cloud

SAU (Riyadh - Partner Region)

Zone A, Zone B

Public Cloud

China (Fuzhou - Local Region - Decommissioning)

Zone A

Public Cloud

China (Nanjing - Local Region - Decommissioning)

Zone A

Public Cloud

China (Wuhan - Local Region)

Zone A

3. Custom ACLs

Returns a specific IP address for DNS queries originating from a designated IP range.

  1. Go to Alibaba Cloud DNS - Custom Lines.

  2. Click Add ACL.

  3. Create a custom line with the following constraints:

    Limit

    Description

    ACL Name

    1–20 characters. Supports Chinese characters, letters, digits, hyphens (-), and underscores (_).

    ACL Type

    Select Intranet.

    IP Address Range

    Formats:

    • A single IP address, such as 192.168.0.1.

    • A CIDR block, such as 192.168.0.0/24.

    • An IP address range, such as 192.169.0.1-192.168.0.100.

    Limits:

    • IP address ranges cannot overlap.

    • Maximum: 100.

    image

Set up smart lines

  1. Go to Alibaba Cloud DNS - PrivateZone.

  2. Click Authoritative Zone > User Defined Zones. Find the target domain and click Settings in the Actions column.

  3. On the Settings page, click Add Record.

  4. Fill in the record details. For Query Source, select a smart line.

    Alibaba Cloud line

    image

    Custom line

    image