Browse Source

Force NS record TTLs to be 1d

Ask Bjørn Hansen 13 years ago
parent
commit
61a5db5141
1 changed files with 1 additions and 0 deletions
  1. 1 0
      config.go

+ 1 - 0
config.go

@@ -251,6 +251,7 @@ func setupZoneData(data map[string]interface{}, Zone *Zone) {
 
 
 				case dns.TypeNS:
 				case dns.TypeNS:
 					rec := records[rType][i]
 					rec := records[rType][i]
+					h.Ttl = 86400
 					rr := &dns.RR_NS{Hdr: h}
 					rr := &dns.RR_NS{Hdr: h}
 
 
 					switch rec.(type) {
 					switch rec.(type) {