Domain-based Rule

There are 6 domain-based rule types: DOMAIN, DOMAIN-SUFFIX, DOMAIN-KEYWORD, DOMAIN-WILDCARD, DOMAIN-REGEX, and DOMAIN-SET.

DOMAIN

DOMAIN,www.apple.com,Proxy

Rule matches if the domain of request matches exactly.


DOMAIN-SUFFIX

DOMAIN-SUFFIX,apple.com,Proxy

Rule matches if the domain of the request matches the suffix. For example: 'google.com' matches 'www.google.com', 'mail.google.com' and 'google.com', but doesnotmatch 'content-google.com'.


DOMAIN-KEYWORD

DOMAIN-KEYWORD,google,Proxy

Rule matches if the domain of the request contains the keyword.


DOMAIN-WILDCARD

DOMAIN-WILDCARD,*.apple.com,Proxy

Rule matches if the domain of the request matches the wildcard pattern. * matches any sequence of characters (including dots) and ? matches a single character. For example: *.apple.com matches www.apple.com and test.www.apple.com, but does not match apple.com.


DOMAIN-REGEX

DOMAIN-REGEX,^mail\..+\.com$,Proxy

Rule matches if the domain of the request matches the regular expression.


DOMAIN-SET

DOMAIN-SET,https://example.com/domains.txt,DIRECT

Rule matches if the domain is found in the downloaded domain set. The first field after the type must be an http(s) URL pointing to a text file of bare domains, one per line: example.com matches the exact domain; .example.com or +.example.com matches the domain and all of its subdomains. An optional update-interval=N parameter re-downloads the file every N seconds. See Domain Set for details.

S. Smart Rabbit LLC © All Rights Reserved            updated 2026-07-28 17:49:04

results matching ""

    No results matching ""