(Note: Lots of this project has been generated by GitHub Copilot, and tweaked by me) This is a repository for the dynu-rest-api-updater project.
Please Note: I am not affiliated with Dynu in any way this project is made entitely for fun.
Caution
This code currently stores your client ID and your API key in plaintext at %USERPROFILE%/dynu_secret.json
You will need to exercise caution around this file and make your own judgement on if this is a safe thing to do. I take no responsibility for leaked keys.
I usually was using a Rasberry Pi 2 running DietPI to run simple scripts like this to update my IP address and more but I found during my house move that I was only able to setup my Desktop PC and this meant sometimes servers were running for me but their DDNS was not.
To combat this, I built this application that could run on my host machine to automatically update the IP of a given DDNS domain or group while running my servers also.
The dynu-rest-api-updater is a tool that allows you to update your Dynu DNS records using the Dynu REST API. It provides a simple and convenient way to automate the process of keeping your DNS records up to date.
- Update Dynu DNS records using the Dynu REST API
- Easy configuration and setup
- Automatic IP address detection
- Scheduled updates to your API key
To install the dynu-rest-api-updater, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/dynu-rest-api-updater.git
- Install the required dependencies:
pip install -r requirements.txt
- Configure the application by editing the
secret.json
file or just run the application and paste values in (they are saved every time you make a request) - Run the application:
python -m dynu-updater
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more information.