--- /dev/null
+/*
+ * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
+ *
+ * SPDX-License-Identifier: MPL-2.0
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, you can obtain one at https://mozilla.org/MPL/2.0/.
+ *
+ * See the COPYRIGHT file distributed with this work for additional
+ * information regarding copyright ownership.
+ */
+
+dnssec-policy "bad-digesttype" {
+ cds-digest-type foobar;
+};
+
+zone "example.net" {
+ type primary;
+ file "example.db";
+ dnssec-policy "baddigesttype";
+};
--- /dev/null
+/*
+ * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
+ *
+ * SPDX-License-Identifier: MPL-2.0
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, you can obtain one at https://mozilla.org/MPL/2.0/.
+ *
+ * See the COPYRIGHT file distributed with this work for additional
+ * information regarding copyright ownership.
+ */
+
+dnssec-policy "bad-digesttype" {
+ cds-digest-type GOST;
+};
+
+zone "example.net" {
+ type primary;
+ file "example.db";
+ dnssec-policy "baddigesttype";
+};
/* cut here */
dnssec-policy "test" {
+ cds-digest-type "sha-256";
dnskey-ttl 3600;
keys {
ksk key-directory lifetime P1Y algorithm ecdsa256;
/* cut here */
dnssec-policy "test" {
+ cds-digest-type "sha-256";
dnskey-ttl 3600;
keys {
ksk key-directory lifetime P1Y algorithm 13 256;