1
0
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:
Tom Limoncelli
2017-04-30 09:28:35 -04:00
committed by GitHub
parent c13d83887c
commit d92fd5b461
4 changed files with 106 additions and 9 deletions

View File

@@ -70,7 +70,7 @@ func pretty(zonename string, filename string, r io.Reader, defaultTTL uint32) {
l = append(l, x.RR)
}
}
bind.WriteZoneFile(os.Stdout, l, zonename, defaultTTL)
bind.WriteZoneFile(os.Stdout, l, zonename)
}
// rrFormat outputs the zonefile in either DSL or TSV format.