Skip to main content

Program to monitor the LXD API endpoint for container and VM changes and performs DDNS updates to keep DNS records up to date.

Installation

pip install lxd-dyndns

Usage

$ lxd-dyndns -f /etc/lxd-dyndns.conf -d info

An example config file is shown below:

cache_dir = "/var/lib/lxd-dyndns"

[projects.k8s]
dns_server = "192.168.2.1"
dns_port = 8053
dns_transport = "TCP"
dns_key_name = "knot_lxd"
dns_key_secret = "Zj7NdR9/6DJonRuTt/++QgMyvSlD4Ndv+i5SvGtGY3Q="
dns_zone = "lxd.domain.tld."

lxd_server = "https://lxd-leader.domain.tld:8443"
lxd_verify = false
lxd_client_cert = "/etc/ssl/lxd-dyndns/client.crt"
lxd_client_key = "/etc/ssl/lxd-dyndns/client.key"

ipv6_prefixes = [ "dead:beef::0/96" ]
ipv4_prefixes = [ "255.255.255.255/32" ]  # to disable IPv4 records

refresh_interval = 600  # 10 minutes

Release files for lxd-dyndns 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lxd-dyndns 1.1.0
File Size Uploaded
lxd-dyndns-1.1.0.tar.gz 8.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lxd-dyndns 1.1.0
File Interpreter ABI Platform
lxd_dyndns-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.0 kB

Release files / lxd-dyndns-1.1.0.tar.gz

Download URL lxd-dyndns-1.1.0.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0c2bfc0de43bdb4a0810e1bbafaf23b0eaad564f85671e26a752d887104dc949
BLAKE2b-256 checksum
How to use checksums
0cf7a368b2394d3d07f040ce69513acb5691ef256d1affd8b2d5e7838d51b985
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / lxd_dyndns-1.1.0-py3-none-any.whl

Download URL lxd_dyndns-1.1.0-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb9eb164c7fe9754a2b96ec0bd312fc7f023a2f845a1b5b807cbd20b016ee090
BLAKE2b-256 checksum
How to use checksums
673c21902615074e84194f4a49b7b6ceacd94ffcd92344a73cf8ce7e640771e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

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