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:
9
providers/porkbun/listzones.go
Normal file
9
providers/porkbun/listzones.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user