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}, update-interval = {update-interval}

Parameters​

NameValueMandatoryNote
domain set url-true
target-trueThe specified proxy or proxy group must exist in the profile.
update-intervalsecondsfalseBackground refresh interval of the remote content, e.g. update-interval=86400. Minimum effective interval: 900 (15 minutes). Updated content applies the next time the VPN starts; a running VPN is not interrupted. When omitted, the content is only refreshed lazily when it is older than 24 hours.

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