Fix DNS packet size

This commit is contained in:
世界
2025-09-08 09:12:30 +08:00
parent 2594745ef8
commit b14cecaeb2
4 changed files with 7 additions and 13 deletions
-5
View File
@@ -10,11 +10,6 @@ import (
"time"
)
const (
// net.maxDNSPacketSize
maxDNSPacketSize = 1232
)
type resolverConfig struct {
initOnce sync.Once
ch chan struct{}