You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'd like the possibility to update my current IPv4 and IPv6 automatically with the Dynamic DNS feature.
Describe the solution you'd like
For those who have dual stack at home, I'd like the possibility so the API from DynDNS will pick up IPv6 and IPv4 and update the A and AAAA records simultaneously.
Reacted by chpio, Tobias, Maxime, Michele Federici, Erwan, Jacques PERON, Thomas Havy, Antonio Facciolo, Philipp Staiger, N. Prat and 5 more
Reacted by Raffi Enficiaud, Anthony Graignic, Maxime, Daniel and David Dreschner
DynHost (Dynamic DNS feature) is a legacy feature that we want to fully refactor. We take note of your need, and we will add support of ipv6 in DynHost in the refactored version. Unfortunately I do not have any ETA to give you for now.
Thanks,
Eric - DNS team
Reacted by Azratosh, Tycho Schottdorf, Mehdi, andiandiandiandiandiandi1, Raffi Enficiaud, chpio, Erwan Daubert, Tobias, Maxime, Erwan and 1 more
Reacted by Erwan Daubert, Gnomuz, Duvergier Claude, chpio, Kevin Urbainczyk, Michele Federici, Jerome Canler, Philipp Staiger, Jacques PERON and Julian Cataldo
I check via cron if the dig-ip (dig +short AAAA vpn.mydomain.de @ns103.ovh.net. | tail -n1) is still active on my interfaces and
If not, I execute the following thing:
Its need obviously some optimizations/fixes, but as an starting point, it may help.
Edit: changed it a bit, to get new ipv4,ipv6 addresses and update it. It need existing A and AAAA records previously.
#!/usr/bin/env python3
# API DynDNS
# create token for GET and PUT (or more) https://www.ovh.com/auth/api/createToken
# prefilled url: https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*
# get access
# AK number1
# AS number2
# CK number3
# pip install ovh
# pip install requests
#########################################
import ovh
import json
import requests
application_key="aaaaaaaaaa"
application_secret="bbbbbbbbbbbbb"
consumer_key="ccccccccccccc"
zoneName="mydomain.de"
subDomain="vpn"
interface="eth0"
newIP4=requests.get("https://api4.ipify.org").content.decode()
newIP6=requests.get("https://api6.ipify.org").content.decode()
print(f'{newIP4}\n{newIP6}')
client = ovh.Client(
endpoint='ovh-eu', # Endpoint of API OVH Europe (List of available endpoints)
application_key=application_key, # Application Key
application_secret=application_secret, # Application Secret
consumer_key=consumer_key, # Consumer Key
)
result = client.get(f'/domain/zone/{zoneName}/record', fieldType='A',subDomain=subDomain)
recordID=result[0]
client.put(f'/domain/zone/{zoneName}/record/{recordID}',subDomain=subDomain,target=newIP4,ttl=0)
result = client.get(f'/domain/zone/{zoneName}/record', fieldType='AAAA',subDomain=subDomain)
recordID=result[0]
client.put(f'/domain/zone/{zoneName}/record/{recordID}',subDomain=subDomain,target=newIP6,ttl=0)
client.post(f'/domain/zone/{zoneName}/refresh')
@qupfer So we can update DDNS using an ipv6 but still not update simultaneously ipv4 and v6 ( as ipv6 will replace the v4 entry and vice versa) ?
Edit: I changed the aboove script to update both, ipv4 and ipv6.
But you nee to create one time a A and an AAAA record manually via web-gui.
For example an A Record showing to 127.0.0.1 and one AAAA with fd00::1.
Then create the three API Numbers (AK,AS,CK) and execute the script. Now both entries should show to the correct IP-adresses.
It does not include an check, if an IP address changed. Maybe I add it later
old answer:
Yes and no. My method is not a real DDNS update, Its just change config via API.
With result = client.get(f'/domain/zone/{zoneName}/record', fieldType='A',subDomain=subDomain)
you could receive the record ID of the A-Recroderd and change it in the same way (client.put(f'/domain/zone/{zoneName}/record/{recordID}',subDomain=subDomain,target=1.2.3.4,ttl=0) )
Extend the script, and you could update both.
However, take the update in two different steps is not the worst idea.
At my home, I use different containers (similar to VMs) for different jobs. They are reachable through IPv4 and IPv6.
The problem is: They have all the same IPv4 address (different portforwarding for IPv4 (NAT), but differen IPv6 adresses (no NAT on IPv6)).
A "single-update-Approach" would breake some connection in my setup, as the AAAA Record would only match one service.
At the moment, I have an "univeral" ipv4 adress (updateded from the router as an old fashioned dnydns host) and a servie-specific subdomain, updated from the host itself. It realy depends what you want to achieve and what your setup looks like ( a single host, a vm-host, multiplae host....)
IPv6 for DynDns will be supported in the coming weeks :)
Glad to hear and almost unbelievable after all the years...
@trnsnt, is there any eta? I mean, you mentioned the refactor on Nov 30, 2020 (we have Mar, 2024). Just want to know if it makes sense to wait for this or should dig into other solutions.
Hi @trnsnt,
thanks for the implementation!
From what I tested so far, it is now possible to set an IPv6 address via manager web-ui and update url. However when setting the AAAA-Record, the A-Records is cleared, hence a dual-stack scenario is not possible.
The initial request and the reasonable way would be to have an A and AAAA record simulatneously. Hence it would also require two separate input fields in the gui and an additional myipv6 parameter for the request url.
Could you please look into this again?
Thanks :)
@PerspectivesLab there is no extra field or label. Just use the same field as for ipv4 before. Merely the input validation is allowing ipv6 format now.
Hey @Kwasow, am I right in assuming, that your DynDnS entry resolves to IPv6 only then? The issue is about being able to set and resolve IPv4 (A) AND IPv6 (AAAA) at the same time.
Oh, my bad then @lippl, I thought this was only about IPv6 not resolving at all. I don't have a public IPv4 address, so I can't help with that, unfortunately.
I already wanted to set an IPv6 address to a DynHost for many years, and finally seen it is now possible! But, I was also stuck to set both IPv4 and IPv6 address to the same DynHost.
This creates two records in the DNS Zone, respectively A and AAAA.
Those can then be updated independently using one unique account (e.g., example.net-dynhost).
Activity
trnsnt commentedon Nov 30, 2020
Hello,
DynHost (Dynamic DNS feature) is a legacy feature that we want to fully refactor. We take note of your need, and we will add support of ipv6 in DynHost in the refactored version. Unfortunately I do not have any ETA to give you for now.
Thanks,
Eric - DNS team
antleblanc commentedon Dec 15, 2020
Thanks for the update @trnsnt!
Tycorc commentedon May 26, 2021
Any news regarding the ETA?
Tom94 commentedon Dec 27, 2021
Hi there, I'm another user who'd love to have ipv6 dynamic dns.
djey47 commentedon Apr 23, 2022
Hello, no update?
anthonygraignic commentedon Jun 3, 2022
Hi, any update ?
Would love to fully use IPv6, 24 years after the RFC release :)
And to get this bar bigger (from https://www.arcep.fr/cartes-et-donnees/nos-publications-chiffrees/transition-ipv6/barometre-annuel-de-la-transition-vers-ipv6-en-france.html)

qupfer commentedon Oct 21, 2022
That worked for me:
In normal circumstances, your IPv6 address is your global public address, so you can relay on your "ip -a" (linux) or ipconfig (windows) command to get your IP locally.
After hacking a few lines in python (or using curl or anything similar), you can use the ovh api:
https://api.ovh.com/console/#/domain/zone/{zoneName}/record~GET to get ID of your record
https://api.ovh.com/console/#/domain/zone/{zoneName}/record/{id}~GET to get info if current setting (if needed)
set new one with: https://api.ovh.com/console/#/domain/zone/{zoneName}/record/{id}~PUT
and finally refresh the zone: https://api.ovh.com/console/#/domain/zone/{zoneName}/refresh~POST
I check via cron if the dig-ip (
dig +short AAAA vpn.mydomain.de @ns103.ovh.net. | tail -n1) is still active on my interfaces andIf not, I execute the following thing:
Its need obviously some optimizations/fixes, but as an starting point, it may help.
Edit: changed it a bit, to get new ipv4,ipv6 addresses and update it. It need existing A and AAAA records previously.
Norde commentedon Oct 22, 2022
@qupfer So we can update DDNS using an ipv6 but still not update simultaneously ipv4 and v6 ( as ipv6 will replace the v4 entry and vice versa) ?
qupfer commentedon Oct 22, 2022
Edit: I changed the aboove script to update both, ipv4 and ipv6.
But you nee to create one time a A and an AAAA record manually via web-gui.
For example an A Record showing to 127.0.0.1 and one AAAA with fd00::1.
Then create the three API Numbers (AK,AS,CK) and execute the script. Now both entries should show to the correct IP-adresses.
It does not include an check, if an IP address changed. Maybe I add it later
old answer:
Yes and no. My method is not a real DDNS update, Its just change config via API.
With
result = client.get(f'/domain/zone/{zoneName}/record', fieldType='A',subDomain=subDomain)you could receive the record ID of the A-Recroderd and change it in the same way (
client.put(f'/domain/zone/{zoneName}/record/{recordID}',subDomain=subDomain,target=1.2.3.4,ttl=0))Extend the script, and you could update both.
However, take the update in two different steps is not the worst idea.
At my home, I use different containers (similar to VMs) for different jobs. They are reachable through IPv4 and IPv6.
The problem is: They have all the same IPv4 address (different portforwarding for IPv4 (NAT), but differen IPv6 adresses (no NAT on IPv6)).
A "single-update-Approach" would breake some connection in my setup, as the AAAA Record would only match one service.
At the moment, I have an "univeral" ipv4 adress (updateded from the router as an old fashioned dnydns host) and a servie-specific subdomain, updated from the host itself. It realy depends what you want to achieve and what your setup looks like ( a single host, a vm-host, multiplae host....)
HDebeuf commentedon Jun 5, 2023
Any update on this feature request enabling both ipv4 and ipv6 support with DynHost?
Thank you.
Norde commentedon Jun 19, 2023
Thanks a lot for this update @qupfer!
(sorry for the late reply: I missed my notifications)
PerspectivesLab commentedon Jan 25, 2024
still impossible to do ipv6 dyndns on ovh in 2024 ...
server-home-KaKi87 commentedon Feb 16, 2024
Hello,
Any news on this ?
Thanks
trnsnt commentedon Feb 16, 2024
Hello,
IPv6 for DynDns will be supported in the coming weeks :)
Eric - DNS team
gyptazy commentedon Feb 29, 2024
Glad to hear and almost unbelievable after all the years...
@trnsnt, is there any eta? I mean, you mentioned the refactor on Nov 30, 2020 (we have Mar, 2024). Just want to know if it makes sense to wait for this or should dig into other solutions.
PerspectivesLab commentedon Apr 5, 2024
do you know when this will be released ? its months now @trnsnt
"Seule une IPv4 peut etre utilisée pour la mise en place d'un DynHost. Les IPv6 sont indisponibles."
from: https://help.ovhcloud.com/csm/fr-dns-dynhost?id=kb_article_view&sysparm_article=KB0051644
thx
trnsnt commentedon Apr 5, 2024
Hello @PerspectivesLab
It is ok using apiv6 !
This will be possible using manager when #11307 will be prodded !
thx
lippl commentedon May 15, 2024
Hi @trnsnt,
thanks for the implementation!
From what I tested so far, it is now possible to set an IPv6 address via manager web-ui and update url. However when setting the AAAA-Record, the A-Records is cleared, hence a dual-stack scenario is not possible.
The initial request and the reasonable way would be to have an A and AAAA record simulatneously. Hence it would also require two separate input fields in the gui and an additional myipv6 parameter for the request url.
Could you please look into this again?
Thanks :)
PerspectivesLab commentedon May 15, 2024
Hi @lippl,
i still cant see the option for ipv6 in the dynhost section of the ovh manager, how did you get there ?
thx
lippl commentedon May 15, 2024
@PerspectivesLab there is no extra field or label. Just use the same field as for ipv4 before. Merely the input validation is allowing ipv6 format now.
qupfer commentedon May 24, 2024
i put my "workaround" here: https://git.07q.de/qupfer/ovh_dyndns
Mostly the same as above and its just an example
DerDreschner commentedon Nov 3, 2024
@trnsnt : I don't want to bother, but do you have any updates for us here? :) Thanks!!
Kwasow commentedon Jun 21, 2025
Hey, I've set up DynDNS with an IPv6 address today and it seems to be working. I think this issue can be closed
lippl commentedon Jun 21, 2025
Hey @Kwasow, am I right in assuming, that your DynDnS entry resolves to IPv6 only then? The issue is about being able to set and resolve IPv4 (A) AND IPv6 (AAAA) at the same time.
Kwasow commentedon Jun 21, 2025
Oh, my bad then @lippl, I thought this was only about IPv6 not resolving at all. I don't have a public IPv4 address, so I can't help with that, unfortunately.
antoinbo commentedon Jul 26, 2025
Hi everyone!
I already wanted to set an IPv6 address to a DynHost for many years, and finally seen it is now possible! But, I was also stuck to set both IPv4 and IPv6 address to the same DynHost.
However, I discovered that multiple DynHosts can be created for the same subdomain (Any A or AAAA record with a TTL (Time To Live) of 60 seconds is considered DynHost.), so:
dynhost.example.nettargeting0.0.0.0dynhost.example.nettargeting::This creates two records in the DNS Zone, respectively A and AAAA.
Those can then be updated independently using one unique account (e.g.,
example.net-dynhost).Update the A and AAAA records with two requests:
Lookup the subdomain returns the two versions of IP addresses 😃
Nota: Creating more than one A or AAAA record per subdomain using DynHost return
No record founderror.poikilotherm commentedon Jul 28, 2026
Thanks @antoinbo this was very helpful! Your suggestions still works in 2026, now using this to update via OpenWRT DDNS scripts at OVH.