From e7a04e076268866c5d7f010df7924f704698f064 Mon Sep 17 00:00:00 2001 From: wwqgtxx Date: Fri, 12 Dec 2025 19:42:29 +0800 Subject: [PATCH] chore: don't process msg.Extra in msgToHTTPSRRInfo --- dns/util.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dns/util.go b/dns/util.go index a6d3674b..e960a8e1 100644 --- a/dns/util.go +++ b/dns/util.go @@ -265,7 +265,11 @@ func msgToHTTPSRRInfo(msg *D.Msg) string { } collect(msg.Answer) - collect(msg.Extra) + + //TODO: Do we need to process the data in msg.Extra? + // If so, do we need to validate whether the domain names within it match our request? + // To simplify the problem, let's ignore it for now. + //collect(msg.Extra) if len(alpns) == 0 && publicName == "" && !hasIPv4 && !hasIPv6 { return ""