DEVELOPMENT ENVIRONMENT

~liljamo/felu

37f1d225c494f0c111e1fadeb3c4935006774484 — Jonni Liljamo 28 days ago 3569425
chore: format
1 files changed, 1 insertions(+), 0 deletions(-)

M internal/dns/query.go
M internal/dns/query.go => internal/dns/query.go +1 -0
@@ 129,6 129,7 @@ func handleTXTRecord(q *dns.Question, m *dns.Msg, r *dns.Msg) {
		m.SetRcode(r, dns.RcodeNameError)
		return
	}

	qNameWithoutPrefix, ok := strings.CutPrefix(qName, expectedPrefix)
	if !ok {
		m.SetRcode(r, dns.RcodeFormatError)