Configuring an Alias Record
Scenarios
You can configure an alias for a DNS record to associate the record with Huawei Cloud service resource instance. When configuring the alias, set the CNAME address of the instance to the alias domain name.
Compared with CNAME record sets, alias records support top-level domain names and do not conflict with CNAME record sets of the top-level domain names.
This topic describes how to add an alias record set.
Constraints
- You can only add alias records for public zones.
- NS, CNAME, explicit URL, and implicit URL records cannot be associated with cloud service resource instances.
- Do not configure alias records for domain names for which DNSSEC has been enabled. Otherwise, the resolution does not take effect.
- Alias records can only be configured for Web Application Firewall.
Procedure
- Go to the Public Zones page.
- Click the name of the public zone to which you want to add an alias record set.
- Click Add Record Set.
- Configure the parameters based on Table 1.
Table 1 Parameters for adding an A record set Parameter
Description
Example
Type
Type of the record set
A – Map domains to IPv4 addresses
Name
Prefix of the domain name. (You do not need to enter the domain name.)
The default value is the domain name.
www
Alias
Whether to associate the record set with a cloud resource.
Yes
Alias Target
Cloud resource to be associated with the alias record set, which includes the cloud resource name and alias target.
Cloud services supported: Web Application Firewall
Web Application Firewall and example.com
Tag
Identifier of the record set. Each tag contains a key and a value.
You can add up to 20 tags for a record set.
Tag key. The key:
- Cannot be left blank.
- Must be unique for each resource.
- Can contain a maximum of 128 characters.
- Cannot start or end with a space, or cannot start with _sys_. Only letters, digits, spaces, and the following special characters are allowed: _.:=+-@
Tag value. The value:
- Can be left blank.
- Can contain a maximum of 255 characters.
- Only letters, digits, spaces, and the following special characters are allowed: _.:/=+-@
NOTE:If your organization has configured tag policies for the DNS service, you need to add tags to your record sets based on the tag policies. If you add a tag that does not comply with the tag policies, record sets may fail to be created. Contact the administrator to learn more about tag policies.
example_key1
example_value1
Description
Supplementary information about the record set.
The description can contain a maximum of 255 characters.
This is an alias record for EWP.
- Click OK.
- Switch back to the Record Sets tab.
View the added record set in the record set list and ensure that its status is Normal.
For details, see How Do I Check Whether a Record Set Has Taken Effect?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot