mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-03-31 06:24:00 -04:00
1.7 KiB
1.7 KiB
OVH
Configuration
Example
{
"settings": [
{
"provider": "ovh",
"domain": "domain.com",
"username": "username",
"password": "password",
"ip_version": "ipv4",
"ipv6_suffix": ""
}
]
}
Compulsory parameters
"domain"is the domain to update. It can beexample.com(root domain) orsub.example.com(subdomain ofexample.com).
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"which you can get at www.ovh.com/auth/api/createToken
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 identifier suffix 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."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