Skip to content

Instantly share code, notes, and snippets.

@nikmartin
Forked from dalhundal/namecheap-ddns.sh
Last active April 5, 2018 13:52
Show Gist options
  • Save nikmartin/7e8521c7ec47dc2af3a40675986a780b to your computer and use it in GitHub Desktop.
Save nikmartin/7e8521c7ec47dc2af3a40675986a780b to your computer and use it in GitHub Desktop.
Shell script to update namecheap.com dynamic dns for a domain with your external IP address
#!/bin/sh
# Shell script to update namecheap.com dynamic dns
# for a domain to your external IP address
HOSTNAME=yoursubdomain
DOMAIN=yourdomainname.com
PASSWORD=y0urp455w0rd
curl "https://dynamicdns.park-your-domain.com/update?host=$HOSTNAME&domain=$DOMAIN&password=$PASSWORD"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment