Domain Set
A Domain Set is a highly optimized remote configuration containing a large collection of domain rules. It is significantly more efficient than a standard Rule Set for large numbers of domain-based rules.
Compared to RULE-SET, a Domain Set only supports domain-type rules, but it offers significant performance improvements.
Example
Domain Set Definition
# Routes traffic matching domains in the remote ad-blocking list to REJECT
DOMAIN-SET,https://example.com/ad_domains.txt,REJECT
Remote Domain Set Content Example
www.apple.com
google.com
.google.com
Note that .google.com will match www.google.com as well as google.com.
Format
DOMAIN-SET, {domain set url}, {target}
Parameters
| Name | Value | Mandatory | Note |
|---|---|---|---|
| domain set url | - | true | |
| target | - | true | The specified proxy or proxy group must exist in the profile. |
Comparison with Rule Set
| Rule Type | Rule Count | Complete Match Time (lower is better) | Rule Type Support Level | Memory Consumption |
|---|---|---|---|---|
| Domain Set | 134430 | 51667 ns | Complete | High |
| Rule Set | 134430 | 24339083 ns | Only domain type supported | Low |