a simple dyndns client for the ovh api. this tool allows to use dyndns even for canadian accounts.
| .eslintrc.js | ||
| .gitignore | ||
| docker-compose.yml | ||
| DynDnsBot.js | ||
| example.config.json | ||
| index.js | ||
| JsonDataStore.js | ||
| OvhApi.js | ||
| package.json | ||
| README.md | ||
| setup.js | ||
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.jsontoconfig.json - create an appToken at api.ovh.com/createToken
- insert the secrets you got from the site to
ovhCredentialsinconfig.json-consumerKeycan also be updated by the setup scrip - add all required domains/zoneNames to
recordsinconfig.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.jsonupdateIntervalandttlshould be similar and between 60 and 300 (seconds)subDomainandidmust be setfieldTypedefaults to 'A'ttldefaults to 3600targetwill updated on IP change
- safe your config to
config.json.backup
run with docker-compose
docker-compose up -d
run
node index.js