Convert DNS setup

更新时间:
复制 MD 格式

ESA provides two DNS setup methods, CNAME and NS. You can switch between them based on your business scenarios by changing an existing CNAME setup to an NS setup, or by changing an NS setup to a CNAME setup, which allows for flexible configuration.

Use cases

Note

ESA supports two DNS setup methods: CNAME and NS. For more information, see DNS setup.

  • NS to CNAME conversion: If you do not want to delegate DNS resolution to the ESA proxy, switch to the CNAME access mode.

  • Convert from CNAME to NS: If you want to enhance DNS security and simplify future CNAME configurations, switch to the NS setup.

Convert from NS to CNAME

This section explains how to convert your website's DNS setup from NS to CNAME.

Important

For a website added to ESA with an NS setup, you cannot convert the DNS setup to a CNAME setup if the service location is Global or Chinese Mainland and the Proxy Status of a DNS record is DNS only. To convert the DNS setup, see What do I do if I cannot convert an NS setup to a CNAME setup?.

Step 1: Migrate DNS records and convert setup

To avoid service disruption, migrate your existing DNS records to your new DNS service provider before you start the conversion.

  1. In the ESA console, select Websites, and in the Website column, click the target website.

  2. In the left navigation pane, choose DNS > Settings.

  3. In the Convert to CNAME Setup section, click Convert.

  4. Click Download All Records and CNAMEs, and configure the DNS records with your DNS service provider based on the downloaded file.

  5. After you confirm that the DNS record migration is complete, click I Have Migrated DNS Records and Confirm to Convert.

Step 2: Verify the result

After the conversion operation is complete, you can view the conversion result in the Records feature of DNS.

  1. In the ESA console, select Websites, and in the Website column, click the target website.

  2. In the left navigation pane, choose DNS > Records.

  3. On the Records page, the current DNS setup is CNAME, and the CNAME Status is Configured. This indicates that the DNS setup was successfully switched.

    image

Convert from CNAME to NS

This section explains how to convert your website's DNS setup from CNAME to NS.

Step 1: Configure DNS records

Before you perform the conversion, you must configure the DNS records from your original DNS service provider in ESA to prevent your DNS records from being lost after the conversion.

  1. Export or copy the DNS records from your current DNS service provider.

  2. In the ESA console, select Websites, and in the Website column, click the target website.

  3. In the left navigation pane, choose DNS > Records.

  4. Add the DNS records that you obtained from your original DNS service provider to ESA. For more information, see Add DNS records.

Step 2: Convert the setup

After you configure DNS records in ESA, you can change the DNS setup.

  1. In the ESA console, select Websites, and in the Website column, click the target website.

  2. In the left navigation pane, choose DNS > Settings.

  3. In the Convert to NS Setup section, click Convert.

    image

  4. After you add all DNS records from the original DNS service provider to ESA, click I Have Configured DNS Records and Confirm to Convert.

  5. After the DNS setup is successfully switched, you need to replace your service provider's nameservers with the ESA nameservers. You can find the NS addresses that ESA assigns to you on the DNS records page.

    image

Step 3: Verify the result

After the conversion operation is complete, you can view the conversion result in the Records feature of DNS.

  1. In the ESA console, select Websites, and in the Website column, click the target website.

  2. In the left navigation pane, choose DNS > Records.

  3. The DNS setup conversion is successful when the DNS setup on the Records page is NS and the newly added DNS records are in the record list.

    image