]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Use pdnsutil backend-cmd list to get NSEC3 details in dyndns tests.
authorMiod Vallat <miod.vallat@powerdns.com>
Mon, 21 Jul 2025 15:36:00 +0000 (17:36 +0200)
committerMiod Vallat <miod.vallat@powerdns.com>
Fri, 29 Aug 2025 15:00:18 +0000 (17:00 +0200)
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
regression-tests/mysqldiff

index 55f0a92fbff9bf80b7fef85f6024b6940dcc05c0..066ec259f8065925acb1365bb877c5bb6f9ba3ca 100755 (executable)
@@ -41,6 +41,11 @@ gmysql)
                -e "SELECT r.name, r.type, r.prio, r.content, r.ttl, CONCAT('''', CONCAT(r.ordername, '''')), r.auth FROM domains d JOIN records r ON d.id=r.domain_id WHERE d.name='$zonewithvariant' AND(r.type != 'SOA' OR r.type IS NULL) ORDER BY r.name, r.type, r.content, r.ttl, r.prio" > ${testsdir}/${testname}/$step
     fi
     ;;
+lmdb)
+    $PDNSUTIL --config-dir=. --config-name=$backend \
+        backend-cmd $backend "list $zonewithvariant" | grep -vwF SOA | \
+        $SORT > ${testsdir}/${testname}/$step
+    ;;
 *)
     # Not as selective as the queries above, not as precise with DNSSEC details,
     # but hopefully good enough for the sake of most tests.