Skip to content

Instantly share code, notes, and snippets.

View rsgalloway's full-sized avatar

Ryan Galloway rsgalloway

View GitHub Profile
@rsgalloway
rsgalloway / namecheap-ddns
Last active September 22, 2018 06:21
Simple Namecheap Dynamic DNS client
#!/bin/sh
set -eu
#
# https://www.namecheap.com/support/knowledgebase/article.aspx/43/11/how-do-i-set-up-a-host-for-dynamic-dns
#
#FETCH="fetch -qo -"
# or for curl:
FETCH="curl -s"
# $1: your domain
# $2: subdomain to update use @ for TLD