1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

DOCS: Explain nameservers vs ns (#608)

This commit is contained in:
Tom Limoncelli
2020-01-29 13:47:32 -05:00
committed by GitHub
parent 92b51dbc65
commit 36a05608e0
5 changed files with 70 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ func AddNSRecords(dc *models.DomainConfig) {
if ttls, ok := dc.Metadata["ns_ttl"]; ok {
t, err := strconv.ParseUint(ttls, 10, 32)
if err != nil {
fmt.Printf("WARNING: ns_ttl fpr %s (%s) is not a valid int", dc.Name, ttls)
fmt.Printf("WARNING: ns_ttl for %s (%s) is not a valid int", dc.Name, ttls)
} else {
ttl = uint32(t)
}