1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00
Files
stackexchange-dnscontrol/providers/msdns/listzones.go

10 lines
201 B
Go
Raw Normal View History

package msdns
func (client *msdnsProvider) ListZones() ([]string, error) {
zones, err := client.shell.GetDNSServerZoneAll(client.dnsserver)
if err != nil {
return nil, err
}
return zones, err
}