DEVELOPMENT ENVIRONMENT

~liljamo/felu

efcf557a40ebe344ba059e83e1870a15fcf8b9b3 — Jonni Liljamo 26 days ago 09f896b
feat: stub AAAA
1 files changed, 3 insertions(+), 0 deletions(-)

M internal/dns/query.go
M internal/dns/query.go => internal/dns/query.go +3 -0
@@ 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)