Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
8e5abc6c
Commit
8e5abc6c
authored
Aug 17, 2018
by
Mark Andrews
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
report initial RRSIG expiry field values
parent
050fca21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
bin/tests/system/autosign/tests.sh
bin/tests/system/autosign/tests.sh
+19
-2
No files found.
bin/tests/system/autosign/tests.sh
View file @
8e5abc6c
...
...
@@ -78,7 +78,7 @@ do
done
for
z
in
bar. example. inacksk2.example. inacksk3.example
\
inaczsk2.example. inaczsk3.example
do
do
$DIG
$DIGOPTS
$z
@10.53.0.3 nsec
>
dig.out.ns3.test
$n
||
ret
=
1
grep
"NS SOA"
dig.out.ns3.test
$n
>
/dev/null
||
ret
=
1
done
...
...
@@ -91,6 +91,23 @@ n=`expr $n + 1`
if
[
$ret
!=
0
]
;
then
echo_i
"done"
;
fi
status
=
`
expr
$status
+
$ret
`
echo_i
"Initial counts of RRSIG expiry fields values for auto signed zones"
for
z
in
.
do
echo_i zone
$z
$DIG
$DIGOPTS
$z
@10.53.0.1 axfr |
awk
'$4 == "RRSIG" {print $9}'
|
sort
|
uniq
-c
| cat_i
done
for
z
in
bar. example. private.secure.example.
do
echo_i zone
$z
$DIG
$DIGOPTS
$z
@10.53.0.2 axfr |
awk
'$4 == "RRSIG" {print $9}'
|
sort
|
uniq
-c
| cat_i
done
for
z
in
inacksk2.example. inacksk3.example inaczsk2.example. inaczsk3.example
do
echo_i zone
$z
$DIG
$DIGOPTS
$z
@10.53.0.3 axfr |
awk
'$4 == "RRSIG" {print $9}'
|
sort
|
uniq
-c
| cat_i
done
#
# Check that DNSKEY is initially signed with a KSK and not a ZSK.
#
...
...
@@ -1147,7 +1164,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
status
=
`
expr
$status
+
$ret
`
# this confirms that key events are never scheduled more than
# 'dnssec-loadkeys-interval' minutes in the future, and that the
# 'dnssec-loadkeys-interval' minutes in the future, and that the
# event scheduled is within 10 seconds of expected interval.
check_interval
()
{
awk
'/next key event/ {print $2 ":" $9}'
$1
/named.run |
...
...
Mark Andrews
@marka
mentioned in commit
827ef21b
·
Aug 31, 2018
mentioned in commit
827ef21b
mentioned in commit 827ef21bb4c05ee0d1278244c9d07ead4aed8bce
Toggle commit list
Mark Andrews
@marka
mentioned in commit
073b2b9d
·
Aug 31, 2018
mentioned in commit
073b2b9d
mentioned in commit 073b2b9d028747bac92e4222fdd51b0507819f0e
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment