This section describes the domain name matching mode and process.
| Matching Mode | Definition | Item | Matching Result |
|---|---|---|---|
| Exact match | Matches the domain names the same as the specified string. | www.example.com | In this matching mode, the following domain name matches the specified string:
The following domain names do not match the specified string:
|
| Suffix match | Matches the domain names that end with the specified string. |
*.example.com NOTE:
Configure domain names to support only the asterisk (*) wildcard. In addition, a domain name can contain only one asterisk and must start with it. A domain name supports two to four periods (.) that cannot be consecutive and cannot end with a period. That is, the format must be *.X.X, *.X.X.X, or *.X.X.X.X. |
In this matching mode, all domain names that end with example.com are matched, for example:
The following domain name does not match the specified string:
|
| Domain Name in the DNS Packet | Domain Name Referenced by policy1 | Domain Name Match Results |
|---|---|---|
| www.example.test.com | Exact domain name: www.example.com |
The match fails. |
Suffix domain name: *.test.com |
The match succeeds. | |
Exact and suffix domain names:
|
The match succeeds. |