0.0.5 • Published 2 years ago

linode-dynamic-dns-js v0.0.5

Weekly downloads
-
License
GPL-3.0-or-later
Repository
gitlab
Last release
2 years ago

LinodeDynamicDns.js

LinodeDynamicDns.js is a tool which allows you to easily update your Linode DNS records for multiple hosts and domains with your local IPv4 and IPv6 addresses.

Setup

1) npm install -g linode-dynamic-dns-js

2) Create a Linode API token (https://cloud.linode.com/profile/tokens) with read/write permissions on the Domains scope. Use this token in Step 3.

3) Create a configuration file called linode-dynamic-dns-js.config.json in the /etc directory of your system, based on the example file found in example/linode-dynamic-dns.example.json (or in the Config Example section).

4) Add the following cronjob via crontab -e: 0 */24 * * * CONFIG_FILE=/etc/linode-dynamic-dns-js.config.json linode-dynamic-dns-js

Config Example

{
    "token": "LINODE_API_TOKEN",
    "ipv4Url": "https://ipv4.icanhazip.com/",
    "ipv6Url": "https://ipv6.icanhazip.com/",
    "domains": [
        {
            "host": "subdomain1",
            "domain": "example.com"
        },
        {
            "host": "subdomain2",
            "domain": "example.com"
        },
        {
            "host": "",
            "domain": "example.com"
        }
    ]
}
0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago