2020-12-29 05:07:33 +08:00
|
|
|
package msdns
|
|
|
|
|
2022-02-12 03:30:45 +08:00
|
|
|
func (client *msdnsProvider) ListZones() ([]string, error) {
|
|
|
|
zones, err := client.shell.GetDNSServerZoneAll(client.dnsserver)
|
2020-12-29 05:07:33 +08:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return zones, err
|
|
|
|
}
|