Skip to content

wildcard support in deadwood #119

Locked Answered by samboy
zeeveisenberg asked this question in Q&A
Discussion options

You must be logged in to vote

One can use a block hash file to get wildcard support. See https://github.com/samboy/MaraDNS/blob/master/deadwood-github/doc/Deadwood.md in the section blocked_hosts_hash_file:

Block hash files have wildcard support. For example, if "example.com" 
is in the block hash file, then deadwood will block "example.com", 
"anyname.example.com", "anything.else.example.com", 
"12345.example.com", and so on. 

Note that wildcards only work for domain names which are one, two, or 
three labels long in the database. If "really.bad.example.com" is in 
the database, "buzz.really.bad.example.com" will not match, since 
"really.bad.example.com" has four (i.e. more than three) labels. 

Also relevant is th…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by samboy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants