Skip to main content

A dynamic DNS update client

Project description

Dynamic DNS Updater

version py whl license

DDNSU is a Python 3 script for updating dynamic DNS records. It can keep track of your last known IP address and detect your current one to determine if updating records is necessary. Currently, only Namecheap's DDNS is supported.

Installation

The recommended way to install ddnsu is to use pip and install from PyPI:

python -m pip install ddnsu

You can also install from Wheel files available here:

python -m pip install './ddnsu-0.0.0.whl'

Usage

Once installed, the ddnsu command should be available from the command line. At minimum, the domain and hosts to be updated and the DDNS password must be specified. This can be done via command line options:

ddnsu --domain example.com --hosts www forum blog --pswd 1234

Alternatively, they can be specified in a JSON config file named ddnsu_config.json placed in the working directory:

{
    "schema": 1,
    "config": {
        "pswd": "1234",
        "domain": "example.com",
        "hosts": [
            "www",
            "forum",
            "blog"
        ]
    }
}
# `domain`, `hosts`, and `pswd` supplied by config file
ddnsu --log_level debug

All options except --working_dir and --log_level can be used in the config file instead of the command line. If an option is used in both the command line and the config file, the command line value takes precedence.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

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

ddnsu-0.1.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

ddnsu-0.1.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file ddnsu-0.1.0.tar.gz.

File metadata

  • Download URL: ddnsu-0.1.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for ddnsu-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e6840f74f1a68606f0126e42d50d80c0487016bb05f7b2832dbdae8b920a960a
MD5 688f3acd7e69e9fa666f0a1fb2913e5e
BLAKE2b-256 d6ed22592cdd255a385a0b59d44e2a3d80a884923009416f02bcf210ba23e1c6

See more details on using hashes here.

File details

Details for the file ddnsu-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ddnsu-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for ddnsu-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4036770e3cb32f40acb49238882a175b713f9254d5dc4ec9ac1f07cff77531d6
MD5 be17c228ff8090572e519c9f51fe7bbd
BLAKE2b-256 afe8020c47ca76aa6143520c63e298090a7fc2227da3ca95782d909773ce2398

See more details on using hashes here.

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