diff --git a/wgengine/router/dns/manager_windows.go b/wgengine/router/dns/manager_windows.go index b71b2255c..5940404e7 100644 --- a/wgengine/router/dns/manager_windows.go +++ b/wgengine/router/dns/manager_windows.go @@ -18,7 +18,6 @@ import ( const ( ipv4RegBase = `SYSTEM\CurrentControlSet\Services\Tcpip\Parameters` ipv6RegBase = `SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters` - tsRegBase = `SOFTWARE\Tailscale IPN` ) type windowsManager struct { @@ -91,11 +90,6 @@ func (m windowsManager) Up(config Config) error { return err } - newSearchList := strings.Join(config.Domains, ",") - if err := setRegistryString(tsRegBase, "SearchList", newSearchList); err != nil { - return err - } - // Force DNS re-registration in Active Directory. What we actually // care about is that this command invokes the undocumented hidden // function that forces Windows to notice that adapter settings