From efcf557a40ebe344ba059e83e1870a15fcf8b9b3 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Sat, 26 Oct 2024 13:19:29 +0300 Subject: [PATCH] feat: stub AAAA --- internal/dns/query.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/dns/query.go b/internal/dns/query.go index 3962d84..58c3946 100644 --- a/internal/dns/query.go +++ b/internal/dns/query.go @@ -28,6 +28,9 @@ func parseQuery(m *dns.Msg, r *dns.Msg) { switch q.Qtype { case dns.TypeA: handleARecord(&q, m, r) + case dns.TypeAAAA: + // NOTE: Stub + m.SetRcode(r, dns.RcodeNameError) case dns.TypeCNAME: // NOTE: This is stubbed like this to make things like lego not shit themselves if they get NOTIMP. m.SetRcode(r, dns.RcodeNameError) -- 2.44.1