policy¶
type: list(string)
Description¶
Specifies a list of policies that determines whether to perform circumvention on matching domain names. This option can be given multiple times. It is highly recommended to set this option because performing circumvention on domains that are not banned (e.g. google.com) can cause unexpected connection failures.
- Rule: Each policy must be prefixed with
i:(include) orx:(exclude). - Matching: Rules support the wildcard character (*) and globstar(**).
- Priority: More specific rules have higher priority (e.g.,
x:cdn.discordapp.comhas higher priority overi:*.discordapp.com).
More information on matching strategy
- Wildcard (
*)
Matches exactly one domain part (e.g.,www) or zero parts. For example,*.youtube.commatches bothwww.youtube.comandyoutube.com. - Globstar (
**)
Matches zero or more nested domain parts. For example,**.firefox.commatchesfirefox.com,www.firefox.com, andprofile.accounts.firefox.com.