Skip to main content

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

NameValueMandatoryNote
domain set url-true
target-trueThe specified proxy or proxy group must exist in the profile.

Comparison with Rule Set

Rule TypeRule CountComplete Match Time (lower is better)Rule Type Support LevelMemory Consumption
Domain Set13443051667 nsCompleteHigh
Rule Set13443024339083 nsOnly domain type supportedLow