Skip to content

Instantly share code, notes, and snippets.

View dotben's full-sized avatar

Ben Metcalfe dotben

View GitHub Profile

Keybase proof

I hereby claim:

  • I am dotben on github.
  • I am dotben (https://keybase.io/dotben) on keybase.
  • I have a public key ASC4m4kByRoUWNzVV6MJrOVwRMXmL4ACbBNuFamXJ_AORwo

To claim this, I am signing this object:

@dotben
dotben / updatelinodesubdomain.sh
Created December 29, 2010 19:47
Shell script to update a subdomain managed by Linode with the IP of a dyndns managed domain
#!/bin/sh
## Shell script to update a subdomain managed by Linode with the IP of a dyndns managed domain
##
## Use this script if you don't want to CNAME the dnydns domain for privacy/security reasons. You
## probably want to run this as a cronjob.
##
## You will find the DOMAIN_ID in the text zone file of your domain between square brackets. The
## RESOURCE_ID is the id arg on the edit url of your chosen subdomain entry.
##
## Based on http://www.cnysupport.com/index.php/linode-dynamic-dns-ddns-update-script