Skip to main content

Domain Set

Domain Set is a remote url configuration, whose content is a collection of Domain rules, but without target definition in it.

Use Domain Set can greatly simplify the content complexity of profile which has a lot of domain rules in it, and also can reuse rules encapsulated by other contributors.

Compare to RULE-SET, Domain set only support domain type rules, but it will bring significant performance improvement

Sample

Domain Set definition

DOMAIN-SET,https://domainset.com/ad,REJECT

Remote Domain Set content sample

www.apple.com
google.com
.google.com

It should be noted that, .google.com will not only match www.google.com but also google.com

Format

DOMAIN-SET, {domain set url}, {target}

Param

NameValueMandatoryNote
domain set url-true
target-trueSpecified proxy or proxy group must existed in 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