dnsupdate
A modern and flexible dynamic DNS client
dnsupdate is a dynamic DNS client that has first-class support for IPv6 and aims to be easily configurable to meet the needs of any situation. Unlike most other dynamic DNS clients, dnsupdate has been designed from the start to support IPv6 and many different update services. It is written in Python and configured using YAML, making it easy to use and extend.
Features
Built-in support for FreeDNS, nsupdate.info, as well as any service that uses the standard DynDNS protocol
IPv6 support
Simple YAML configuration file
Obtain addresses from a web service, router or local interface
Only submits an update if the address has changed
Respects API return values to avoid abuse bans
Installation
pip install dnsupdate
Alternatively, you can simply download and run dnsupdate.py.
It is also available on the Arch Linux AUR.
Dependencies
Python ≥3.5
Beautiful Soup (optional, for scraping router pages)
netifaces (optional, for getting local addresses)
Configuration
dnsupdate is configured using a single YAML file. The path to the file can be specified on the command line. If not, dnsupdate will try to use ~/.config/dnsupdate.conf and /etc/dnsupdate.conf, in that order.
Most users will likely be satisfied with a simple configuration like this:
dns_services:
- type: NSUpdate
args:
hostname: example.nsupdate.info
secret_key: 26Yg7wUhxo
More examples are available in the examples/ directory.
Full documentation is available here: https://dnsupdate.readthedocs.io/
Usage
usage: dnsupdate [-h] [-f] [-V] [config]
Dynamic DNS update client
positional arguments:
config the config file to use
optional arguments:
-h, --help show this help message and exit
-f, --force-update force an update to occur even if the address has not
changed or a service has been disabled
-V, --version show program's version number and exit
Documentation
Documentation is available online, but it can also be built locally by running:
python3 setup.py build_docs
Metadata
Release files for dnsupdate 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dnsupdate-0.4.1.tar.gz | 23.0 kB | Without provenance | Details for dnsupdate-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dnsupdate-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for dnsupdate-0.4.1-py3-none-any.whl |
Total release size: 45.5 kB
Release files / dnsupdate-0.4.1.tar.gz
| Download URL | dnsupdate-0.4.1.tar.gz |
|---|---|
| Size | 23.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b27287ce6123b0d33a45ffb3be72907046ec5f2ba10d0874ed7a56909700b2bc
|
|
BLAKE2b-256 checksum How to use checksums |
a518ded89aa384f529322cae42911cb963b7d1bd77c3feb53dce243098c4e8ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Release files / dnsupdate-0.4.1-py3-none-any.whl
| Download URL | dnsupdate-0.4.1-py3-none-any.whl |
|---|---|
| Size | 22.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d18e7229489049950d68fb3bf1977b8c5f81544c9d426a4cc3962b1dd128c165
|
|
BLAKE2b-256 checksum How to use checksums |
467641ef609d8c87fd3a20b7f5defc5658a552bf7d63ec4a121af028e9d965c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Security for dnsupdate 0.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.