Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/parzival-space/dynu-ddns

Uses the Dynu API to automatically updates the ddns entrys of your domain.
https://github.com/parzival-space/dynu-ddns

dns dyndns dyndns-refresh dyndns-service dyndns-updater dynu dynu-dns javascript nodejs

Last synced: about 1 month ago
JSON representation

Uses the Dynu API to automatically updates the ddns entrys of your domain.

Awesome Lists containing this project

README

        

# Dynu-DDNS

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.

## Installation

It is recommended to use forever-service to install dynv6-ddns as a system service.

```bash
# 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
```

### Uninstall

To install Dynu-DDNS service you can just run the command below:

```bash
forever-service delete dynu-ddns
```

## Configuration

To configure the application you just have to edit the config.json file with the following synthax:

PropertyTypeDescriptionExample
zoneStringThe Domain you want to update.example.org
tokenStringYour API-Key.ASDhpoahsdohasODHOhsDASohooA-g
ipv4EnabledBooleanDo you want to update the IPv4 address?true
ipv6EnabledBooleanDo you want to update the IPv6 address?false
intervalNumberThe update interval in hours.1

### Example

```json
{
"zone": "<>",
"token": "<>",

"ipv4Enabled": true,
"ipv6Enabled": false,

"interval": 1
}
```

## API Endpoints

These are the APIs the applications uses:
seeip.org to fetch current IP adress (IPv4 and IPv6).
dynv6.com to update your DNS records.