Skip to content

Instantly share code, notes, and snippets.

View mstancombe's full-sized avatar

Mike Stancombe mstancombe

  • 3CS Software
  • Brisbane, Australia
View GitHub Profile
@mstancombe
mstancombe / update_dnsimple_host.sh
Created October 8, 2017 03:07
Simple script to refresh a DNSimple zone record from an LEDE wan IP, for dynsns behaviour with DNSimple
#!/bin/sh
###############
# User Variables, These MUST be set
###############
# Credentials
# Be sure that if there are restricted characters like " in the password that they are escaped, eg, ="A\"B"
# TODO: storing in a built in encrypted location, to prevent accidental copy including credentials.
DNSimpleUser="yourusername@yourdomain.com"