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:
parent
bc4381447f
commit
c16a926bf2
|
@ -67,6 +67,7 @@ func (m *Manager) Set(cfg Config) error {
|
||||||
}
|
}
|
||||||
osCfg := OSConfig{
|
osCfg := OSConfig{
|
||||||
Domains: cfg.SearchDomains,
|
Domains: cfg.SearchDomains,
|
||||||
|
Primary: true,
|
||||||
}
|
}
|
||||||
// We must proxy through quad-100 if MagicDNS hosts are in
|
// We must proxy through quad-100 if MagicDNS hosts are in
|
||||||
// use, or there are any per-domain routes.
|
// use, or there are any per-domain routes.
|
||||||
|
|
Loading…
Reference in New Issue