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

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 http based update protocols.

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

Compatible protocols

Feel free to send pull requests to add more.

Compatible services

This list is incomplete, since there are for example a lot of dyndns2 compatible services out there, but we are not keeping a full list here. Also, due to current limitations in Dyndnsc (#4) it is not yet possible to use an arbitrary service with a compatible protocol (yet).

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+

Documentation

Documentation is available at http://dyndnsc.readthedocs.org/.

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.4 (January 3rd 2014)

  • added: initial support for dnsimple.com through dnsimple-dyndns

  • added: plugin based desktop notification (growl and OS X notification center)

  • changed: for python3.3+, use stdlib ‘ipaddress’ instead of ‘IPy’

  • improved: dyndns2 update is now allowed to timeout

  • improved: freedns.afraid.org robustness

  • improved: webcheck now has an http timeout

  • improved: naming conventions in code

  • added: initial documentation using sphinx

0.3.3 (December 2nd 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 (November 16th 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

  • 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.4.tar.gz (22.9 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.4-py33-none-any.whl (35.6 kB view details)

Uploaded Python 3.3

dyndnsc-0.3.4-py27-none-any.whl (35.6 kB view details)

Uploaded Python 2.7

File details

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

File metadata

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

File hashes

Hashes for dyndnsc-0.3.4.tar.gz
Algorithm Hash digest
SHA256 95bb7f51143a0debcddb73dc2ced655229e7a8ba6280874ddcd553b0536274a4
MD5 fe42fdc31cb42b8138321ee3cfe165d6
BLAKE2b-256 c2a42a359894812739ac65cc7874400600666c2a01a51d63f81f4f175245016d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dyndnsc-0.3.4-py33-none-any.whl
Algorithm Hash digest
SHA256 60b23e5923b637d35c221bd6626f4d9318fd524ab487a2669158b7c50224ff92
MD5 932443531bb0c209acded3a245a3ef69
BLAKE2b-256 a36064c146b4599b2b3aa8d29c11d80d30d5733e637b198aa71228637a897a00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dyndnsc-0.3.4-py27-none-any.whl
Algorithm Hash digest
SHA256 ad5b5e250e21f7079aaa65ca3e2bf49bc360c87afd708aef67e0397c916d4d08
MD5 2e088d24c42e1057fbb8a5827064eff7
BLAKE2b-256 8945d5e284ac6f02f0353f948a71fc00dfc451daf96c08f29f49715c67cccd23

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

This release

0.3.4 This release

3 files

0.3.3

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