Add, modify, or delete DNS records

Updated at:

Record types supported by private zone

Record type

Value

Hostname format

A

IPv4 address in dotted decimal format.

String containing uppercase and lowercase characters, numbers, @, _, and -.

AAAA

IPv6 address.

String containing uppercase and lowercase characters, numbers, @, _, and -.

MX

Domain name of the mail server. You can set priorities for different mail servers that range from 1 to 99 (maximum 50 for the console and 99 for APIs). The lower the value, the higher the priority.

String containing uppercase and lowercase characters, numbers, @, _, and -.

TXT

String less than 512 characters in length. Valid characters include uppercase and lowercase letters, numbers, spaces, and the following characters: - _ ~ = : ; / . @ + ^ ! ".

String containing uppercase and lowercase characters, numbers, @, _, and -.

CNAME

Another domain name.

String containing uppercase and lowercase characters, numbers, @, _, and -.

PTR

A domain name.

Numbers between 0 and 255.

SRV

Format: Priority Weight Port Target. Each item is separated by a space.

Example: 0 5 5060 sipserver.example.com

Format: Service name.Protocol type.

Example: _sip._tcp

Add DNS records

After adding a private zone name, configure its DNS records before you set its resolution scope. Within this resolution scope, the resolution records for the domain name overwrite its public zone records.

Note
  • The steps for configuring regular zone are the same as those for acceleration zones. However, for acceleration zones, you can customize resolution ACLs and set weights for A, AAAA, and CNAME records.

  • Before adding PTR records, you need to configure a reverse lookup zone. For more information, see Reverse lookup and PTR records

Modify DNS records

Modify DNS records

Method 1

Supports modifying the record type, query source, record values, TTL, and weight (acceleration zone only). Modifying hostname is not supported.

  1. Go to Alibaba Cloud DNS - Private Zone.

  2. Click the Authoritative Zone tab, and then click User Defined Zones.

  3. In the row for the target domain, click Settings.

  4. On the Settings page, find the target DNS record and click Edit in the Actions column.

  5. Modify the DNS record by referencing Add method, and then submit your changes.

Method 2

Supports modifying the hostname, record type, query source, record value, TTL, and weight (acceleration zone only).

  1. Go to Alibaba Cloud DNS - Private Zone.

  2. Click the Authoritative Zone tab, and then click User Defined Zones.

  3. In the row for the target domain, click Settings.

  4. On the Settings page, click the edit icon in the Hostname column of the target DNS record.

  5. In the dialog box, make your changes.

Enable or disable DNS records

  1. Go to Alibaba Cloud DNS - Private Zone.

  2. Click Authoritative Zone > User Defined Zones.

  3. In the row for the target domain, click Settings.

  4. On the Settings page, click the toggle in the Status column to enable or disable the DNS record.