mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-12 18:37:54 +08:00
50db086278
* New provider * Add support for SRV records * Modify ACTIVEDIRECTORY_PS provider to warn that it is deprecated.
9 lines
186 B
Go
9 lines
186 B
Go
package msdns
|
|
|
|
func (c *msdnsProvider) ListZones() ([]string, error) {
|
|
zones, err := c.shell.GetDNSServerZoneAll(c.dnsserver)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return zones, err
|
|
}
|