This small application can be used to update the value of a DNS record.
Python 99.9%
Other 0.1%
5 1 2

Clone this repository

https://tangled.org/mgabarda.com/dyns-cli https://tangled.org/did:plc:leadkratzafsoun4byj6rp6s/dyns-cli
git@tangled.org:mgabarda.com/dyns-cli git@tangled.org:did:plc:leadkratzafsoun4byj6rp6s/dyns-cli

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

dyns DNS Updater#

This small application can be used to update the value of a DNS record in DigitalOcean with the public IP.

This uses ipify API to obtain the public IP of the host that executes this application.

Install#

The recommended way to install dyns is using pipx. This could be done by using directly the repository URL:

pipx install git+https://tangled.org/mgabarda.com/dyns-cli

This will add dyns command to your shell:

$ dyns -h

usage: dyns [-h] [--version] [-v] [--check] [record]

A simple command to update a DNS record in DigitalOcean with your public IP.

positional arguments:
  record      domain name (ex. 'home.example.com') to update with your public IP

options:
  -h, --help  show this help message and exit
  --version   show version
  -v          increase verbosity of the output
  --check     checks the status of the record