Created
November 16, 2022 19:54
-
-
Save Habbie/49143ed9fcaf8732aa9d7467533f51ff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function onNotifyFlush(dq) | |
print("flushing "..dq.qname:toString()) | |
getPool("self_v6"):getCache():expungeByName(dq.qname) | |
return DNSAction.None | |
end | |
addAction(OpcodeRule(DNSOpcode.Notify), LuaAction(onNotifyFlush)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment