Skip to content
Snippets Groups Projects
Commit 8d821b20 authored by Marek Vavruša's avatar Marek Vavruša
Browse files

modules/block: updated doc

parent 5a755818
Branches
Tags
No related merge requests found
......@@ -32,6 +32,12 @@ Example configuration
block:add(block.pattern(block.PASS, 'www[0-9].badboy.cz'))
-- Block all names below badboy.cz
block:add(block.suffix(block.DENY, {'badboy.cz'}))
-- Custom rule
block:add(function (pkt, qname)
if qname:find('%d.%d.%d.224.in-addr.arpa.') then
return block.DENY, '224.in-addr.arpa.'
end
end)
Properties
^^^^^^^^^^
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment