feat: Add .lan block
All checks were successful
Build Docker / Build_Docker (push) Successful in 1m8s
All checks were successful
Build Docker / Build_Docker (push) Successful in 1m8s
This commit is contained in:
@@ -10,10 +10,13 @@ function maintenance()
|
||||
end
|
||||
dbr:apply()
|
||||
|
||||
addAction(RegexRule(".*nonexistentdomain.*"), DropAction())
|
||||
|
||||
addAction(AndRule{MaxQPSIPRule(5), TCPRule(false)}, TCAction())
|
||||
|
||||
-- drop queries to .lan
|
||||
local sldsToDrop = newSuffixMatchNode()
|
||||
sldsToDrop:add("lan.")
|
||||
addAction(SuffixMatchNodeRule(sldsToDrop), DropAction())
|
||||
|
||||
newServer({address="127.0.0.1:5353", name="HSD"})
|
||||
|
||||
addLocal('0.0.0.0:53', {reusePort=true})
|
||||
|
||||
Reference in New Issue
Block a user