]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Add a Lua maintenance hook
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 6 Feb 2024 14:44:35 +0000 (15:44 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 6 Feb 2024 14:50:21 +0000 (15:50 +0100)
commit5798dc9b0b22c068f93633b638435a3c930a6505
treedaed7dce1f0457cc1e8ca1ba7ce794601e854b04
parent3ad430c26c0e3e6603933262dda9a105792de0e3
dnsdist: Add a Lua maintenance hook

Having a hook that can accept multiple callbacks makes it a lot easier
to manage the execution of several, independant tasks that needs to be
called regularly.
pdns/dnsdist-console.cc
pdns/dnsdist-lua.cc
pdns/dnsdist.cc
pdns/dnsdistdist/Makefile.am
pdns/dnsdistdist/dnsdist-lua-hooks.cc [new file with mode: 0644]
pdns/dnsdistdist/dnsdist-lua-hooks.hh [new file with mode: 0644]
pdns/dnsdistdist/docs/reference/config.rst
regression-tests.dnsdist/test_DNSCrypt.py