block top-level-domain

Jul 17, 2022
8
1
3
We want to block whole top-level domains with regular expressions. Example: Everything that is '.club' should be blocked. Is this entry correct? '*.club' in who-objects - blacklist - regular expression
 
No, globbing characters as used from CLIs when handling files and directories will not work. Perl REGEX is used. A .*\.club should work.
.* means any character (.) for many times (*). \. escapes the dot, to mean a literal dot and then the domain itself.
 
  • Like
Reactions: Michael Perron