GithubHelp home page GithubHelp logo

haltug / dynu-dynamic-dns-domain-container Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 7 KB

Dynu Dynamic DNS Domain Container

Home Page: https://github.com/yakton/Dynu-Dynamic-DNS-Domain-Container

Dockerfile 17.31% Shell 82.69%

dynu-dynamic-dns-domain-container's Introduction

About

This docker image is for being able to update the Dynamic DNS available from Dynu.com.

This image uses curl and crontabs to execute the curl command necessary to update with Dynu.

Dynu curl documentation: https://www.dynu.com/DynamicDNS/IPUpdateClient/cURL

How to Use This Image

Start This Container

Build the image

docker image build . --target=dynu_domain --tag dynu_dns

Run the image

docker run -d -e DYNU_PASSWORD=SHA256_PASSWORD -e DYNU_DOMAIN=example.domain.org dynu_dns

Via Docker-Compose

version: '3.7'

services:
  ddns:
    container_name: dynu_dns
    build:
      context: .
      target: dynu_domain
    environment:
      - DYNU_PASSWORD=SHA256_PASSWORD
      - DYNU_DOMAIN=example.domain.org
      - VERIFY_DYNU_CONFIG=true
      - TIME_INTERVAL=*/5 * * * *
    restart: always

Environment Variables

Environment Variable Optional Purpose Example Value Default
DYNU_ALIAS Yes* Update the specified Dynu alias
DYNU_PASSWORD No The Dynu password as MD5 to use to authenticate to Dynu
DYNU_DOMAIN Yes* Update the specified Dynu domain example.dynu.net
DYNU_USERNAME Yes* Update all domains under the specified Dynu username
TIME_INTERVAL Yes Set the time interval for calling the Dynu IP update API, must be specified in a cron format * * * * * */10 * * * *
UPDATE_IP_V4 Yes Update the IP v4 address false true
UPDATE_IP_V6 Yes Update the IP v6 address false true
VERIFY_DYNU_CONFIG Yes On container startup verify that the cURL command gets a successful response from Dynu false true

*Either a username has to provided, a hostname, or an alias, a hostname, and username.

Visit https://www.dynu.com/NetworkTools/Hash to get MD5 or SHA256 hash value of your password

dynu-dynamic-dns-domain-container's People

Contributors

haltug avatar yakton avatar

Watchers

James Cloos avatar

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.