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

Support for provider: Strato #2197

Open
4 of 5 tasks
mwLabs-eu opened this issue May 29, 2024 · 14 comments
Open
4 of 5 tasks

Support for provider: Strato #2197

mwLabs-eu opened this issue May 29, 2024 · 14 comments

Comments

@mwLabs-eu
Copy link

mwLabs-eu commented May 29, 2024

Welcome

  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, the DNS provider exposes a public API.
  • Yes, I know that the lego maintainers don't have an account in all DNS providers in the world.
  • Yes, I'm able to create a pull request and be able to maintain the implementation.
  • Yes, I'm able to test an implementation if someone creates a pull request to add the support of this DNS provider.

How do you use lego?

Other

Link to the DNS provider

https://www.strato.de

Link to the API documentation

https://github.com/flixma/certbot-dns-strato

Additional Notes

Using Lego implemented into Zoraxy.

I´ve added a URL to a Cerbot plugin for this provider, as I don't know if documentation is available. But with this provider it its already implemented for nginx proxy manager. I hope this helps too.

@ldez ldez changed the title Support for provider: <put the name of your provider> Support for provider: Strato May 29, 2024
@ldez
Copy link
Member

ldez commented May 29, 2024

Hello,

The implementation https://github.com/FlixMa/certbot-dns-strato/blob/main/certbot_dns_strato/dns_strato.py doesn't use an API but HTML scrapping.

In lego, we only use API because lego can be used with many domains and HTML scrapping is slow and weak.

I don't know if a real API exists or not, but I recommend contacting Strato to ask them.

@ldez
Copy link
Member

ldez commented May 29, 2024

I found this API doc but it's not for handling DNS entries.

So I found no useful API for lego.

I still recommend contacting Strato to ask them.

As a workaround, if you have a domain owned by another DNS provider, you can use CNAME.

@mwLabs-eu
Copy link
Author

Thanks for the quick answer and explanation. Totally makes sense.

I´ve opened a ticket at Strato and asked for an API. Will update ASAP then.

@izgimmer
Copy link

izgimmer commented Jun 8, 2024

Thanks for the quick answer and explanation. Totally makes sense.

I´ve opened a ticket at Strato and asked for an API. Will update ASAP then.

As I am also a strato customer, I would be interested in any progress =)

@mwLabs-eu
Copy link
Author

Oof, sorry. Totally forgot to answer.

Strato does NOT offer API for this.

@izgimmer
Copy link

izgimmer commented Jun 8, 2024

To bad, thanks for the feedback.

@ldez
Copy link
Member

ldez commented Jun 8, 2024

As a workaround, if you have a domain owned by another DNS provider, you can use CNAME.

https://letsencrypt.org/2019/10/09/onboarding-your-customers-with-lets-encrypt-and-acme.html#the-advantages-of-a-cname

@neumeier-cloud

This comment was marked as abuse.

@ldez
Copy link
Member

ldez commented Oct 25, 2024

@neumeier-cloud I need you to read the issue before posting:

I need you to contact Strato to ask them to add an API for DNS record management.

@kappuchino
Copy link

kappuchino commented Oct 26, 2024

Remark: No discouragement, but I happen to be a strato customer for a long time. I have given up asking them every year or so about having a dns api. Also they still don't offer v6 reverse DNS on their v-servers. Apart from that their virtual servers combined with a capable dns provider like hetzner (via robot) it works for me.

@luca910
Copy link

luca910 commented Oct 30, 2024

I am a strato customer aswell and in the docs it says that lego can use an external exec to set the DNS-records so i build a shell script that uses the source behind https://github.com/flixma/certbot-dns-strato.

https://github.com/luca910/traefik-strato

@ldez
Copy link
Member

ldez commented Oct 30, 2024

in the docs it says that lego can use an external exec to set the DNS-records

In which documentation?


As I said my first comment, flixma/certbot-dns-strato uses HTML scrapping because there is no API.

HTML scrapping is slow and weak:

  • the pages need to be loaded
  • if Strato changes a text or the HTML structure then the implementation will be broken

@luca910
Copy link

luca910 commented Oct 30, 2024

in the docs it says that lego can use an external exec to set the DNS-records

In which documentation?

https://go-acme.github.io/lego/dns/exec/

@ldez
Copy link
Member

ldez commented Oct 30, 2024

ok your sentence was extremely ambiguous, I trough it was inside a Strato documentation.

@ldez ldez added state/need-api-information Need API documentation and/or API and removed stale labels Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

6 participants