feat: Drop all ANY requests
All checks were successful
Build Docker / Build_Docker (push) Successful in 46s
All checks were successful
Build Docker / Build_Docker (push) Successful in 46s
This commit is contained in:
@@ -16,6 +16,8 @@ addAction(AndRule{MaxQPSIPRule(5), TCPRule(false)}, TCAction())
|
||||
local sldsToDrop = newSuffixMatchNode()
|
||||
sldsToDrop:add("lan.")
|
||||
addAction(SuffixMatchNodeRule(sldsToDrop), DropAction())
|
||||
addAction(QTypeRule(DNSQType.ANY), DropAction())
|
||||
|
||||
|
||||
newServer({address="127.0.0.1:5353", name="HSD"})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user