1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

PORKBUN: implement ListZones() (#2622)

This commit is contained in:
Stefan
2023-11-15 16:28:41 +01:00
committed by GitHub
parent b5ce165903
commit b8096b7b8a
2 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
package porkbun
func (client *porkbunProvider) ListZones() ([]string, error) {
zones, err := client.listAllDomains()
if err != nil {
return nil, err
}
return zones, err
}