net/dns: set OSConfig.Primary.

OS implementations are going to support split DNS soon.
Until they're all in place, hardcode Primary=true to get
the old behavior.

Signed-off-by: David Anderson <danderson@tailscale.com>
main
David Anderson 5 years ago committed by Dave Anderson
parent bc4381447f
commit c16a926bf2
  1. 1
      net/dns/manager.go

@ -67,6 +67,7 @@ func (m *Manager) Set(cfg Config) error {
}
osCfg := OSConfig{
Domains: cfg.SearchDomains,
Primary: true,
}
// We must proxy through quad-100 if MagicDNS hosts are in
// use, or there are any per-domain routes.

Loading…
Cancel
Save