From 03d30b02c7c16b340ccd92e7f6d85671f608fb58 Mon Sep 17 00:00:00 2001 From: Craig Peterson Date: Wed, 28 Sep 2016 12:32:36 -0600 Subject: [PATCH] Hard code ttl to 60 for transformed records (#4) --- normalize/validate.go | 1 + 1 file changed, 1 insertion(+) diff --git a/normalize/validate.go b/normalize/validate.go index bb1e507fe..e11805840 100644 --- a/normalize/validate.go +++ b/normalize/validate.go @@ -142,6 +142,7 @@ func import_transform(src_domain, dst_domain *models.DomainConfig, transforms [] rec2, _ := rec.Copy() rec2.Name = rec2.NameFQDN rec2.NameFQDN = dnsutil.AddOrigin(rec2.Name, dst_domain.Name) + rec2.TTL = 60 return rec2 } switch rec.Type {