Check that A record is accepted with _spf label present

This commit is contained in:
Mark Andrews
2021-01-11 13:14:10 +11:00
committed by Matthijs Mekking
parent 63c16c8506
commit a3b2b86e7f
2 changed files with 17 additions and 1 deletions

View File

@@ -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)

View File

@@ -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