mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 10:38:41 -04:00
OVH ZoneDNS #142
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cmatheo on GitHub (Sep 18, 2021).
Hello everyone,
I recently ran into an issue while trying to use your script with OVH's Zone DNS actualization system.
For context, I own mydomain.com and have multiple LAN networks across my country. Firstly, I assigned them special DynHost at first to access some of their services globally, such as:
Then, my needs grew and I put a Nginx Proxy Manager instance at home to access my different services with a simple alias. I wanted to achieve something like:
I already managed to set up something like this for a friend, but using DuckDNS.
I understood that with OVH, my DynHost was not appropriated anymore, and I had to setup a Zone DNS for ddns-updater to use.
I deleted the previously established DynHost and followed all of the steps in the tutorial, creating a Zone DNS: home.mydomain.com
At first everything went well, but after some time the refreshing stopped completely, creating the following error:
I created a new Zone DNS for *.home.mydomain.com, with the same parameters, and this one updates just fine.
How is it my first domain is not updating anymore?
Here is my config file:
Note that the second one, added today, works just fine at the moment, and the first one stopped working after my router rebooted and changed its public IP address - so basically right after I needed it haha - and still isn't functioning.
@fredericrous commented on GitHub (Sep 18, 2021):
error 400 might mean the request is malformed..but we're using a stripped-down version of the official OVH client for this provider..
can you reproduce this issue with https://api.ovh.com/console/#/domain/zone/%7BzoneName%7D/record#GET ?
and https://api.ovh.com/console/#/domain/zone/%7BzoneName%7D/record/%7Bid%7D#PUT ?
@cmatheo commented on GitHub (Sep 18, 2021):
I followed this tutorial, in French, to help me through this: https://fr.wikitwist.com/panne-ovh-comment-utiliser-lapi-pour-changer-votre-zone-dns/
The Web interface API did not return any error to me.
In the meantime, I had to access those subdomains, so I actualised my IP directly from OVH's administration web interface. Note that my new IP ends with 113. the old one ended with 19.
Here is a screenshot of DDNS-Updater right now:
How can it still try to update the "home.mydomain.com" subdomain with the old IP address?
I really have no clue of what happens here.
@fredericrous commented on GitHub (Sep 18, 2021):
Could you run the container with the env variable LOG_LEVEL=debug ?
Could you try removing
"ip_version": "ipv4",
"provider_ip": true
I personally don't have that in my config..
It's weird that "home.mydomain.com" doesn't work for you but "*.home.mydomain.com" works..I would have expected the opposite 🤯
Regarding the IP difference, @qdm12 might have an idea?
@cmatheo commented on GitHub (Sep 19, 2021):
I ran the container in debug mode as you wanted me to.
I understood what happened in the previous screenshot. As I actualised my IP manually on OVH's website, DDNS-Updater saw it was the right IP address and did not bother to change the displayed "Set IP" in the WebUI.

So I reverted manually to my old IP address to reproduce the error:
So far so good, we're back at my original problem without WebUI complications.
And the log console gave me these messages:
Note that here, the Xs are placeholders for hexadecimal values.
Maybe a problem on OVH's side?
@cmatheo commented on GitHub (Oct 11, 2021):
Hello,
I made a few changes in my
config.jsonfile:After a while it seemed to work again, but only for home, not *.home.
I did not have the time to conduce tests with ddns-updater, ut I will try as soon as possible. In the meantime, if you have any idea, I'd be glad to read about it. Thank you!
@qdm12 commented on GitHub (Oct 15, 2021):
Hey @Narthall sorry for the long delay! Also thanks @fredericrous for helping out 💯!
Invalid signatureseems to be the problem 🤔I added some additional context for errors in
14cd7b0a47, do you mind pulling the latest image and post back the logs you get here? So we can know where this 400 status code comes from (list records, create record, update record, refresh record?)@qdm12 commented on GitHub (Jan 21, 2022):
Closing this due to inactivity