mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-12-27 02:02:48 +08:00
Hard code ttl to 60 for transformed records (#4)
This commit is contained in:
parent
3fb4f3b54c
commit
03d30b02c7
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue