mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-17 21:07:49 +08:00
17 lines
419 B
Go
17 lines
419 B
Go
// +build !windows
|
|
|
|
package activedir
|
|
|
|
func (c *activedirProvider) getRecords(domainname string) ([]byte, error) {
|
|
if !c.fake {
|
|
panic("Can not happen: PowerShell on non-windows")
|
|
}
|
|
return c.readZoneDump(domainname)
|
|
}
|
|
|
|
func (c *activedirProvider) powerShellDoCommand(command string, shouldLog bool) error {
|
|
if !c.fake {
|
|
panic("Can not happen: PowerShell on non-windows")
|
|
}
|
|
return c.powerShellRecord(command)
|
|
}
|