refactor: Outbound domain resolver

This commit is contained in:
世界
2025-06-06 23:15:59 +08:00
parent 928298b528
commit 951a8fabbf
33 changed files with 392 additions and 167 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ func NewOutbound(ctx context.Context, router adapter.Router, logger log.ContextL
if err != nil {
return nil, err
}
outboundDialer, err := dialer.New(ctx, options.DialerOptions)
outboundDialer, err := dialer.New(ctx, options.DialerOptions, options.ServerIsDomain())
if err != nil {
return nil, err
}