mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-02-26 16:42:56 +08:00
9 lines
201 B
Go
9 lines
201 B
Go
package msdns
|
|
|
|
func (client *msdnsProvider) ListZones() ([]string, error) {
|
|
zones, err := client.shell.GetDNSServerZoneAll(client.dnsserver)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return zones, err
|
|
}
|