This small application can be used to update the value of a DNS record.
at main 35 lines 968 B view raw view rendered
1# `dyns` DNS Updater 2 3This small application can be used to update the value of a DNS record in 4**DigitalOcean** with the public IP. 5 6This uses [ipify](https://www.ipify.org/) API to obtain the public IP of the host that 7executes this application. 8 9## Install 10 11The recommended way to install `dyns` is using [pipx](https://pipx.pypa.io/latest/installation/). 12This could be done by using directly the repository URL: 13 14```bash 15pipx install git+https://tangled.org/mgabarda.com/dyns-cli 16``` 17 18This will add `dyns` command to your shell: 19 20```bash 21$ dyns -h 22 23usage: dyns [-h] [--version] [-v] [--check] [record] 24 25A simple command to update a DNS record in DigitalOcean with your public IP. 26 27positional arguments: 28 record domain name (ex. 'home.example.com') to update with your public IP 29 30options: 31 -h, --help show this help message and exit 32 --version show version 33 -v increase verbosity of the output 34 --check checks the status of the record 35```