This topic describes how to manage domain names in Alibaba Cloud DNS. You can add and delete external domain names, retrieve domain names that are added by other accounts, and transfer or reclaim DNS records for domain names that are registered with Alibaba Cloud.
Add a domain name
You do not need to add domain names that are registered with Alibaba Cloud. After you register a domain name, you can configure its DNS records directly in the Alibaba Cloud DNS console.
To use Alibaba Cloud DNS for an external domain name or a subdomain, you must add the primary domain name or subdomain to the Alibaba Cloud DNS console to enable the DNS resolution service.
This section describes how to add an external primary domain name in the Alibaba Cloud DNS console. For more information about how to add a subdomain, see Subdomain management.
Retrieve a domain name
Domain name retrieval is for external domain names. When you try to Add a Domain Name in the Alibaba Cloud DNS console, you may receive a message that the domain name has already been added by another account. If you are the registrant, you can use the domain name retrieval feature to add the domain name to your current account.
When you retrieve a domain name to a new account, its previous DNS records are deleted.
Delete a domain name
In the Alibaba Cloud DNS console, you can delete external domain names. When you delete a domain name, its DNS records are also deleted. You cannot delete domain names that are registered with Alibaba Cloud.
Inactive domain name cleanup mechanism
Alibaba Cloud DNS - Public Zone has an inactive domain name cleanup mechanism. DNS data for inactive domain names is deleted after 30 days. This mechanism applies only to external domain names. Domain names registered with Alibaba Cloud and their independently hosted subdomains are never considered inactive and are not cleaned up, regardless of whether they use the Free Edition of DNS.
Rules for determining inactive domain names:
The domain name is an external domain name that uses the Free Edition of DNS, and its NS records at the domain name registrar are not changed to the DNS server addresses assigned by Alibaba Cloud DNS.
The domain name is an independently hosted subdomain of an external domain name that uses the Free Edition of DNS, and its NS records are not configured on the primary domain's DNS to point to the DNS server addresses assigned by Alibaba Cloud DNS.
Transfer DNS records to another account
You can transfer the DNS records of a domain name registered with Alibaba Cloud from your account to another Alibaba Cloud account. After the transfer, the original account can reclaim the management permissions and all DNS records. For more information, see Reclaim DNS records.
Usage rules
You cannot transfer domain names that are attached to a paid Alibaba Cloud DNS instance. You can transfer domain names that use the Free Edition of DNS. To transfer a domain name that is attached to a paid instance, see Scenario 2: The domain name uses a paid edition of DNS.
You cannot transfer a domain name that is the suffix of a CNAME Access Domain Name in a Global Traffic Manager (GTM) instance. This is because a GTM CNAME Access Domain Name must be associated with a public domain name within the same account. For more information, see Access domain name.
This feature is available only for domain names registered under your account. It is not available for domain names registered under other accounts or for external domain names.
After you transfer domain names to another account in a batch, the new account obtains permissions to manage the DNS resolution. These permissions include DNS record management but not domain name registration management.
This feature is available only for Alibaba Cloud accounts, not for RAM users.
You can transfer domain names only between accounts on the China site (aliyun.com) or between accounts on the international site (alibabacloud.com). Cross-site transfers are not supported. A cross-site transfer is a transfer between a China site account and an international site account.
Procedure
Log on to Alibaba Cloud DNS - Public Zone.
Click the Batch Operations button.
On the Batch Operations page, on the Batch Manage Domain Names tab, enter the domain names to transfer and click Batch Transfer To Other Accounts.

In the Domain Name Resolution Transfer Identity Verification dialog box, enter the Verification Code from the text message or email, the Other Party's Logon Account, and the Other Party's Account ID. Then, click OK.
To query the batch task results, click Download Details Log on the Batch Operation Records tab.
Reclaim DNS records
DNS record reclamation is a feature available for domain names registered with Alibaba Cloud. If the DNS records of a domain name have been transferred to another Alibaba Cloud account, you can use the Add Zone feature in the domain name's original account to reclaim the DNS records and their management permissions. For example, if the DNS records for a domain name in Account A are transferred to Account B using the Batch transfer DNS records to another account feature, you can then use the Add Zone feature in Account A to reclaim the DNS records from Account B.
FAQ and References
For more information about issues related to domain names, see Domain name FAQ.