net/dns: remove PerDomain from Config.

It's currently unused, and no longer makes sense with the upcoming
DNS infrastructure. Keep it in tailcfg for now, since we need protocol
compat for a bit longer.

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson
2021-04-01 22:54:40 -07:00
parent f77ba75d6c
commit cf361bb9b1
5 changed files with 8 additions and 31 deletions

View File

@@ -6,8 +6,7 @@ package dns
func newManager(mconfig ManagerConfig) managerImpl {
switch {
// systemd-resolved should only activate per-domain.
case isResolvedActive() && mconfig.PerDomain:
case isResolvedActive():
if mconfig.Cleanup {
return newNoopManager(mconfig)
} else {