ddns

Visit site

Create, delete and maintain subdomains as a dynamic dns solution with Digital Ocean

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.

Support

If you found a bug or you have sugestion for new features create an issue.

Future development

  • [ ] IPv6 support
  • [ ] Add and delete non existing (new) domains to DO account

License

GPLv3

Was this helpful?
 
Leave a comment


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Publish your Tool on Community

Have you created an Integration, API Wrapper, Service, or other Tool that helps developers build on DigitalOcean? Help users find it by listing it in Community Tools.

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel