mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
MSDNS: MSDNS auto-disable message is now more accurate (#1719)
[skip ci]
This commit is contained in:
@ -47,7 +47,7 @@ func init() {
|
|||||||
func newDNS(config map[string]string, metadata json.RawMessage) (providers.DNSServiceProvider, error) {
|
func newDNS(config map[string]string, metadata json.RawMessage) (providers.DNSServiceProvider, error) {
|
||||||
|
|
||||||
if runtime.GOOS != "windows" {
|
if runtime.GOOS != "windows" {
|
||||||
printer.Println("INFO: PowerShell not available. Disabling Active Directory provider.")
|
printer.Println("INFO: MSDNS deactivated. Required OS not detected.")
|
||||||
return providers.None{}, nil
|
return providers.None{}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user