Fix DNS packet size

This commit is contained in:
世界
2025-09-05 16:17:49 +08:00
parent 2594745ef8
commit b14cecaeb2
4 changed files with 7 additions and 13 deletions

View File

@@ -10,11 +10,6 @@ import (
"time"
)
const (
// net.maxDNSPacketSize
maxDNSPacketSize = 1232
)
type resolverConfig struct {
initOnce sync.Once
ch chan struct{}