You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
adb ac05aa1edd | 4 years ago | |
---|---|---|
.eslintrc.js | 4 years ago | |
.gitignore | 4 years ago | |
DynDnsBot.js | 4 years ago | |
JsonDataStore.js | 4 years ago | |
OvhApi.js | 4 years ago | |
README.md | 4 years ago | |
docker-compose.yml | 4 years ago | |
example.config.json | 4 years ago | |
index.js | 4 years ago | |
package.json | 4 years ago | |
setup.js | 4 years ago |
README.md
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
toconfig.json
- create an appToken at api.ovh.com/createToken
- insert the secrets you got from the site to
ovhCredentials
inconfig.json
-consumerKey
can also be updated by the setup scrip - add all required domains/zoneNames to
records
inconfig.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
andttl
should be similar and between 60 and 300 (seconds)subDomain
andid
must be setfieldType
defaults to 'A'ttl
defaults to 3600target
will updated on IP change
- safe your config to
config.json.backup
run with docker-compose
docker-compose up -d
run
node index.js