]> git.ipfire.org Git - thirdparty/pdns.git/commit
Add optional backend method to let them return invalid records. 15966/head
authorMiod Vallat <miod.vallat@powerdns.com>
Thu, 7 Aug 2025 06:40:31 +0000 (08:40 +0200)
committerMiod Vallat <miod.vallat@powerdns.com>
Fri, 29 Aug 2025 15:03:11 +0000 (17:03 +0200)
commitc80d2070b09d323b8fd4f859462001aec67be17c
tree319b6b25597fecc96ede33e63415ecfcf3ca7506
parent206447a70f2b825c35d47e19b3c52014f7617ef7
Add optional backend method to let them return invalid records.

Use this in pdnsutil check-zone to report these ill-formed records which
would otherwise never made visible.

Fixes: #4941
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
pdns/backends/gsql/gsqlbackend.cc
pdns/backends/gsql/gsqlbackend.hh
pdns/dnsbackend.hh
pdns/pdnsutil.cc
regression-tests.nobackend/gsqlite3-corrupted-record/command [new file with mode: 0755]
regression-tests.nobackend/gsqlite3-corrupted-record/description [new file with mode: 0644]
regression-tests.nobackend/gsqlite3-corrupted-record/expected_result [new file with mode: 0644]