a simple dyndns client for the ovh api. this tool allows to use dyndns even for canadian accounts.
Go to file
2021-04-16 02:39:23 +02:00
.eslintrc.js add project files 2021-03-30 23:40:33 +02:00
.gitignore fix requestLogs 2021-04-12 22:45:10 +02:00
docker-compose.yml add docker-compose 2021-03-31 21:41:03 +02:00
DynDnsBot.js fix refreshZone 2021-04-12 22:40:46 +02:00
example.config.json fix config, OvhApi, DynDnsBot 2021-04-11 17:46:08 +02:00
index.js create class JsonDataStore / fix proxy 2021-04-01 23:22:09 +02:00
JsonDataStore.js create class JsonDataStore / fix proxy 2021-04-01 23:22:09 +02:00
OvhApi.js fix console and simplify 2021-04-15 23:35:19 +02:00
package.json add sendSignedRequest, getConsumerKey, getSignature 2021-03-31 21:40:49 +02:00
README.md add setup instruction to README.md 2021-04-12 21:39:07 +00:00
setup.js use serverTime and check on setup.js 2021-04-12 22:42:23 +02:00

ovh-api-dyndns

a dyndns client for the ovh-api

This client does not use the ovh dynhost. Instead it updates the records by the ovh-api.

setup

  • copy example.config.json to config.json
  • create an appToken at api.ovh.com/createToken
  • insert the secrets you got from the site to ovhCredentials in config.json - consumerKey can also be updated by the setup scrip
  • add all required domains/zoneNames to records in config.json - the array can be empty for now
  • run node setup.js - if your ovhCredentials are correct, all availabe records will be listed
  • add all required records to the array of the zoneName as shown in example.config.json
    • updateInterval and ttl should be similar and between 60 and 300 (seconds)
    • subDomain and id must be set
    • fieldType defaults to 'A'
    • ttl defaults to 3600
    • target will updated on IP change
  • safe your config to config.json.backup

run with docker-compose

docker-compose up -d

run

node index.js