Dynamic DNS updater script that automatically updates DNS records on DNSimple.
1.3K
https://hub.docker.com/r/oleduc/dnsimple-dynamic-dns
This project provides a dynamic DNS updater script that automatically updates DNS records on DNSimple based on the current external IP address of the host it's running on. Designed to run in a Docker or Podman container for easy deployment, it ensures that your DNS records always point to the correct IP address, which is especially useful for home servers, IoT devices, or any instance where the IP address may change frequently. Prerequisites
To get started, clone this repository to your local machine: sh
git clone https://github.com/oleduc/dnsimple-dynamic-dns.git
cd dnsimple-dynamic-dns
Before running the script, you need to set up your configuration:
Important: The script requires a properly configured config.yml file to function correctly.
To build the Docker image, execute: sh
docker build -t dnsimple-dynamic-dns .
To run the Docker container and mount the config directory: sh
docker run -d -v $(pwd)/config:/config dnsimple-dynamic-dns
For convenience, you can use Docker Compose to manage the build and run process: sh
docker-compose up --build -d
To stop the service: sh
docker-compose down
The script can be customized by modifying the config.yml file. For advanced customizations, you may also edit the Python script to add or modify functionality. Please ensure you're familiar with Python and the DNSimple API before making any changes.
If you encounter issues, first verify that your config.yml file is correctly configured with your DNSimple credentials and target DNS records. Ensure that the Docker container has network access and can reach the DNSimple API and the external IP address resolution service.
Contributions to dnsimple-dynamic-dns are welcome! If you have improvements or bug fixes, please fork the repository and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.
This project is open-source and available under the MIT License.
Content type
Image
Digest
sha256:b3a9d31fb…
Size
24.7 MB
Last updated
6 months ago
docker pull oleduc/dnsimple-dynamic-dns