]> git.ipfire.org Git - thirdparty/pdns.git/commit
Provide a default searchRecords implementation.
authorMiod Vallat <miod.vallat@powerdns.com>
Thu, 17 Jul 2025 15:24:42 +0000 (17:24 +0200)
committerMiod Vallat <miod.vallat@powerdns.com>
Thu, 31 Jul 2025 10:29:30 +0000 (12:29 +0200)
commit549a0869dfc53ed2a78163b62d06894cd5a47493
tree00897d102cb2345191b117020d08f53f869938c7
parentaad2befee86f7a427e4c18ad776b25a895d4a26e
Provide a default searchRecords implementation.

This is the LMDB searchRecords being promoted to backend-agnostic, as it
only depends on list() and getAllDomains() to work (and get(), obviously).

A new capability, CAP_SEARCH, is added to advertize these requirements are
fulfilled; search will return failure if they are not.

Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
docs/backends/lua2.rst
docs/backends/tinydns.rst
modules/bindbackend/binddnssec.cc
modules/lmdbbackend/lmdbbackend.cc
modules/lmdbbackend/lmdbbackend.hh
modules/lua2backend/lua2api2.hh
modules/remotebackend/remotebackend.cc
modules/tinydnsbackend/tinydnsbackend.hh
pdns/backends/gsql/gsqlbackend.cc
pdns/dnsbackend.cc
pdns/dnsbackend.hh