mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
BIND Provider: Pick default TTL automatically for zonefiles (#109)
* BIND Provider: Pick default TTL automatically for zonefiles
This commit is contained in:
@@ -238,7 +238,7 @@ func (c *Bind) GetDomainCorrections(dc *models.DomainConfig) ([]*models.Correcti
|
||||
for _, r := range dc.Records {
|
||||
zonefilerecords = append(zonefilerecords, r.RR())
|
||||
}
|
||||
err = WriteZoneFile(zf, zonefilerecords, dc.Name, models.DefaultTTL)
|
||||
err = WriteZoneFile(zf, zonefilerecords, dc.Name)
|
||||
|
||||
if err != nil {
|
||||
log.Fatalf("WriteZoneFile error: %v\n", err)
|
||||
|
Reference in New Issue
Block a user