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
-1
View File
@@ -19,7 +19,6 @@ func NewLocalDialer(ctx context.Context, options option.LocalDNSServerOptions) (
if options.LegacyDefaultDialer {
return dialer.NewDefaultOutbound(ctx), nil
} else {
options.UDPFragmentDefault = true
return dialer.NewWithOptions(dialer.Options{
Context: ctx,
Options: options.DialerOptions,