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

@@ -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,