From 8357ef090389ebfc2480ee0f54c14e2184e306c0 Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Mon, 20 Oct 2014 16:50:05 +0100 Subject: [PATCH] TTL --- util.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util.go b/util.go index 334882e..a9fa726 100644 --- a/util.go +++ b/util.go @@ -126,6 +126,8 @@ func (tx *Tx) signRRs(rra []dns.RR, useKSK bool) (dns.RR, error) { maxttl := rraMaxTTL(rra) exp := time.Duration(maxttl)*time.Second + time.Duration(10)*time.Minute + log.Info("maxttl: ", maxttl, " expiration: ", exp) + now := time.Now() rrsig := &dns.RRSIG { Hdr: dns.RR_Header { Ttl: maxttl, },