Check that named rejects excessive iterations via UPDATE

This commit is contained in:
Mark Andrews
2021-04-23 10:28:06 +10:00
parent 3fe75d9809
commit 4ce8437a6e
2 changed files with 6 additions and 1 deletions

View File

@@ -410,6 +410,10 @@ test("NOERROR", ["update", rr_add("u.$zone 300 NS ns.u.$zone")]);
test("NOERROR", ["update", rr_del("u.$zone NS ns.u.$zone")]);
section("Excessive NSEC3PARAM iterations");
test("REFUSED", ["update", rr_add("$zone 300 NSEC3PARAM 1 0 151 -")]);
test("NOERROR", ["update", rr_add("$zone 300 NSEC3PARAM 1 0 150 -")]);
if ($failures) {
print "$failures tests failed.\n";
} else {