mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +00:00
handle multi-line NSEC3 record better
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
# PERFORMANCE OF THIS SOFTWARE.
|
# PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
# $Id: tests.sh,v 1.93 2011/09/02 21:55:16 each Exp $
|
# $Id: tests.sh,v 1.94 2011/10/06 22:11:39 marka Exp $
|
||||||
|
|
||||||
SYSTEMTESTTOP=..
|
SYSTEMTESTTOP=..
|
||||||
. $SYSTEMTESTTOP/conf.sh
|
. $SYSTEMTESTTOP/conf.sh
|
||||||
@@ -982,11 +982,12 @@ cd signer
|
|||||||
cat example.db.in $key1.key $key2.key > example.db
|
cat example.db.in $key1.key $key2.key > example.db
|
||||||
$SIGNER -3 - -H 10 -o example -f example.db example.db > /dev/null 2>&1
|
$SIGNER -3 - -H 10 -o example -f example.db example.db > /dev/null 2>&1
|
||||||
awk '/^IQF9LQTLK/ {
|
awk '/^IQF9LQTLK/ {
|
||||||
printf("%s ", $0);
|
printf("%s", $0);
|
||||||
getline;
|
while (!match($0, "\\)")) {
|
||||||
printf ("%s ", $0);
|
getline;
|
||||||
getline;
|
printf (" %s", $0);
|
||||||
print;
|
}
|
||||||
|
printf("\n");
|
||||||
}' example.db | sed 's/[ ][ ]*/ /g' > nsec3param.out
|
}' example.db | sed 's/[ ][ ]*/ /g' > nsec3param.out
|
||||||
|
|
||||||
grep "IQF9LQTLKKNFK0KVIFELRAK4IC4QLTMG.example. 0 IN NSEC3 1 0 10 - ( IQF9LQTLKKNFK0KVIFELRAK4IC4QLTMG A NS SOA RRSIG DNSKEY NSEC3PARAM )" nsec3param.out > /dev/null
|
grep "IQF9LQTLKKNFK0KVIFELRAK4IC4QLTMG.example. 0 IN NSEC3 1 0 10 - ( IQF9LQTLKKNFK0KVIFELRAK4IC4QLTMG A NS SOA RRSIG DNSKEY NSEC3PARAM )" nsec3param.out > /dev/null
|
||||||
|
Reference in New Issue
Block a user