mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-10-27 15:07:55 +00:00
use documented default key ttl
This commit is contained in:
@@ -452,6 +452,10 @@ class dnskey:
|
|||||||
if timespan is None:
|
if timespan is None:
|
||||||
timespan = self.ttl
|
timespan = self.ttl
|
||||||
|
|
||||||
|
if timespan is None:
|
||||||
|
output("WARNING: Key %s using default TTL." % repr(self))
|
||||||
|
timespan = (60*60*24)
|
||||||
|
|
||||||
now = time.time()
|
now = time.time()
|
||||||
d = self.delete()
|
d = self.delete()
|
||||||
i = self.inactive()
|
i = self.inactive()
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
args=
|
args=
|
||||||
warn=1
|
warn=4
|
||||||
error=0
|
error=1
|
||||||
ok=0
|
ok=1
|
||||||
retcode=0
|
retcode=1
|
||||||
match=0
|
match=0
|
||||||
|
|||||||
Reference in New Issue
Block a user