fix!: ignore case in queries, yikes
1 files changed, 1 insertions(+), 1 deletions(-) M internal/dns/query.go
M internal/dns/query.go => internal/dns/query.go +1 -1
@@ 28,7 28,7 @@ func handleARecord(q *dns.Question, m *dns.Msg, r *dns.Msg) { slog.Info("A Record Query", slog.String("qname", q.Name)) if index := strings.IndexByte(q.Name, '.'); index >= 0 { aRecord, err := db.FetchDomainARecord(q.Name[:index]) aRecord, err := db.FetchDomainARecord(strings.ToLower(q.Name[:index])) if err != nil { m.SetRcode(r, dns.RcodeNameError) } else {