Updates the A record of a domain using the API v2 provided by Digital Ocean.
To update the IP of myrecord.yourdomain.com:
digitalocean-dyndns --domain yourdomain.com --record myrecord
--allownew
: With this flag, the record will be created if it does not exist-v
,-vv
: To increase the verbosity
- Python >= 2.7
- Python package
requests
Install the dependency.
pip install requests
Clone the repository, or download it.
Get a read/write token from your DigitalOcean account.
Edit the file to fill in your token.
That's it.
(To install pip
use brew
, apt-get
or see: http://www.pip-installer.org/en/latest/installing.html)
Licensed under the MIT License