Fix DNS transports

This commit is contained in:
世界 committed 2026-01-17 05:48:41 +08:00
1 parent 4e94a64dcc
commit aa8dd6e44f
18 files changed
+754 -220

No files matched your search

+3
View File
@@ -59,6 +59,9 @@ func (t *Transport) Close() error {
return nil
}
func (t *Transport) Reset() {
}
func (t *Transport) Exchange(ctx context.Context, message *mDNS.Msg) (*mDNS.Msg, error) {
question := message.Question[0]
domain := mDNS.CanonicalName(question.Name)