mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-11-15 12:45:14 +08:00
18 lines
397 B
Go
18 lines
397 B
Go
|
// +build !windows
|
||
|
|
||
|
package activedir
|
||
|
|
||
|
func (c *adProvider) getRecords(domainname string) ([]byte, error) {
|
||
|
if !*flagFakePowerShell {
|
||
|
panic("Can not happen: PowerShell on non-windows")
|
||
|
}
|
||
|
return c.readZoneDump(domainname)
|
||
|
}
|
||
|
|
||
|
func powerShellDoCommand(command string) error {
|
||
|
if !*flagFakePowerShell {
|
||
|
panic("Can not happen: PowerShell on non-windows")
|
||
|
}
|
||
|
return powerShellRecord(command)
|
||
|
}
|