mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-11-14 12:15:06 +08:00
886dbf6d00
* Make staticcheck more strict and fix new warnings
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
|
|
}
|