A small app to utilize a DO account as a Dynamic DNS helper
.gitignore | ||
ddns.py | ||
README.md | ||
requirements.txt |
DDNS
DDNS is a dynamic DNS helper for Digital Ocean users to utilize their DO account as a Dynamic DNS resolver.
Installation
Copy the ddns.py
file to e.g. /usr/local/bin
folder and run chmod +x
to make it executable. You can remove the .py filending if you wish.
Run pip3 install -r requirements.txt
to install all requirements the app needs.
Usage
For instructions run
ddns -h
The program is best suited to be executed with e.g cron or any other system that can run at intervals. To run the app every 6 hours with cron add the following line to your crontab
0 */6 * * * /usr/local/bin/ddns
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.