All Products
Search
Document Center

Add Record

Last Updated: Nov 12, 2018

To associate a private zone with a VPC, you must add a private zone and configure records for the zone. After you associate the private zone with a VPC, private zone records override the public network records for queries raised within the VPC.

Procedure

To add records for a private zone, follow these steps.

  1. Log on to the Alibaba Cloud DNS console. In the left-side navigation pane, click Zone list under PrivateZone.

  2. Find the specified private zone, and click the zone name to enter the Resolution Settings page.

  3. On the Resolution Settings page, click Add Record.
    add

For more information about the record types supported by PrivateZone and how to use the records, see Record types supported by PrivateZone.

Examples

A record

To add an A record for a private zone, see the following configurations.
A

CNAME record

To add a CNAME record for a private zone, see the following configurations.
cnameNote: You cannot add two or more CNAME records with the same Resource Records. Nor can other record types with the same Resource Records be added as the CNAME record.

MX record

To add an MX record for a private zone, see the following configurations.
MX

TXT record

To add a TXT record, see the following configurations.
txt

PTR record

To add a PTR record, you must first set up a reverse lookup zone. For more information about how to set up a reverse lookup zone, see reverse lookup and PTR records.