I'd like to add a new dynamic DNS service. However, the service requires an HTTP PUT, not a GET. Here's an example using curl:
curl -X PUT --user me@example.net:PASSWORD http://box.example.net/admin/dns/custom ... xample.net
Is there any way to generate a PUT? It doesn't appear that any other providers in ddns_providers.conf use it, and https://github.com/ericpaulbishop/gargo ... _updater.c seems to only use get_url.
Or is there an easier way to solve this? I'm hoping I can do better than just running this on the router... : )
while true; do curl -X PUT http://etc/etc; sleep 900; done
New DDNS service that uses PUT?
Moderator: Moderators
Re: New DDNS service that uses PUT?
It would be reasonably complicated to write it in.
You'd have to modify ewget.
You'd have to modify ewget.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: New DDNS service that uses PUT?
Yep, that makes sense. Thanks! Do you have an opinion on the best way to fix this?
- a PR to add PUT to ddns-gargoyle
- a PR to add DDNS GET support to mail-in-a-box
- just punt and hack it in bash
Re: New DDNS service that uses PUT?
Have you checked if its supported by dnsomatic? If so you can set it up on there and set dnsomatic up as your ddns provider on the router.
Re: New DDNS service that uses PUT?
If you are happy to write PUT support, sure.
If they are happy to accept GET, that's the simpler one for us. At which point a regular PR is fine.
Bash and CRON are good options, they just aren't "pretty"
If they are happy to accept GET, that's the simpler one for us. At which point a regular PR is fine.
Bash and CRON are good options, they just aren't "pretty"
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.