DEVELOPMENT ENVIRONMENT

~liljamo/felu

ee225a41994dbb77d8a8e8565c9dbce7c4c9c7e0 — Jonni Liljamo a month ago 1dd6caa
fix: set NS ttl
1 files changed, 1 insertions(+), 1 deletions(-)

M internal/dns/query.go
M internal/dns/query.go => internal/dns/query.go +1 -1
@@ 64,7 64,7 @@ func handleARecord(q *dns.Question, m *dns.Msg, r *dns.Msg) {

func handleNSRecord(q *dns.Question, m *dns.Msg, r *dns.Msg) {
	ns := &dns.NS{
		Hdr: dns.RR_Header{Name: q.Name, Rrtype: dns.TypeNS, Class: dns.ClassINET, Ttl: 0},
		Hdr: dns.RR_Header{Name: q.Name, Rrtype: dns.TypeNS, Class: dns.ClassINET, Ttl: 86400},
		Ns:  dns.Fqdn(config.FeluConfig.DDNSDomain),
	}