Uses the Dynv6 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-service
# Pull this repository and install dependencies
git clone https://github.com/parzival-space/dynv6-ddns.git
cd ./dynv6-ddns
npm i
# Install this node application
forever-service install dynv6-ddns -s app.js
To install Dynv6-DDNS service you can just run the command below:
forever-service delete dynv6-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 Dynv6-Zone you want to update. | example.org |
token | String | Your access token. | ASDhpoahsdohasODHOhsDASohooA-g |
ipv4Enabled | Boolean | Do you want to update the IPv4 address? | true |
ipv6Enabled | Boolean | Do you want to update the IPv4 address? | false |
interval | Number | The update interval in hours. | 1 |
{
"zone": "<<YOUR_DOMAIN>>",
"token": "<<YOUR_TOKEN>>",
"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.