mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Check that A record is accepted with _spf label present
This commit is contained in:
parent
63c16c8506
commit
a3b2b86e7f
2 changed files with 17 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
16
bin/tests/system/checkzone/zones/good-spf-exception.db
Normal file
16
bin/tests/system/checkzone/zones/good-spf-exception.db
Normal 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
|
||||
Loading…
Reference in a new issue