From: Mark Andrews Date: Mon, 11 Jan 2021 02:14:10 +0000 (+1100) Subject: Check that A record is accepted with _spf label present X-Git-Tag: v9.17.10~4^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a3b2b86e7f57fe48e5d2015a43d0df6c53cb93ce;p=thirdparty%2Fbind9.git Check that A record is accepted with _spf label present --- diff --git a/bin/tests/system/checkzone/tests.sh b/bin/tests/system/checkzone/tests.sh index f421b437b10..8bab669a50e 100644 --- a/bin/tests/system/checkzone/tests.sh +++ b/bin/tests/system/checkzone/tests.sh @@ -17,7 +17,7 @@ do echo_i "checking $db ($n)" ret=0 case $db in - zones/good-gc-msdcs.db) + zones/good-gc-msdcs.db|zones/good-spf-exception.db) $CHECKZONE -k fail -i local example $db > test.out.$n 2>&1 || ret=1 ;; zones/good-dns-sd-reverse.db) diff --git a/bin/tests/system/checkzone/zones/good-spf-exception.db b/bin/tests/system/checkzone/zones/good-spf-exception.db new file mode 100644 index 00000000000..1de8cec52bb --- /dev/null +++ b/bin/tests/system/checkzone/zones/good-spf-exception.db @@ -0,0 +1,16 @@ +; Copyright (C) Internet Systems Consortium, Inc. ("ISC") +; +; 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 http://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 +a._spf A 192.0.2.2 +a._spf_rate A 192.0.2.2 +a._spf_verify A 192.0.2.2