mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-04-05 00:43:53 -04:00
1.8 KiB
1.8 KiB
OVH
Configuration
Example
{
"settings": [
{
"provider": "ovh",
"domain": "domain.com",
"host": "@",
"username": "username",
"password": "password",
"ip_version": "ipv4",
"ipv6_suffix": "",
"provider_ip": true
}
]
}
Compulsory parameters
"domain""host"is your host and can be a subdomain or"@"
Using DynHost
"username""password"
OR Using ZoneDNS
"api_endpoint"default value is"ovh-eu""app_key"which you can create at eu.api.ovh.com/createApp"app_secret""consumer_key"
The ZoneDNS implementation allows you to update any record name including *.yourdomain.tld
Optional parameters
"ip_version"can beipv4(A records), oripv6(AAAA records) oripv4 or ipv6(update one of the two, depending on the public ip found). It defaults toipv4 or ipv6."ipv6_suffix"is the IPv6 interface identifiersuffix to use. It can be for example0:0:0:0:72ad:8fbb:a54e:bedd/64. If left empty, it defaults to no suffix and the raw public IPv6 address obtained is used in the record updating."provider_ip"can be set totrueto let your DNS provider determine your IPv4 address (and/or IPv6 address) automatically when you send an update request, without sending the new IP address detected by the program in the request."mode"select between two modes, OVH's dynamic hosting service ("dynamic") or OVH's API ("api"). Default is"dynamic"
Domain setup
- If you use DynHost: docs.ovh.com/ie/en/domains/hosting_dynhost
- If you use the ZoneDNS API: docs.ovh.com/gb/en/customer/first-steps-with-ovh-api