Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A DDNS client that updates providers with host machine's current IP.

Project description

Python-DDNS

GitHub license

PyPI PyPI - Python Version

Gitlab pipeline status (branch) Maintainability

This is program written in python that acts as a DDNS client for various providers. Supports IPv4 and IPv6. Tested and supported on the following Python versions:

  • 3.6
  • 3.7
  • 3.8
  • 3.9
  • 3.10-rc

Provider List

  • <input type="checkbox" disabled="" /> Cloudflare
  • <input type="checkbox" disabled="" /> Hurricane Electric
  • <input type="checkbox" disabled="" /> Strato - @Braumeister
  • <input type="checkbox" disabled="" /> Afraid.org - @Braumeister
  • <input type="checkbox" disabled="" /> DBSimple
  • <input type="checkbox" disabled="" /> NameCheap

Python Install

The recommended way is to use pip to install it.
There is a package available on pypi.

pip install python-ddns
# Setups the config file to the right name
pddns -i

# Modify config.conf with the require fields.

# To check configuration
pddns -t

# Recommended to test to make sure everything works
pddns

# Edit crontab to run script
crontab -e
# Add
0 * * * * <path/to/pddns> >/dev/null 2>&1 #Updates every hour.

Source Install

Source install if you would rather install it that way.

git clone https://gitlab.com/Cyb3r-Jak3/python-ddns
cd python-ddns/
python setup.py install

# Setups the config file to the right name
pddns -i

# Modify config.conf with the require fields.

# To check configuration
pddns -t

# Recommended to test to make sure everything works
pddns

# Edit crontab to run script
crontab -e
# Add
0 * * * * <path/to/pddns> >/dev/null 2>&1 # Updates every hour.

TODO

  • Easier config editing
  • Better service functionality
  • Other DNS systems supported

Project details


Download files

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

Files for python-ddns, version 3.0.0
Filename, size File type Python version Upload date Hashes
Filename, size python_ddns-3.0.0-py3-none-any.whl (24.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size python-ddns-3.0.0.tar.gz (9.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page