When you register a domain name with Alibaba Cloud, the system assigns default public authoritative DNS servers to it for free. You can change these servers in the Domain Names console.
Scenarios
When you purchase a domain name, Alibaba Cloud automatically assigns default public authoritative DNS server addresses to it.
When you migrate domain name resolution from another provider to Alibaba Cloud DNS, you must change the DNS servers to the addresses assigned by Alibaba Cloud DNS.
If your Alibaba Cloud DNS instance changes, such as when you upgrade from the Free Edition to a paid edition or switch from a paid edition to the Free Edition, Alibaba Cloud DNS attempts to automatically change the DNS server addresses. If the change fails, you must manually change the DNS servers to the addresses assigned by the system.
If you are using third-party DNS servers, changing them to Alibaba Cloud DNS servers will invalidate the DNS records on the original platform. This may disrupt your websites and services. Proceed with caution. To migrate DNS records from your original provider to Alibaba Cloud DNS without affecting your services, see Smoothly migrate domain name resolution to Alibaba Cloud DNS.
Procedure
View the DNS servers assigned by Alibaba Cloud DNS.
Go to the Alibaba Cloud DNS - Authoritative Zones page. Find the target domain name and copy the addresses from the DNS Server IP Address column. If the DNS servers configured in the Domain Names console do not match the ones assigned by Alibaba Cloud DNS, the system displays Assigned NS not used.

Modify the DNS server addresses in the Domain Names console.
Go to the Domain Names console. In the domain name list, find the target domain name and click Manage in the Actions column.

In the left menu bar, click Modify DNS, and then click the Modify DNS Server button.

Enter the DNS server addresses assigned by Alibaba Cloud DNS, such as
vip1.alidns.comandvip2.alidns.com. Then, submit your changes.
Effective time
The time it takes for DNS server changes to take effect depends on the Time to Live (TTL) value of the domain's previous DNS server names cached by local DNS servers. The default TTL is typically 48 hours.