Help Center> Web Application Firewall> FAQ> Website Domain Name Access Configuration> Domain Name Resolution> What Are the Impacts If a Subdomain Name and TXT Record Are Not Configured?

What Are the Impacts If a Subdomain Name and TXT Record Are Not Configured?

After you add the domain name of the proxy, such as Advanced Anti-DDoS, in WAF, if the subdomain name and TXT record are not configured at your DNS provider and other users configure the same domain name in WAF, your domain name protection will be interfered.

How to Determine

The target domain name is in gray in the domain name list, and the working mode is Suspended and cannot be switched to Enabled. If this symptom occurs, your domain name has been occupied by another user.

Solution

Go to your DNS provider, add a subdomain name, and configure a TXT record for the subdomain name. The following uses the target domain name www.example.com as an example to describe how to configure the DNS service on HUAWEI CLOUD.

  1. Obtain the values of Subdomain Name and TXT Record.

    1. Log in to the management console.
    2. Go to the website settings page, as shown in Figure 1.
      Figure 1 Accessing to the Website Settings page
    3. In the Domain Name column, click the target domain name www.example.com to go to the Basic Information page.
    4. Locate the Access Status row and click How to Access. Figure 2 shows an example.
      Figure 2 Domain name access information

      If a domain name that uses a proxy, such as Advanced Anti-DDoS (AAD), has been added to WAF, the value of Proxy Configured is Yes.

    5. In the displayed dialog box, click to copy the value of TXT Record. Figure 3 shows an example.
      Figure 3 Copying TXT Record

  2. Add a WAF subdomain name and TXT record at your DNS provider.

    1. In the Operation column of the target domain name www.example.com, click Add Record Set. Figure 4 shows the example.
      Figure 4 DNS page
    2. In the upper right corner of the displayed page, click Add Record Set to go to the Add Record Set page. Figure 5 shows an example.
      • Name: Paste the TXT record copied in 1.e to the text box.
      • Type: Select TXT – Specify text records.
      • Alias: Select No.
      • Line: Select Default.
      • TTL (s): The recommended value is 5 min. A larger TTL value will make it slower for synchronization and update of DNS records.
      • Value: Add quotation marks to the TXT record copied from 1.e and paste them in the text box, for example, "37c795804124dd4a0dd88defff8941f".
      • Keep other settings unchanged.
      Figure 5 Adding a record set
    3. Click OK.