Skip to main content

dynamic dns update client module that tries to be extensible, re-usable and efficient on network resources

Project description

Description:

dyndnsc is both a script to be used directly as well as a re-usable and hopefully extensible collection of classes for doing updates to dynamic dns services.

Design:

  • updating a dyndns entry is done by a “DynDNS Update Protocol handler”

  • detecting IPs, both in DNS or elsewhere is done using IPDetector’s which all have a detect() method and bookkeeping about changes

  • the DynDnsClient uses the Protocol Handler to do the updates and the IPDetectors to decide when an update needs to occur

  • a dummy endless loop ( used for time.sleep() ) repeatedly asks the DynDnsClient to make sure everything is fine

Features:

  • relatively easy to embed in your own application (see main() for an example)

  • Growl desktop notification support (optional)

Example use:

python dyndnsc.py  --hostname test.dyndns.com --userid bob       --method=Iface,netmask:2001:0000::/32,iface:tun0,family:INET6

Other:

probably works with python 2.3, 2.4 tested with python 2.5, 2.6 and 2.7

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

dyndnsc-0.2.1.tar.gz (13.5 kB view hashes)

Uploaded Source

Supported by

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