Skip to content
🌍 Automate setting of DNS entries in inwx.de nameserver
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.dockerignore
.env.example
.gitignore
.ruby-gemset
.ruby-version
Dockerfile
Gemfile
Gemfile.lock
LICENSE
README.md
script.rb

README.md

INWX Update

Automate setting of DNS entries in inwx.de nameserver.

The script will:

  • Query for existing records with the same name
  • Delete them
  • Create a new record with the specified name and value

Usage:

Standalone

You'll need to have a clone of this repository and a working ruby installation.

$ cd ~/Code/github.com/klausmeyer/inwx-update
$ bundle install
$ cp .env.example .env
$ $EDITOR .env # change the configs to your needs
$ bundle exec ruby script.rb

Docker

Simply use the ready-to-go docker image or build on your own.

$ docker build -t klausmeyer/inwx-update . # optional to build from source
$ docker run -it --rm \
  -e LOGIN=username \
  -e PASSWORD=password \
  -e DOMAIN=example.com \
  -e TYPE=TXT \
  -e RECORD=_acme-challenge \
  -e VALUE=changeme \
  klausmeyer/inwx-update

License

MIT

You can’t perform that action at this time.