Skip to main content

Update DNS settings using the Schlundtech XML-Gateway.

Project description

This packages provides a way to update DNS records programmatically, for customers of Schlundtech, using their XML-Gateway.

Many thanks to https://github.com/martinlowinski/php-dyndns for doing the heavy lifting of figuring out how to talk to the XML-Gateway in a way that actually makes it do what we want.

Usage

First, you need to create a subdomain with an A-record in your domain, say home.example.com.

Then you can use the command-line utility provided by this package, like so:

$ schlund-ddns --username USER --password PASS home.example.com 1.2.3.4

(See ddns-update --help for more configuration parameters, e.g. the context that you were told to use when applying for the XML-Gateway.)

Alternatively, set up the provided cgi script schlund-ddns-cgi to provide HTTP access. You’ll need to provide username and password using a configuration file and then passing that file’s path as an environment variable. Here’s an example apache configuration snippet to do this:

ScriptAlias /dns-update /path/to/ddns/schlund-ddns-cgi
<Directory /path/to/ddns/>
  SetEnv DDNS_CONFIG /path/to/ddns/config
  SetEnv PATH_INFO /

  AuthName "Dynamic DNS"
  AuthType Basic
  AuthUserFile /path/to/ddns/htpasswd
  require valid-user
</Directory>

The configuration file is a standard ini file and should look like this:

[default]
username = USER
password = PASS

The HTTP protocol is modeled after the one from NoIP, that is, clients should perform a request like this to trigger a DNS update:

http://example.com/dns-update?hostname=home.example.com&myip=1.2.3.4

CHANGES

1.0.4 (2018-03-03)

  • Make web part Python-3 compatible

1.0.3 (2018-03-03)

  • Make current-setuptools compatible

1.0.2 (2018-03-03)

  • Make Python-3 compatible

1.0.1 (2018-01-14)

  • Move from bitbucket to github

1.0.0 (2014-04-06)

  • First release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ws.ddns-1.0.4.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file ws.ddns-1.0.4.tar.gz.

File metadata

  • Download URL: ws.ddns-1.0.4.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ws.ddns-1.0.4.tar.gz
Algorithm Hash digest
SHA256 8715140a4068b087307e5b31ee4812fd7c30b9a03acdff210f4a2d9560203ee5
MD5 ce231496b2e4dc27d52667ecdecdb997
BLAKE2b-256 a53515e6877cfdd0f0ada8a002b1b0a5e2c1beab773e12d5c9f2d14a7ae089a4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page