Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
591
Issues
591
List
Boards
Labels
Service Desk
Milestones
Merge Requests
113
Merge Requests
113
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
BIND
Commits
ecafa2ae
Commit
ecafa2ae
authored
Dec 05, 2017
by
Mark Andrews
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set the DNSKEY deletion time to now+5 once we got all the zones into their initial state
parent
77f96234
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
bin/tests/system/autosign/ns3/keygen.sh
bin/tests/system/autosign/ns3/keygen.sh
+2
-3
bin/tests/system/autosign/tests.sh
bin/tests/system/autosign/tests.sh
+3
-0
No files found.
bin/tests/system/autosign/ns3/keygen.sh
View file @
ecafa2ae
...
...
@@ -284,12 +284,11 @@ $KEYGEN -a RSASHA1 -3 -q -r $RANDFILE -P now -A now+3600 $zone > kg.out 2>&1 ||
$DSFROMKEY
$ksk
.key
>
dsset-
${
zone
}
$TP
#
# A zone that starts with a active KSK + ZSK and a inactive ZSK which becomes
# a zone with a active KSK and a inactive ZSK after 20 seconds.
# A zone that starts with a active KSK + ZSK and a inactive ZSK.
#
setup inaczsk3.example
cp
$infile
$zonefile
ksk
=
`
$KEYGEN
-a
NSEC3RSASHA1
-3
-q
-r
$RANDFILE
-fk
$zone
2> kg.out
`
||
dumpit kg.out
$KEYGEN
-a
NSEC3RSASHA1
-3
-q
-r
$RANDFILE
-D
now+20
$zone
>
kg.out 2>&1
||
dumpit kg.out
$KEYGEN
-a
NSEC3RSASHA1
-3
-q
-r
$RANDFILE
$zone
>
kg.out 2>&1
||
dumpit kg.out
$KEYGEN
-a
NSEC3RSASHA1
-3
-q
-r
$RANDFILE
-P
now
-A
now+3600
$zone
>
kg.out 2>&1
||
dumpit kg.out
$DSFROMKEY
$ksk
.key
>
dsset-
${
zone
}
$TP
bin/tests/system/autosign/tests.sh
View file @
ecafa2ae
...
...
@@ -104,6 +104,9 @@ count=`awk 'BEGIN { count = 0 }
$4 == "DNSKEY" { count++ }
END {print count}'
dig.out.ns3.test
$n
`
test
$count
-eq
3
||
ret
=
1
id
=
`
awk
'$4 == "RRSIG" && $5 == "CNAME" { printf "%05u\n", $11 }'
dig.out.ns3.test
$n
`
$SETTIME
-D
now+5 ns3/Kinaczsk3.example.+007+
${
id
}
$RNDC
-c
../common/rndc.conf
-s
10.53.0.3
-p
9953 loadkeys inaczsk3.example
n
=
`
expr
$n
+ 1
`
if
[
$ret
!=
0
]
;
then
echo
"I:failed"
;
fi
status
=
`
expr
$status
+
$ret
`
...
...
Mark Andrews
@marka
mentioned in commit
452037ae
·
Dec 20, 2017
mentioned in commit
452037ae
mentioned in commit 452037ae74f6ead0fbffc23025f37a679c751bd3
Toggle commit list
Mark Andrews
@marka
mentioned in commit
02324ce6
·
Jan 26, 2018
mentioned in commit
02324ce6
mentioned in commit 02324ce60af537bb2f1c4a0befedd6507f3b3ae8
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