GithubHelp home page GithubHelp logo

ddns-schlundtech's Introduction

ddns-schlundtech

Simple self hosted ddns service for SchlundTech users, making use of the XML-Gateway.

I've created this to suite my needs, so it's far from being "feature complete" and some assumtions might break usage for others.

Feedback and contributions are always welcome!

What it does

  1. Provides an unsecured http endpoint wating for update request.
  2. On request:
    1. Zone Info (0205) is requested for the given domain.
      1. The given domain is split at the first "." into two parts for this.
      2. First part is interpreted as ressource record name (aka "subdomain").
      3. Second part is interpreted as "zone".
    2. Zone Update (Bulk) 0202001 is sent that
      1. deletes the existing ressource record
      2. creates a new one with the given IP

Currently there is no advances checks or logic etc. So it's initially required to setup the subdomain in the SchlundTech panel first.

Setup

Build

docker build -t ddns-schlundtech .

This will create an alpine based container with the binary.

Install

See docker-compose.yml for how to run the container.

Prepare a save location for the configuration file with the following content:

user = ""
password = ""
context = ""

This file needs to be bind mounted into the container, providing the necessary runtime configuration.

OpenWRT

I've just tested with OpenWRT. The following settings are working for me:

Section
Basic Settings
DDNS Service Provider -- custom --
Lookup Hostname {DOMAIN}
IP address version IPv4-Address
Custom update-URL {DOCKER_HOST}:8080?ip=[IP]&domain=[DOMAIN]
Custom update-script empty
Domain {DOMAIN}
Username none
Password none
Optional Encoded Parameter empty
Optional Parameter empty
Use HTTP Secure unchecked
Advances Settings
IP address source Interface
Interface pppoe-WAN

Replace placeholders: {DOMAIN}, {DOCKER_HOST}

ddns-schlundtech's People

Contributors

jurica avatar

Watchers

 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.