Check that named rejects excessive iterations via UPDATE
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user