Cloud Domain Name Service (CloudDNS) 8.2.1 Usage Guide (for Huawei Cloud Stack 8.2.1) 03
Wildcard DNS Record
A wildcard record is specified as the leftmost domain name label, using an asterisk (*) followed by a dot (.), to match all subdomains. For more details, see RFC 4592.
Currently, a wildcard record can be added only for A, MX, CNAME, TXT, and SRV.
Configure a wildcard record:
A wildcard DNS record can simplify the resolution if multiple subdomain names (01.example.com, 02.example.com, 03.example.com, 04.example.com, and 05.example.com) to be resolved correspond to the same IP address or the same group of IP addresses.
- When a wildcard DNS record is not configured, multiple records need to be added if multiple subdomain names need to be resolved.
Add corresponding 5 resolution records: 01.example.com, 02.example.com, 03.example.com, 04.example.com, and 05.example.com.
- When a wildcard DNS record is configured, only one record needs to be added.
Add 1 wildcard DNS record: *.example.com.
Take *.example.com for example, add a wildcard DNS record as follows:
- Create an intranet domain name example.com.
- Enter an asterisk "*" as the leftmost label of the domain name.