Skip to content

Commit

Permalink
Hard code ttl to 60 for transformed records (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Peterson committed Sep 28, 2016
1 parent 3fb4f3b commit 03d30b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions normalize/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 03d30b0

Please sign in to comment.