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

No issues, works perfectly! Cloudflare API integration? #144

Closed
Marixlive opened this issue May 14, 2019 · 8 comments
Closed

No issues, works perfectly! Cloudflare API integration? #144

Marixlive opened this issue May 14, 2019 · 8 comments

Comments

@Marixlive
Copy link

Hello
Thank you for this awesome Project!
Can you integrate the cloudflare api? To automatically create a cloudfalre dns entry when creating a new proxyhost? Would be so practically.

Have a nice day and greetings matthias

@OhHeyAlan
Copy link
Contributor

@Marixlive BTW, since you use Cloudflare, you can generate origin certs from their dashboard that won't expire for 15 years... :-)

@sieb22
Copy link

sieb22 commented May 15, 2019

Hello
Thank you for this awesome Project!
Can you integrate the cloudflare api? To automatically create a cloudfalre dns entry when creating a new proxyhost? Would be so practically.

Have a nice day and greetings matthias

Also maybe to add on to that, Update the IP when the hosts IP address changes.

@jc21
Copy link
Member

jc21 commented May 16, 2019

Update the IP when the hosts IP address changes.

That would mutate this project in to a dynamic dns service.

Automatically updating DNS services for required settings is a nice idea, I can see some complications with requesting SSL at the same time as creating a DNS entry and that would fail because of race conditions.

To further the suggestion, AWS Route 53 or other DNS services could be included.

@sieb22
Copy link

sieb22 commented May 20, 2019

That would mutate this project in to a dynamic dns service.

Well it would be easier then doing it manually or editing a config via scripts.

Also maybe I am just blind but is there a update log ?

@jc21
Copy link
Member

jc21 commented Nov 7, 2019

@andriej
Copy link

andriej commented Apr 30, 2020

How about cloudflare API so DNS-challenge for lets encrypt is possible?

@DJManuel
Copy link

Starting from V2.5.0 the support for CF DNS Challenge has been added (Thank you a lot for this feature, I really like it :) ), I think this addition would be very good to directly create a DNS record using the CF API.
I think it should be relativly easy to use the API for that, and have a checkbox when creating a new proxy host to create a new DNS entry.
With the problem you've mentionned about the timing between creation of DNS and SSL request, It may be easy aswell to have some kind of "Task Queue" for that, so that first of all the DNS request is being created and the SSL request is in Queue and may be checked every few N-seconds / minutes until the DNS entry has been propagated.

@Marixlive Maybe Is there some specific reason for the closure of this feature request? Could it be re-opened, and probably has a more descriptive Title ("Cloudflare API Integration" is quite general, more specific title like "DNS Entry creation using CF API" or there about), Otherwise I can create a new feature request for this topic.

I would defentetly love such a feature to be implemented, however it is nothing of urgency :)
Anyhow, keep up your good and appreciated work with this project 👍

@martinkeat
Copy link

Update the IP when the hosts IP address changes.

That would mutate this project in to a dynamic dns service.

Automatically updating DNS services for required settings is a nice idea, I can see some complications with requesting SSL at the same time as creating a DNS entry and that would fail because of race conditions.

To further the suggestion, AWS Route 53 or other DNS services could be included.

Mutation into DDNS alongside reverse proxy wouldn't be a bad thing. Especially for those of us tearing our hair out with dynamic IP addresses. LOL - Also the idea of having cloudflare API to automatically setup origin certificates and setup the correct security settings that would be a freaking game changer.

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

No branches or pull requests

7 participants