-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add DNS provider for YandexCloud #1694
Conversation
Hello, in order for a PR adding a DNS provider to be accepted, you have to:
make test
make test
make generate-dns
rm -rf .lego
./lego -m your@email.com --dns YOUR_PROVIDER_NAME -d *.example.com -d example.com -s https://acme-staging-v02.api.letsencrypt.org/directory run Note the wildcard domain is important.
make checks
|
I do not promise to do everything in one day, but I will try, I will keep a checklist in this comment
rm -rf .lego
./lego -m your@email.com --dns YOUR_PROVIDER_NAME -d *.example.com -d example.com -s https://acme-staging-v02.api.letsencrypt.org/directory run Result without envs:
Result with real credentials in envs but with domain that i do not owns:
Result with real credentials in envs and domain that i owns:
make checks Result: lot of
|
# Conflicts: # providers/dns/yandexcloud/yandexcloud.go
Done as i think |
Is there anything else I should do as part of this pull request? |
Please give me a feedback about this |
@kluevandrew have you used the |
Yes, yandex supports only one TXT record for domain, but with multiple values PS After your question, I stopped being sure that this is really necessary. |
In fact, this means that Yandex supports multiple TXT records for a domain because DNSes are just key-value stores. Maybe you have to change your implementation. |
No problem, i will check all cases and fix implementation in few days |
Respect cases when TXT record already present. Fix linter errors
@ldez done, now it's not sequential, work normally even if TXT record for _acme_challenge is already present and does not produces if it already has needed value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you 👍
DNS Provider implementation for Yandex Cloud - 1 of 2 largest cloud providers in Russia
closes #1693