From c16a926bf217310fec6de351b68692c4e71ee1dd Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 5 Apr 2021 22:40:43 -0700 Subject: [PATCH] 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 --- net/dns/manager.go | 1 + 1 file changed, 1 insertion(+) diff --git a/net/dns/manager.go b/net/dns/manager.go index 111700e1f..bd510b257 100644 --- a/net/dns/manager.go +++ b/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.