NamecheapDDNS is a Python3 script which leverages a url that Namecheap provides to update the A record of a domain.
The following url is used (The script uses https):
dynamicdns.park-your-domain.com/update?host=<subdomain>&domain=<domain>&password=<password>&ip=[ip. If left blank, public ip is used.]
You can copy the file NamecheapDDNS.py into your /usr/local/bin
Usage: updateNCIP <domain> <password> <subdomain> [-a | --ip ] [--help] Where subdomain is the host you want to assign an ip to (eg. "@", "www"). NOTE: By default, the argument "*" (wildcard) points to all of the files in a directory. To define a host that is a literal wildcard, use a backslash (eg. "\*")
Contribute as you would any other GitHub project.
Requires Python3 and up. Confirmed working with Python3.4
Licensed under the LGPL, full text can be found at LICENSE.txt