AUTODNS: support init command#4272
Conversation
Register CredsMetadata so the AUTODNS provider appears in the `dnscontrol init` wizard. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
| DisplayName: "AutoDNS", | ||
| Kind: providers.KindDNS | providers.KindRegistrar, | ||
| DocsURL: "https://docs.dnscontrol.org/provider/autodns", | ||
| PortalURL: "https://login.autodns.com/", // TODO: Verify |
There was a problem hiding this comment.
To be honest I've never used this, the reseller that manages AutoDNS is based in the Netherlands so I always used https://login.autodns.nl/.
The API is on api.autodns.com (the .com-tld) so I guess this is correct.
|
@TomOnTime — heads up that #4391 adds a new optional Since this PR registers {
Key: "children",
Label: "Include sub-user zones",
Help: "Set to \"true\" so get-zones also lists zones owned by sub-users (master/admin accounts). Optional; defaults to off.",
},Happy to either add it here once this merges, or fold it into #4391 — whichever you prefer. Just didn't want the two to drift out of sync. |
|
Please fold it into #4391 Thanks! |
Summary
Register
CredsMetadatafor AUTODNS so the provider is offered by thednscontrol initwizard.Fields mirror the entries in
integrationTest/profiles.json.CC: @arnoschoon
Test plan
go build ./...passesdnscontrol initlists AUTODNS as an option// TODO: Verifyannotations in the diff (e.g.PortalURL)🤖 Generated with Claude Code