net/dns: add GetBaseConfig to OSConfigurator interface.
Part of #953, required to make split DNS work on more basic platforms. Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:

committed by
Dave Anderson

parent
fe9cd61d71
commit
68f76e9aa1
@ -142,6 +142,11 @@ func (m resolvconfManager) SupportsSplitDNS() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (m resolvconfManager) GetBaseConfig() (OSConfig, error) {
|
||||
// TODO
|
||||
return OSConfig{}, nil
|
||||
}
|
||||
|
||||
func (m resolvconfManager) Close() error {
|
||||
var cmd *exec.Cmd
|
||||
switch m.impl {
|
||||
|
Reference in New Issue
Block a user