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>
This commit is contained in:
David Anderson 2021-04-05 22:40:43 -07:00 committed by Dave Anderson
parent bc4381447f
commit c16a926bf2
1 changed files with 1 additions and 0 deletions

View File

@ -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.