General rules
Type | Rules |
---|---|
Delete a subdomain | If you delete a subdomain, DNS records of the subdomain are deleted and cannot be restored. |
Bind a subdomain to Alibaba Cloud DNS | You can bind a subdomain to the paid edition of Alibaba Cloud DNS. |
Limits on editions | You must use either the free edition or paid edition of Alibaba Cloud DNS for both the primary domain and the subdomain. |
Change the owner of a domain name | If you change the owner of a primary domain, DNS records of the primary domain are transferred to the new account, but DNS records of the subdomain are not transferred. |
Transfer DNS records to another account | You can transfer DNS records of a primary domain to another account, but you cannot transfer DNS records of a subdomain to another account. If you transfer DNS records of a primary domain to another account, DNS records of the subdomain are not transferred. |
Limits on DNS service providers and accounts | The primary domain and subdomain can be hosted by different DNS service providers. The primary domain and subdomain can be owned by the same Alibaba Cloud account or different Alibaba Cloud accounts. |
Verify domain ownership (verify the TXT record) | In the Verify Domain Name Owner dialog box, before you click Verify to verify the TXT record, the value of the TXT record is valid for one day. |
Limits on subdomain levels of the primary domain and subdomain | The free edition of Alibaba Cloud DNS supports five levels of subdomains. For example, if 1.aliyun.com is a subdomain, the host record can be 5.4.3.2.1.aliyun.com. The paid edition of Alibaba Cloud DNS supports ten levels of subdomains. |
Add a subdomain when both the subdomain and the primary domain are hosted by Alibaba Cloud DNS
After you add a subdomain, subdomain names in the primary domain are automatically synchronized to this subdomain. The following examples describe how subdomain names in the primary domain and DNS records of the subdomain are automatically synchronized.
Example 1
The primary domain is a.com and the subdomain is c.b.a.com. These domains are hosted by different service providers. The following table lists the subdomain settings of the primary domain.
Type | Host record | ISP line | Record value |
---|---|---|---|
A | c.b | Default | 1.1.1.1 |
The following table lists DNS records of the subdomain (c.b.a.com) that are synchronized from the primary domain.
Type | Host record | ISP line | Record value |
---|---|---|---|
A | @ | Default | 1.1.1.1 |
Example 2
The primary domain is a.com and the subdomain is c.b.a.com. These domains are hosted by different service providers. The following table lists the subdomain settings of the primary domain.
Type | Host record | ISP line | Record value |
---|---|---|---|
A | d.c.b | Default | 1.1.1.1 |
A | *.c.b | Default | 1.1.1.1 |
The following table lists DNS records of the subdomain (c.b.a.com) that are synchronized from the primary domain.
Type | Host record | ISP line | Record value |
---|---|---|---|
A | d | Default | 1.1.1.1 |
A | * | Default | 1.1.1.1 |
Example 3 (General DNS scenario)
The primary domain is a.com and the subdomain is c.b.a.com. These domains are hosted by different service providers. The following table lists the subdomain settings of the primary domain.
Type | Host record | ISP line | Record value |
---|---|---|---|
A | *.b | Default | 1.1.1.1 |
The following table lists DNS records of the subdomain (c.b.a.com) that are synchronized from the primary domain.
Type | Host record | ISP line | Record value |
---|---|---|---|
A | * | Default | 1.1.1.1 |
Example 4 (General DNS scenario)
The primary domain is a.com and the subdomain is c.b.a.com. These domains are hosted by different service providers. The following table lists the subdomain settings of the primary domain.
Type | Host record | ISP line | Record value |
---|---|---|---|
A | *.b | Default | 1.1.1.1 |
A | * | Default | 2.2.2.2 |
The following table lists DNS records of the subdomain (c.b.a.com) that are synchronized from the primary domain.
Type | Host record | ISP line | Record value |
---|---|---|---|
A | * | Default | 1.1.1.1 |
Add a subdomain when the primary domain is not hosted by Alibaba Cloud DNS
If the primary domain is not hosted by Alibaba Cloud DNS, it is not displayed in the domain name list in the Alibaba Cloud DNS console. In this case, when you add a subdomain, you need to add DNS records to the subdomain. The following examples describe how to add DNS records to a subdomain when the subdomain is already part of the primary domain.
Example 1
The primary domain is a.com and the subdomain is c.b.a.com. These domains are hosted by different service providers. The following table lists the subdomain settings of the primary domain.
Type | Host record | ISP line | Record value |
---|---|---|---|
A | c.b | Default | 1.1.1.1 |
The following table lists DNS records that you need to add to the subdomain (c.b.a.com).
Type | Host record | ISP line | Record value |
---|---|---|---|
A | @ | Default | 1.1.1.1 |
Example 2
The primary domain is a.com and the subdomain is c.b.a.com. These domains are hosted by different service providers. The following table lists the subdomain settings of the primary domain.
Type | Host record | ISP line | Record value |
---|---|---|---|
A | d.c.b | Default | 1.1.1.1 |
A | *.c.b | Default | 2.2.2.2 |
The following table lists DNS records that you need to add to the subdomain (c.b.a.com).
Type | Host record | ISP line | Record value |
---|---|---|---|
A | d | Default | 1.1.1.1 |
A | * | Default | 1.1.1.1 |
Example 3 (General DNS scenario)
The primary domain is a.com and the subdomain is c.b.a.com. These domains are hosted by different service providers. The following table lists the subdomain settings of the primary domain.
Type | Host record | ISP line | Record value |
---|---|---|---|
A | *.b | Default | 1.1.1.1 |
The following table lists DNS records that you need to add to the subdomain (c.b.a.com).
Type | Host record | ISP line | Record value |
---|---|---|---|
A | * | Default | 1.1.1.1 |
Example 4 (General DNS scenario)
The primary domain is a.com and the subdomain is c.b.a.com. These domains are hosted by different service providers. The following table lists the subdomain settings of the primary domain.
Type | Host record | ISP line | Record value |
---|---|---|---|
A | *.b | Default | 1.1.1.1 |
A | * | Default | 2.2.2.2 |
The following table lists DNS records that you need to add to the subdomain (c.b.a.com).
Type | Host record | ISP line | Record value |
---|---|---|---|
A | * | Default | 1.1.1.1 |