net/dns: add a Primary field to OSConfig.

Currently ignored.

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson
2021-04-05 13:05:47 -07:00
parent b2a597b288
commit de6dc4c510
9 changed files with 37 additions and 44 deletions

View File

@@ -35,11 +35,3 @@ type Config struct {
// return NXDOMAIN.
AuthoritativeSuffixes []string
}
// OSConfig is an OS DNS configuration.
type OSConfig struct {
// Nameservers are the IP addresses of the nameservers to use.
Nameservers []netaddr.IP
// Domains are the search domains to use.
Domains []string
}