Skip to content

Instantly share code, notes, and snippets.

@Goddard
Last active January 29, 2024 14:03
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save Goddard/98fdf33088bc8f3f4345f008d3887b0c to your computer and use it in GitHub Desktop.
Save Goddard/98fdf33088bc8f3f4345f008d3887b0c to your computer and use it in GitHub Desktop.
auto update ip script for dynamic dns
curl -i -H "Accept: application/xml" -H "Content-Type: application/xml" -X GET https://dynamicdns.park-your-domain.com/update?host=@&domain=[domain]&password=[update-password]&ip=[local-ip]
@Ae7flux
Copy link

Ae7flux commented Mar 8, 2020

This works for me (note the quote marks):
curl -i -H "Accept: application/xml" -H "Content-Type: application/xml" -X GET "https://dynamicdns.park-your-domain.com/update?host=@&domain=[domain]&password=[update-password]&ip=[local-ip]"

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