New DDNS service that uses PUT?
Posted: Sun Oct 16, 2016 5:31 am
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
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