Skip to content

DIGITALOCEAN: Enable get-zones "all" feature (implement ListZones())#2437

Merged
tlimoncelli merged 2 commits into
DNSControl:masterfrom
RickyGrassmuck:master
Jun 15, 2023
Merged

DIGITALOCEAN: Enable get-zones "all" feature (implement ListZones())#2437
tlimoncelli merged 2 commits into
DNSControl:masterfrom
RickyGrassmuck:master

Conversation

@RickyGrassmuck
Copy link
Copy Markdown
Contributor

Added a ListZones() function to the Digitalocean provider to satisfy the ZoneLister interface.

Previous behavior

> dnscontrol get-zones do_provider - all
provider type do_provider:- cannot list zones to use the 'all' feature

After change

> /workspaces/Misc/dnscontrol/dnscontrol get-zones do_provider - all
$ORIGIN example.com
$TTL 300
@          1800  IN NS    ns1.digitalocean.com.
           1800  IN NS    ns2.digitalocean.com.
           1800  IN NS    ns3.digitalocean.com.
  [...truncated...]

RickyGrassmuck and others added 2 commits June 13, 2023 16:26
Added a ListZones() function to the Digitalocean provider to satisfy the
`ZoneLister` interface.
@tlimoncelli tlimoncelli changed the title Add ListZones() to Digitalocean provider DIGITALOCEAN: Enable get-zones "all" feature (implement ListZones()) Jun 15, 2023
@tlimoncelli tlimoncelli merged commit fddec1d into DNSControl:master Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants