Remove old stuff from caddy and some go vet changes (#227)

This commit is contained in:
Miek Gieben
2016-08-21 11:28:11 +01:00
committed by GitHub
parent 0be3fb4947
commit 26f52a99d9
2 changed files with 2 additions and 62 deletions

View File

@@ -393,13 +393,13 @@ func (e Etcd) SOA(zone string, state middleware.State, opt Options) ([]dns.RR, [
header := dns.RR_Header{Name: zone, Rrtype: dns.TypeSOA, Ttl: 300, Class: dns.ClassINET}
soa := &dns.SOA{Hdr: header,
Mbox: "hostmaster." + zone,
Mbox: hostmaster + "." + zone,
Ns: "ns.dns." + zone,
Serial: uint32(time.Now().Unix()),
Refresh: 7200,
Retry: 1800,
Expire: 86400,
Minttl: 60,
Minttl: minTTL,
}
// TODO(miek): fake some msg.Service here when returning.
return []dns.RR{soa}, nil, nil