From: Mark Andrews Date: Tue, 4 Feb 2025 23:45:48 +0000 (+1100) Subject: Test cname-and-other-data against various types X-Git-Tag: ondrej/lock-free-qpzone-reads-v1~61^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfc367f52c679908f810cd6b1f12837d03275d9b;p=thirdparty%2Fbind9.git Test cname-and-other-data against various types --- diff --git a/bin/tests/system/checkzone/tests.sh b/bin/tests/system/checkzone/tests.sh index fb6bcab82af..928ff0075de 100644 --- a/bin/tests/system/checkzone/tests.sh +++ b/bin/tests/system/checkzone/tests.sh @@ -44,6 +44,10 @@ for db in zones/bad*.db; do zones/bad-dns-sd-reverse.db | zones/bad-svcb-servername.db) $CHECKZONE -k fail -i local 0.0.0.0.in-addr.arpa $db >test.out.$n 2>&1 || v=$? ;; + bad-cname-and*.db) + $CHECKZONE -i local example $db >test.out.$n 2>&1 || v=$? + grep "CNAME and other data" test.out.$n >/dev/null || ret=1 + ;; *) $CHECKZONE -i local example $db >test.out.$n 2>&1 || v=$? ;; diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-a.db b/bin/tests/system/checkzone/zones/bad-cname-and-a.db new file mode 100644 index 00000000000..b6406dc3818 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-a.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad A 192.0.2.1 +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-a6.db b/bin/tests/system/checkzone/zones/bad-cname-and-a6.db new file mode 100644 index 00000000000..b2f4482e194 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-a6.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A6 0 ::1 +bad WKS 10.0.0.1 tcp telnet ftp 0 1 2 +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-aaaa.db b/bin/tests/system/checkzone/zones/bad-cname-and-aaaa.db new file mode 100644 index 00000000000..eeef3cde557 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-aaaa.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad AAAA ::1 +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-afsdb.db b/bin/tests/system/checkzone/zones/bad-cname-and-afsdb.db new file mode 100644 index 00000000000..a1072e5f30f --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-afsdb.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad BAD 65535 . +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-apl.db b/bin/tests/system/checkzone/zones/bad-cname-and-apl.db new file mode 100644 index 00000000000..4edb617f9db --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-apl.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad APL +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-atma.db b/bin/tests/system/checkzone/zones/bad-cname-and-atma.db new file mode 100644 index 00000000000..ba3cb5f9248 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-atma.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad ATMA +61200000000 +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-atmrelay.db b/bin/tests/system/checkzone/zones/bad-cname-and-atmrelay.db new file mode 100644 index 00000000000..dc193af66b5 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-atmrelay.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad ATMRELAY 0 0 0 +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-avc.db b/bin/tests/system/checkzone/zones/bad-cname-and-avc.db new file mode 100644 index 00000000000..6edbfe1e133 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-avc.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad AVC foo:bar +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-caa.db b/bin/tests/system/checkzone/zones/bad-cname-and-caa.db new file mode 100644 index 00000000000..19ecd2dfd9c --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-caa.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad CAA 128 tbs "Unknown" +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-cdnskey.db b/bin/tests/system/checkzone/zones/bad-cname-and-cdnskey.db new file mode 100644 index 00000000000..32cb3856981 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-cdnskey.db @@ -0,0 +1,20 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad CDNSKEY 512 ( 255 1 AQMFD5raczCJHViKtLYhWGz8hMY + 9UGRuniJDBzC7w0aRyzWZriO6i2odGWWQVucZqKV + sENW91IOW4vqudngPZsY3GvQ/xVA8/7pyFj6b7Esg + a60zyGW6LFe9r8n6paHrlG5ojqf0BaqHT+8= ) +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-cds.db b/bin/tests/system/checkzone/zones/bad-cname-and-cds.db new file mode 100644 index 00000000000..3cfdcf53809 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-cds.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad CDS 30795 1 1 310D27F4D82C1FC2400704EA9939FE6E1CEA A3B9 +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-cert.db b/bin/tests/system/checkzone/zones/bad-cname-and-cert.db new file mode 100644 index 00000000000..e926125a0b9 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-cert.db @@ -0,0 +1,20 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad CERT 65534 65535 254 ( + MxFcby9k/yvedMfQgKzhH5er0Mu/vILz45I + kskceFGgiWCn/GxHhai6VAuHAoNUz4YoU1t + VfSCSqQYn6//11U6Nld80jEeC8aTrO+KKmCaY= ) +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-csync.db b/bin/tests/system/checkzone/zones/bad-cname-and-csync.db new file mode 100644 index 00000000000..460457211ee --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-csync.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad CSYNC 0 0 A NS AAAA +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-dhcid.db b/bin/tests/system/checkzone/zones/bad-cname-and-dhcid.db new file mode 100644 index 00000000000..b4540848988 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-dhcid.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad DHCID AAIBY2/AuCccgoJbsaxcQc9TUapptP69l OjxfNuVAA2kjEA= +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-dlv.db b/bin/tests/system/checkzone/zones/bad-cname-and-dlv.db new file mode 100644 index 00000000000..fdba5af1d1c --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-dlv.db @@ -0,0 +1,19 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad DLV 30795 1 1 ( + 310D27F4D82C1FC2400704EA9939FE6E1CEA + A3B9 ) +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-dname.db b/bin/tests/system/checkzone/zones/bad-cname-and-dname.db new file mode 100644 index 00000000000..8e041dfc5b9 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-dname.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad DNAME @ +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-doa.db b/bin/tests/system/checkzone/zones/bad-cname-and-doa.db new file mode 100644 index 00000000000..7d764e1e754 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-doa.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad DOA 0 1 2 "" aHR0cHM6Ly93d3cuaXNjLm9yZy8= +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-eid.db b/bin/tests/system/checkzone/zones/bad-cname-and-eid.db new file mode 100644 index 00000000000..8ec5ce373d1 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-eid.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad EID 12 89 AB +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-eui48.db b/bin/tests/system/checkzone/zones/bad-cname-and-eui48.db new file mode 100644 index 00000000000..65b25504a48 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-eui48.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad EUI48 01-23-45-67-89-ab +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-eui64.db b/bin/tests/system/checkzone/zones/bad-cname-and-eui64.db new file mode 100644 index 00000000000..de5b82b9f7b --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-eui64.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad EUI64 01-23-45-67-89-ab-cd-ef +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-gpos.db b/bin/tests/system/checkzone/zones/bad-cname-and-gpos.db new file mode 100644 index 00000000000..9337531bd1c --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-gpos.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad GPOS -22.6882 116.8652 250.0 +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-hinfo.db b/bin/tests/system/checkzone/zones/bad-cname-and-hinfo.db new file mode 100644 index 00000000000..112ebef845d --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-hinfo.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad HINFO . . +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-hip.db b/bin/tests/system/checkzone/zones/bad-cname-and-hip.db new file mode 100644 index 00000000000..518cea92344 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-hip.db @@ -0,0 +1,19 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad HIP ( 2 200100107B1A74DF365639CC39F1D578 + AwEAAbdxyhNuSutc5EMzxTs9LBPCIkOFH8cIvM4p9+LrV4e19WzK00+CI6zBCQTdtWsuxKbWIy87UOoJTwkUs7lBu+Upr1gsNrut79ryra+bSRGQb1slImA8YVJyuIDsj7kwzG7jnERNqnWxZ48AWkskmdHaVDP4BcelrTI3rMXdXF5D + rvs.example.com. ) +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-https.db b/bin/tests/system/checkzone/zones/bad-cname-and-https.db new file mode 100644 index 00000000000..f6be58fd3e7 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-https.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad HTTPS 0 example.net. +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-ipseckey.db b/bin/tests/system/checkzone/zones/bad-cname-and-ipseckey.db new file mode 100644 index 00000000000..02d670da9d5 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-ipseckey.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad IPSECKEY 10 1 2 192.0.2.38 AQNRU3mG7TVTO2BkR47usntb102uFJtugbo6BSGvgqt4AQ== +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-isdn.db b/bin/tests/system/checkzone/zones/bad-cname-and-isdn.db new file mode 100644 index 00000000000..c647250412b --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-isdn.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad ISDN isdn-address +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-kx.db b/bin/tests/system/checkzone/zones/bad-cname-and-kx.db new file mode 100644 index 00000000000..58868d573d0 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-kx.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad KX 10 kcd +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-l32.db b/bin/tests/system/checkzone/zones/bad-cname-and-l32.db new file mode 100644 index 00000000000..dbe860af8a3 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-l32.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad L32 10 1.2.3.4 +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-l64.db b/bin/tests/system/checkzone/zones/bad-cname-and-l64.db new file mode 100644 index 00000000000..79e6909383a --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-l64.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad L64 10 0014:4fff:ff20:ee64 +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-loc.db b/bin/tests/system/checkzone/zones/bad-cname-and-loc.db new file mode 100644 index 00000000000..f51194a5589 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-loc.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad LOC 60 9 N 24 39 E 10 20 2000 20 +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-lp.db b/bin/tests/system/checkzone/zones/bad-cname-and-lp.db new file mode 100644 index 00000000000..c524005f9e2 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-lp.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad LP 10 example.net. +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-md.db b/bin/tests/system/checkzone/zones/bad-cname-and-md.db new file mode 100644 index 00000000000..83cdd0520ad --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-md.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad MD madname +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-mg.db b/bin/tests/system/checkzone/zones/bad-cname-and-mg.db new file mode 100644 index 00000000000..ef045c00b82 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-mg.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad MG mgmname +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-minfo.db b/bin/tests/system/checkzone/zones/bad-cname-and-minfo.db new file mode 100644 index 00000000000..57c8096f50b --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-minfo.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad MINFO . . +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-mx.db b/bin/tests/system/checkzone/zones/bad-cname-and-mx.db new file mode 100644 index 00000000000..10883ace016 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-mx.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad MX 10 . +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-naptr.db b/bin/tests/system/checkzone/zones/bad-cname-and-naptr.db new file mode 100644 index 00000000000..4f628db1fd1 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-naptr.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad NAPTR 0 0 "" "" "" . +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-nid.db b/bin/tests/system/checkzone/zones/bad-cname-and-nid.db new file mode 100644 index 00000000000..c5b84589447 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-nid.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad NID 10 0014:4fff:ff20:ee64 +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-nimloc.db b/bin/tests/system/checkzone/zones/bad-cname-and-nimloc.db new file mode 100644 index 00000000000..7374d774344 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-nimloc.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad NIMLOC 12 89 AB +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-ninfo.db b/bin/tests/system/checkzone/zones/bad-cname-and-ninfo.db new file mode 100644 index 00000000000..2f3bedbc8df --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-ninfo.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad NINFO "foo" +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-ns-soa.db b/bin/tests/system/checkzone/zones/bad-cname-and-ns-soa.db new file mode 100644 index 00000000000..1d35d83537a --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-ns-soa.db @@ -0,0 +1,16 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +@ CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-nsap-ptr.db b/bin/tests/system/checkzone/zones/bad-cname-and-nsap-ptr.db new file mode 100644 index 00000000000..2877f2a5149 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-nsap-ptr.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad NSAP-PTR . +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-nsap.db b/bin/tests/system/checkzone/zones/bad-cname-and-nsap.db new file mode 100644 index 00000000000..dc86511a2c0 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-nsap.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad NSAP 0x47.0005.80.005a00.0000.0001.e133.ffffff000161.00 +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-opengpgkey.db b/bin/tests/system/checkzone/zones/bad-cname-and-opengpgkey.db new file mode 100644 index 00000000000..a1e07cd2cf6 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-opengpgkey.db @@ -0,0 +1,20 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad OPENGPGKEY ( AQMFD5raczCJHViKtLYhWGz8hMY + 9UGRuniJDBzC7w0aRyzWZriO6i2odGWWQVucZqKV + sENW91IOW4vqudngPZsY3GvQ/xVA8/7pyFj6b7Esg + a60zyGW6LFe9r8n6paHrlG5ojqf0BaqHT+8= ) +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-ptr.db b/bin/tests/system/checkzone/zones/bad-cname-and-ptr.db new file mode 100644 index 00000000000..3ed9af1c47b --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-ptr.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad PTR . +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-px.db b/bin/tests/system/checkzone/zones/bad-cname-and-px.db new file mode 100644 index 00000000000..d4f0c8c1c57 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-px.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad PX 65535 . . +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-resinfo.db b/bin/tests/system/checkzone/zones/bad-cname-and-resinfo.db new file mode 100644 index 00000000000..2451a689e7b --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-resinfo.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad RESINFO qnamemin exterr=15,16,17 infourl=https://resolver.example.com/guide +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-rkey.db b/bin/tests/system/checkzone/zones/bad-cname-and-rkey.db new file mode 100644 index 00000000000..fa250713ace --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-rkey.db @@ -0,0 +1,20 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad RKEY 0 ( 255 1 AQMFD5raczCJHViKtLYhWGz8hMY + 9UGRuniJDBzC7w0aRyzWZriO6i2odGWWQVucZqKV + sENW91IOW4vqudngPZsY3GvQ/xVA8/7pyFj6b7Esg + a60zyGW6LFe9r8n6paHrlG5ojqf0BaqHT+8= ) +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-rp.db b/bin/tests/system/checkzone/zones/bad-cname-and-rp.db new file mode 100644 index 00000000000..8a727e2b22b --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-rp.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad RP . . +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-rt.db b/bin/tests/system/checkzone/zones/bad-cname-and-rt.db new file mode 100644 index 00000000000..b9ae1c7380b --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-rt.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad RT 65535 . +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-sink.db b/bin/tests/system/checkzone/zones/bad-cname-and-sink.db new file mode 100644 index 00000000000..3f923beb8e5 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-sink.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad SINK 8 0 2 l4ik +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-smimea.db b/bin/tests/system/checkzone/zones/bad-cname-and-smimea.db new file mode 100644 index 00000000000..13bf1f11d88 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-smimea.db @@ -0,0 +1,20 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad SMIMES ( 1 1 2 92003ba34942dc74152e2f2c408d29ec + a5a520e7f2e06bb944f4dca346baf63c + 1b177615d466f6c4b71c216a50292bd5 + 8c9ebdd2f74e38fe51ffd48c43326cbc ) +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-spf.db b/bin/tests/system/checkzone/zones/bad-cname-and-spf.db new file mode 100644 index 00000000000..faf92a33447 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-spf.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad SPF "v=spf1 -all" +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-srv.db b/bin/tests/system/checkzone/zones/bad-cname-and-srv.db new file mode 100644 index 00000000000..f9c782beb32 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-srv.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad SRV 0 0 0 . +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-sshfp.db b/bin/tests/system/checkzone/zones/bad-cname-and-sshfp.db new file mode 100644 index 00000000000..a6715a6fdf6 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-sshfp.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad SSHFP 4 2 C76D8329954DA2835751E371544E963EFDA099080D6C58DD2BFD9A31 6E162C83 +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-svcb.db b/bin/tests/system/checkzone/zones/bad-cname-and-svcb.db new file mode 100644 index 00000000000..6ce3f54472d --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-svcb.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad SVCB 0 example.net. +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-ta.db b/bin/tests/system/checkzone/zones/bad-cname-and-ta.db new file mode 100644 index 00000000000..3b97bd030a1 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-ta.db @@ -0,0 +1,19 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad TA 30795 1 1 ( + 310D27F4D82C1FC2400704EA9939FE6E1CEA + A3B9 ) +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-talink.db b/bin/tests/system/checkzone/zones/bad-cname-and-talink.db new file mode 100644 index 00000000000..93891bcb588 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-talink.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad TALINK . talink1 +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-tlsa.db b/bin/tests/system/checkzone/zones/bad-cname-and-tlsa.db new file mode 100644 index 00000000000..2fd8af4d016 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-tlsa.db @@ -0,0 +1,20 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad TLSA ( 1 1 2 92003ba34942dc74152e2f2c408d29ec + a5a520e7f2e06bb944f4dca346baf63c + 1b177615d466f6c4b71c216a50292bd5 + 8c9ebdd2f74e38fe51ffd48c43326cbc ) +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-txt.db b/bin/tests/system/checkzone/zones/bad-cname-and-txt.db new file mode 100644 index 00000000000..355838b0c4f --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-txt.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad TXT 10.0.0.1 tcp telnet ftp 0 1 2 +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-type54.db b/bin/tests/system/checkzone/zones/bad-cname-and-type54.db new file mode 100644 index 00000000000..896de183c4b --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-type54.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad TYPE54 \# 0 +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-type66.db b/bin/tests/system/checkzone/zones/bad-cname-and-type66.db new file mode 100644 index 00000000000..85a095d8ca8 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-type66.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad TYPE66 \# 1 00 +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-uri.db b/bin/tests/system/checkzone/zones/bad-cname-and-uri.db new file mode 100644 index 00000000000..0b45952658d --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-uri.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad URI 10 20 "https://www.isc.org/" +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-wallet.db b/bin/tests/system/checkzone/zones/bad-cname-and-wallet.db new file mode 100644 index 00000000000..5253a5f7c9e --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-wallet.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad WALLET currency-identifer wallet-identifier +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-wks.db b/bin/tests/system/checkzone/zones/bad-cname-and-wks.db new file mode 100644 index 00000000000..d30f709124d --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-wks.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad WKS 10.0.0.1 tcp telnet ftp 0 1 2 +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-x25.db b/bin/tests/system/checkzone/zones/bad-cname-and-x25.db new file mode 100644 index 00000000000..b7ea5a82e76 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-x25.db @@ -0,0 +1,17 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad X25 123456789 +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/bad-cname-and-zonemd.db b/bin/tests/system/checkzone/zones/bad-cname-and-zonemd.db new file mode 100644 index 00000000000..a293ba00898 --- /dev/null +++ b/bin/tests/system/checkzone/zones/bad-cname-and-zonemd.db @@ -0,0 +1,21 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +bad ZONEMD 2019020700 1 1 ( + C220B8A6ED5728A971902F7E3D4FD93A + DEEA88B0453C2E8E8C863D465AB06CF3 + 4EB95B266398C98B59124FA239CB7EEB + ) +bad CNAME @ diff --git a/bin/tests/system/checkzone/zones/good-cname-and-key.db b/bin/tests/system/checkzone/zones/good-cname-and-key.db new file mode 100644 index 00000000000..554d96e2efa --- /dev/null +++ b/bin/tests/system/checkzone/zones/good-cname-and-key.db @@ -0,0 +1,20 @@ +; 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. + +$TTL 600 +@ SOA ns hostmaster 2011012708 3600 1200 604800 1200 + NS ns +ns A 192.0.2.1 +good KEY 0 ( 255 1 AQMFD5raczCJHViKtLYhWGz8hMY + 9UGRuniJDBzC7w0aRyzWZriO6i2odGWWQVucZqKV + sENW91IOW4vqudngPZsY3GvQ/xVA8/7pyFj6b7Esg + a60zyGW6LFe9r8n6paHrlG5ojqf0BaqHT+8= ) +good CNAME @