File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ import (
41
41
"github.com/sagernet/tailscale/logpolicy"
42
42
"github.com/sagernet/tailscale/logtail"
43
43
"github.com/sagernet/tailscale/logtail/filch"
44
+ "github.com/sagernet/tailscale/net/dns"
44
45
"github.com/sagernet/tailscale/net/dnscache"
45
46
"github.com/sagernet/tailscale/net/memnet"
46
47
"github.com/sagernet/tailscale/net/netmon"
@@ -125,6 +126,7 @@ type Server struct {
125
126
126
127
Dialer N.Dialer
127
128
LookupHook dnscache.LookupHookFunc
129
+ DNS dns.OSConfigurator
128
130
129
131
getCertForTesting func (* tls.ClientHelloInfo ) (* tls.Certificate , error )
130
132
@@ -567,6 +569,7 @@ func (s *Server) start() (reterr error) {
567
569
568
570
s .dialer = & tsdial.Dialer {Logf : tsLogf , Dialer : s .Dialer } // mutated below (before used)
569
571
eng , err := wgengine .NewUserspaceEngine (tsLogf , wgengine.Config {
572
+ DNS : s .DNS ,
570
573
ListenPort : s .Port ,
571
574
NetMon : s .netMon ,
572
575
Dialer : s .dialer ,
You can’t perform that action at this time.
0 commit comments