Domain Rules
DOMAIN
Matches a complete domain exactly:
DOMAIN,google.com,proxy
DOMAIN-SUFFIX
Matches a domain suffix. apple.com matches icloud.apple.com and www.apple.com, but not app-apple.com.
DOMAIN-SUFFIX,apple.com,proxy
DOMAIN-KEYWORD
Matches a keyword contained in a domain:
DOMAIN-KEYWORD,apple,proxy
DOMAIN-WILDCARD
Matches a complete domain using glob wildcards. Matching is case-insensitive and supports three wildcard forms: *, ?, and [...]. Build 1008+
DOMAIN-WILDCARD,*.example.com,proxy
DOMAIN-WILDCARD,api?.example.com,proxy
DOMAIN-WILDCARD,node[0-9].example.com,proxy
*
Matches zero or more characters and can match across ..
DOMAIN-WILDCARD,*.example.com,proxy
This rule matches a.example.com and a.b.example.com. Since . in the expression remains a literal character, it does not match example.com.
?
Matches exactly one character.
DOMAIN-WILDCARD,api?.example.com,proxy
This rule matches api1.example.com and apia.example.com, but not api12.example.com.
[...]
Matches a character set or range:
DOMAIN-WILDCARD,node[abc].example.com,proxy
DOMAIN-WILDCARD,node[0-9].example.com,proxy
DOMAIN-WILDCARD,node[!abc].example.com,proxy
DOMAIN-WILDCARD,node[^abc].example.com,proxy
[abc]matchesa,b, orc.[0-9]matches one character from0to9.[!abc]and[^abc]match one character other thana,b, orc.