Skip to content

netphantm/scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

scripts

miscellaneous scripts


cloudflare-api-update.sh

  • Dynamically update DNS on cloudflare through their API.
  • Uses jq (dirty, I know!).
  • Set CONFIG values to your needs.
  • Add a cronjob like this: */5 * * * * /usr/local/bin/cloudflare-api-update.sh
  • If the first 3 variables are set, the script tries to get the current IP from your Fritz!Box, so it doesn't need a call to ipecho.net to get it. For this to work, you'll need this tool: https://github.com/jhubig/FritzBoxShell. Please escape the password accordingly and uncomment those lines.

This was written quick and dirty, so if you have any suggestions, please feel free to pull and modify it.

License

License

About

miscellaneous scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages