Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- whitelist=newDS()
- whitelist:add(dofile("/etc/pdns-recursor/lua/compassws/allowed.lua"))
- function preresolve(dq)
- if not whitelist:check(dq.qname) then
- dq.rcode = pdns.NXDOMAIN
- return true
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement