Skip to content

Add geodns support to cloudns provider #3936

@anolek

Description

@anolek

Hello,

Is your feature request related to a problem? Please describe.
I want to manage my dns record which are using geodns feature

Describe the solution you'd like
Add support for geodns for cloudns provider.
Adding geodns-location and/or geodns-code for A, AAAA, CNAME, NAPTR and SRV record only.

Describe alternatives you've considered
Cloned the git, adding the missing feature as "metadata" only for the compatible record (inspired by https://docs.dnscontrol.org/provider/huaweicloud) and panic if used with an incompatible record.

// Something like this
A("test", "1.2.3.4", {geodns_location: "103"});
A("test", "1.2.3.4", {geodns_location: "109"})

Additional context
Unsure if adding a "metadata" option is the best idea.
If it is, I can try to send a PR after adding tests and docs.
Let me know what you think.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions