Uses the Dynu API to automatically updates the ddns entrys of your domain.
This application is intended to run as a system service on system startup.
By default, the application tries to fetch the current IP address every hour.
If it detects that the IP has changed, the domain gets updated.
It is recommended to use forever-service to install dynv6-ddns as a system service.
# Install forever-service
npm i -g forever forever-service
# Pull this repository and install dependencies
git clone https://github.com/parzival-space/dynu-ddns.git
cd ./dynu-ddns
npm i
# Install this node application
forever-service install dynu-ddns -s app.js
To install Dynu-DDNS service you can just run the command below:
forever-service delete dynu-ddns
To configure the application you just have to edit the config.json file with the following synthax:
Property | Type | Description | Example |
---|---|---|---|
zone | String | The Domain you want to update. | example.org |
token | String | Your API-Key. | ASDhpoahsdohasODHOhsDASohooA-g |
ipv4Enabled | Boolean | Do you want to update the IPv4 address? | true |
ipv6Enabled | Boolean | Do you want to update the IPv6 address? | false |
interval | Number | The update interval in hours. | 1 |
{
"zone": "<<YOUR DOMAIN>>",
"token": "<<YOUR API KEY>>",
"ipv4Enabled": true,
"ipv6Enabled": false,
"interval": 1
}
These are the APIs the applications uses:
seeip.org to fetch current IP adress (IPv4 and IPv6).
dynv6.com to update your DNS records.