revert forwarder to SystemDial
This commit is contained in:
parent
feb76caafe
commit
84df34f86a
|
@ -701,7 +701,9 @@ func (f *forwarder) sendTCP(ctx context.Context, fq *forwardQuery, rr resolverAn
|
|||
ctx, cancel := context.WithTimeout(ctx, tcpQueryTimeout)
|
||||
defer cancel()
|
||||
|
||||
conn, err := f.dialer.UserDial(ctx, tcpFam, ipp.String())
|
||||
// Keeping this as SystemDial per discussion in https://github.com/tailscale/tailscale/pull/10380
|
||||
// This would mean SplitDNS via upstreams only reachable via UserDial would not work currently.
|
||||
conn, err := f.dialer.SystemDial(ctx, tcpFam, ipp.String())
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue