Skip to main content

Dyndnsc - dynamic dns update client

https://travis-ci.org/infothrill/python-dyndnsc.png https://coveralls.io/repos/infothrill/python-dyndnsc/badge.png https://badge.fury.io/py/dyndnsc.png https://pypip.in/d/dyndnsc/badge.png

dyndnsc is both a script to be used directly as well as a re-usable and hopefully extensible python package for doing updates over http to dynamic dns services. This package currently focuses on supporting the dyndns2 protocol (http://dyn.com/support/developers/api/) and variations thereof.

Examples

Basic example that should fit most peoples needs:

$ dyndnsc  --hostname test.dyndns.com --userid bob --password=fub4r

Are you using Miredo and want to assign a hostname dynamically to your ipv6 tunnel?

$ dyndnsc  --hostname test.dyndns.com --userid bob --method=teredo

Supported services

Currently, (at least basic) support is offered for

Feel free to send pull requests to add more.

Installation

$ pip install dyndnsc

or, if you want to work using the source tarball:

$ python setup.py install

Requirements

  • Python 2.6, 2.7, 3.2 or 3.3

Goals

dyndnsc was born as a minimal module for use in the ANGEL APP, a p2p filesystem on top of webdav. At the time, the command line interface was not important. Now that time has passed, the goals are essentially to provide both an easy to use command line tool as well as providing an OK API for developers who want to add dyndns capabilities to their software. Also, providing support for many different ways of detecting and updating IP/DNS records is important.

Status

dyndnsc is currently still in alpha stage, which means that any interface can still change at any time. For this to change, it shall be sufficient to have documented use of this package which will necessitate stability (i.e. community process).

Release history

0.3.3 (02.12.2013)

  • added: experimental support for http://freedns.afraid.org

  • added: detecting ipv6 addresses using ‘webcheck6’ or ‘webcheck46’

  • fixed: long outstanding state bugs in detector base class

  • improved: input validation in Iface detection

  • improved: support pytest conventions

0.3.2 (16.11.2013)

  • added: command line option –debug to explicitly increase loglevel

  • fixed potential race issues in detector base class

  • fixed: several typos, test structure, naming conventions, default loglevel

  • changed: dynamic importing of detector code

0.3.1 (November 2013)

  • added: support for https://nsupdate.info

  • fixed: automatic installation of ‘requests’ with setuptools dependencies

  • added: more URL sources for ‘webcheck’ IP detection

  • improved: switched optparse to argparse for future-proofing

  • fixed: logging initialization warnings

  • improved: ship tests with source tarball

  • improved: use reStructuredText rather than markdown

0.3 (October 2013)

  • moved project to https://github.com/infothrill/python-dyndnsc

  • added continuous integration tests using http://travis-ci.org

  • added unittests

  • dyndnsc is now a package rather than a single file module

  • added more generic observer/subject pattern that can be used for desktop notifications

  • removed growl notification

  • switched all http related code to the “requests” library

  • tentatively added http://www.noip.com

  • removed dyndns.majimoto.net

  • dropped support for python <= 2.5 and added support for python 3.2+

0.2.1 (February 2013)

  • moved code to git

  • minimal PEP8 changes and code restructuring

  • provide a makefile to get dependencies using buildout

0.2.0 (February 2010)

  • updated IANA reserved IP address space

  • Added new IP Detector: running an external command

  • Minimal syntax changes based on the 2to3 tool, but remaining compatible with python 2.x

0.1.2 (July 2009)

  • Added a couple of documentation files to the source distribution

0.1.1 (September 2008)

  • Focus: initial public release

Download files

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

Source Distribution

dyndnsc-0.3.3.tar.gz (18.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

dyndnsc-0.3.3-py33-none-any.whl (28.3 kB view details)

Uploaded Python 3.3

dyndnsc-0.3.3-py32-none-any.whl (30.5 kB view details)

Uploaded Python 3.2

dyndnsc-0.3.3-py27-none-any.whl (28.3 kB view details)

Uploaded Python 2.7

File details

Details for the file dyndnsc-0.3.3.tar.gz.

File metadata

  • Download URL: dyndnsc-0.3.3.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dyndnsc-0.3.3.tar.gz
Algorithm Hash digest
SHA256 bd0ac79a558b1540086967428088a5807b65967f1dc613717a0f53a9e2c5f71e
MD5 6cddb09e9b6ca681c47e07a0529383d2
BLAKE2b-256 0a001724b5b431b22e54ec31cc8dcbcaae9e1e635f002766af475cdb604de607

See more details on using hashes here.

File details

Details for the file dyndnsc-0.3.3-py33-none-any.whl.

File metadata

File hashes

Hashes for dyndnsc-0.3.3-py33-none-any.whl
Algorithm Hash digest
SHA256 0fc181467607969007bcc0b4371cb215b6644e20cdc953c564557693c5cc6978
MD5 e3f64598616c5cb69b800f112b5fdf34
BLAKE2b-256 5871e1abe04d17372eab34012822261ebc4d0685f3e2d8980aaa9dfdc0067bed

See more details on using hashes here.

File details

Details for the file dyndnsc-0.3.3-py32-none-any.whl.

File metadata

File hashes

Hashes for dyndnsc-0.3.3-py32-none-any.whl
Algorithm Hash digest
SHA256 b995fb841da5028a2c1e8edbf341db54c0e18609bda22b579b5cc3f4a927b3ed
MD5 c52f90f0b5c9d5135067f2916ddb7ab3
BLAKE2b-256 dc9fd51bd77b28522ede93f3f8e45937856a97c60b542635f916394dc7e125d6

See more details on using hashes here.

File details

Details for the file dyndnsc-0.3.3-py27-none-any.whl.

File metadata

File hashes

Hashes for dyndnsc-0.3.3-py27-none-any.whl
Algorithm Hash digest
SHA256 b9629fbfe1cbee4ec050e4d916a20f3b89c34e19974fb51a8b6d70154d5ae5ab
MD5 f7178e08892b37be6c1bec6ae61ecf7a
BLAKE2b-256 1a2fe98b846ea2ab570f7a1667f258de6a54c5499cca87a94249117e9c10b7fa

See more details on using hashes here.

Release history Release notifications | RSS feed

0.6.1

2 files

0.6.0

2 files

0.5.1

2 files

0.5.0

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.3.4

3 files

This release

0.3.3 This release

4 files

0.3.2

3 files

0.3.1

1 file

0.3

1 file

0.2.1

1 file

0.2.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page