-
Notifications
You must be signed in to change notification settings - Fork 44
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 a custom provider #546
Comments
@augustabt Thank you for your feedback. Could you possibly provide more detail about why you might want to use a non-Cloudflare server? I'm quite curious. PS: ipify was still an option but deprecated because the server does not seem to be actively maintained. |
@favonia for sure. My specific use case is I am running a kubernetes cluster with the pods subnet exposed to a vpn I can connect to. Since the pod ip address can change I wrote a service that gets all the currently active pods and exposes one of their ip addresses that can then be used for dns. I think a more common use case would be someone who has a specific provider they want to use instead of cloudflare. |
@augustabt Sorry for the long delay. I am starting to implement this. The current design is to have something like |
@augustabt I can still change the interface before the release of the next version. Please let me know if you think the implementation should be changed. Thank you! |
For now, im using:
successfully. I think its alright if documented properly. Altough i would think that a format like this:
would be a little easier to understand / read. |
@Aiakio Thanks!
Got it. Here's the current documentation (truncated because it's a bit long). I think I'll tweak it a bit, maybe adding some warnings about using HTTP (not HTTPS).
I get that it would be shorter. I'd like to have an unambiguous prefix so that we can have new custom providers in the future, for example a generic parser to extract the |
For my use case being able to configure a custom provider would be useful. It would basically be a http provider like ipify, but with the ability to use an env variable to configure any url.
The text was updated successfully, but these errors were encountered: