Git Product home page Git Product logo

docker-open-dns-ip-updater's Introduction

open-dns-ip-updater

This is a simple Docker container for updating OpenDNS IP address. This container packs the 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.