What Are Impacts If No Subdomain Name and TXT Record Are Configured?
If the domain name uses a proxy product, such as advanced anti-DDoS, but the subdomain name and TXT record are not configured on the corresponding DNS platform, WAF cannot identify the domain name ownership.
To prevent other users from configuring your domain name on WAF before you add it to WAF (this will interfere with WAF protection for your domain name), add the subdomain name and TXT record on your DNS management platform. This helps WAF identify real domain name ownership.
How to Determine
Your 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 domain name www.example.com as an example to describe how to configure the DNS service on Huawei Cloud.
- Obtain the values of Subdomain Name and TXT Record.
- Log in to the management console.
- Click in the upper left corner of the management console and choose . In the navigation pane, choose Website Settings.
- In the Domain Name column, click domain name www.example.com to go to the Basic Information page.
- On the top of the page, click next to Inaccessible. In the dialog box displayed, copy the subdomain name and TXT record.
- Add a WAF subdomain name and TXT record at your DNS provider.
- In the Operation column of domain name www.example.com, click Add Record Set. Figure 1 shows the example.
- In the upper left corner, click Add Record Set to go to the Add Record Set page.
- Name: Paste the TXT record copied in 1.d 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.d and paste them in the text box, for example, "37c795804124dd4a0dd88defff8941f".
- Keep other settings unchanged.
Figure 2 Adding a record set
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.