Update On Mon Nov 10 19:41:23 CET 2025

This commit is contained in:
github-action[bot]
2025-11-10 19:41:23 +01:00
parent 1f4df368f1
commit 77af742bd1
107 changed files with 2767 additions and 1427 deletions

View File

@@ -64,7 +64,7 @@ func withHosts(mapping *lru.LruCache[netip.Addr, string]) middleware {
if mapping != nil {
mapping.SetWithExpire(ipAddr, host, time.Now().Add(time.Second*10))
}
} else if q.Qtype == D.TypeAAAA {
} else if ipAddr.Is6() && q.Qtype == D.TypeAAAA {
rr := &D.AAAA{}
rr.Hdr = D.RR_Header{Name: q.Name, Rrtype: D.TypeAAAA, Class: D.ClassINET, Ttl: 10}
rr.AAAA = ipAddr.AsSlice()