mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
For normal OS resolver, ctrld does not use local addresses as nameserver to avoid possible looping. However, on AD environment with local DNS running, AD queries must be sent to the local DNS server for proper resolving.
16 lines
339 B
Go
16 lines
339 B
Go
//go:build !windows
|
|
|
|
package cli
|
|
|
|
import (
|
|
"github.com/Control-D-Inc/ctrld"
|
|
)
|
|
|
|
// addExtraSplitDnsRule adds split DNS rule if present.
|
|
func addExtraSplitDnsRule(_ *ctrld.Config) bool { return false }
|
|
|
|
// getActiveDirectoryDomain returns AD domain name of this computer.
|
|
func getActiveDirectoryDomain() (string, error) {
|
|
return "", nil
|
|
}
|