https://github.com/hiro5id/docker-open-dns-ip-updater
Docker container to update OpenDNS IP address for networks that have a dynamic IP address
https://github.com/hiro5id/docker-open-dns-ip-updater
Last synced: 3 months ago
JSON representation
Docker container to update OpenDNS IP address for networks that have a dynamic IP address
- Host: GitHub
- URL: https://github.com/hiro5id/docker-open-dns-ip-updater
- Owner: hiro5id
- Created: 2016-02-07T05:21:52.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-28T03:38:46.000Z (over 9 years ago)
- Last Synced: 2025-07-13T16:48:21.432Z (11 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 4
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
open-dns-ip-updater
============
This is a simple Docker container for updating [OpenDNS](http://www.opendns.com/) IP address. This container packs the [ddclient](http://sourceforge.net/projects/ddclient/) application to accomplish this. When using OpenDNS, the purpose of dynamic DNS is to preserve your OpenDNS preferences if your ISP or network operator changes your IP address. The software client keeps your IP up to date with OpenDNS automatically.
Usage
-----
Lets Create the **data-only** container to initialize the **/config** volume
```
docker run --name=opendns-data \
-v /config sebestyen/docker-open-dns-ip-updater \
echo "openDNS data container"
```
Now lets run openDNS updater and attach to the data only container:
```
docker run --name=opendns -d \
-v /etc/localtime:/etc/localtime \
-v /config \
--volumes-from=opendns-data \
sebestyen/docker-open-dns-ip-updater
```
When run for the first time, a file named ddclient.conf will be created in the config dir, and the container will exit. Edit
this file, adding your username (email), password, and domains. Then rerun the command. You can re-start the existing container by running `docker start opendns`
You can edit the config file in the **/config** volume by mounting it and running our container in interactive mode
```
docker run --name=opendns-editor -it \
-v /config \
--volumes-from=opendns-data \
sebestyen/docker-open-dns-ip-updater vi /config/ddclient.conf
```
To check the status, run `docker logs opendns`.