Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toggling DNSSEC on a domain #141

Open
WhyNotHugo opened this issue Mar 4, 2023 · 6 comments
Open

Toggling DNSSEC on a domain #141

WhyNotHugo opened this issue Mar 4, 2023 · 6 comments

Comments

@WhyNotHugo
Copy link

I'm moving a few manually-managed domains into terraform, and I'd like to enable dnssec and do the key configuration via tf as well.

Can we have support for this? Or is the API missing support for this too (I can't find it via the API either).

@nlewo
Copy link
Member

nlewo commented Mar 7, 2023

Did you try this resource: https://registry.terraform.io/providers/go-gandi/gandi/latest/docs/resources/dnssec_key ?

(I never tried it so i don't know if if it works as expected 😕)

@nlewo nlewo closed this as completed Mar 7, 2023
@WhyNotHugo
Copy link
Author

WhyNotHugo commented Mar 7, 2023 via email

@WhyNotHugo
Copy link
Author

WhyNotHugo commented Mar 7, 2023 via email

@nlewo
Copy link
Member

nlewo commented Mar 7, 2023

@WhyNotHugo I closed it because i thought the resource was already existing, but this is apparently not the case.
Regarding the "I don't know if it works", i think we could open a more dedicated issue in case of bug.
Also, this provider is a community provider and we have to know some parts of it are really fragile.

Maybe i should have added "a feel free to reopen". Sorry for this, i reopen the issue.

@nlewo nlewo reopened this Mar 7, 2023
@WhyNotHugo
Copy link
Author

I tried looking a bit deeper into this, but I'm not sure if the actual APIs exist in order to build this feature. I don't think DNSSEC can currently be enabled via the API, right? I might have missed it.

@nlewo
Copy link
Member

nlewo commented Mar 8, 2023

@WhyNotHugo I discussed with the Gandi domain team and currently, we don't expose a public route to do that. I asked them if it would be possible to add such kind of route (seems to be possible but no ETA yet).

Without the dedicated public route, it would also be possible to do it with several calls (create and get a liveDNS DNSSEC key and attach it to the domain): that would however be more work to implement it in the provider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants