mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-15 22:09:31 -04:00
use documented default key ttl
This commit is contained in:
parent
0ac2a868bb
commit
6499bdfd8b
2 changed files with 8 additions and 4 deletions
|
|
@ -452,6 +452,10 @@ class dnskey:
|
|||
if timespan is None:
|
||||
timespan = self.ttl
|
||||
|
||||
if timespan is None:
|
||||
output("WARNING: Key %s using default TTL." % repr(self))
|
||||
timespan = (60*60*24)
|
||||
|
||||
now = time.time()
|
||||
d = self.delete()
|
||||
i = self.inactive()
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
args=
|
||||
warn=1
|
||||
error=0
|
||||
ok=0
|
||||
retcode=0
|
||||
warn=4
|
||||
error=1
|
||||
ok=1
|
||||
retcode=1
|
||||
match=0
|
||||
|
|
|
|||
Loading…
Reference in a new issue