mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 10:38:41 -04:00
Feature request: ipv4 AND ipv6 update #299
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 @felixwrt on GitHub (Jul 19, 2023).
I want to update both the ipv4 (A) and the ipv6 (AAAA) address. I'm using cloudflare and strato as providers. I'm currently using the following configuration where I'm duplicating the entries for each provider to set ipv4 and ipv6 respectively:
This approach has a couple of disadvantages:
https://mydomain.com:pw@dyndns.strato.com/nic/update?hostname=mydomain.com&myip=<ip_addr>. Using ipv4 and ipv6 as separate entries in the config causes two update requests to be sent. I've been banned for abuse while setting everything up and while I'm not 100% sure, I could imagine that performing two requests per update contributed to that.It seems like the "Set IP" column shows the latest updated IP for each domain and doesn't filter for the IP type. Same goes for the "Previous IPs" column.
Feature request:
"ip_version": "ipv4 and ipv6"that updates both the A and AAAA records with the corresponding IPshttps://mydomain.com:pw@dyndns.strato.com/nic/update?hostname=mydomain.com&myip=<ipv4_addr>,<ipv6_addr>I hope that this request makes sense. Thanks in advance and let me know if you have questions.
Logs
updates.json
@felixwrt commented on GitHub (Aug 4, 2023):
I just opened #514 which fixes the UI. I also investigated adding an option to update both ipv4 and ipv6 addresses, but this would be a bigger change within the codebase. I'm leaving this issue open because an option to have a single config item that takes care of updating ipv4 and ipv6 addresses would still be nice.
@tcurdt commented on GitHub (Sep 4, 2023):
Is there anything that could be done to help with this?
Or is using two setting entries for (ipv4 and ipv6) the way to go?
@qdm12 commented on GitHub (Jan 19, 2024):
desec.io does not allow to update ipv4 then ipv6 (or vice versa) and need to update both at the same time (ugly implementation but oh well), so this issue is getting more important. I'll add a "ip_version": "ipv4andipv6" option to get this done, and internally convert two config objects for the same domain + host but different ip_version, to that new ipv4andipv6 style internally.
EDIT: will do this after long overdued 2.6 release to avoid breaking too many things.
@bugQ commented on GitHub (Apr 21, 2024):
that duplicate issue was onto something tho, it would be nice for the option to be called
"ipv4 and ipv6"rather than"ipv4andipv6"to remain congruent with the naming of the existing option called"ipv4 or ipv6"@Ramalama2 commented on GitHub (Feb 22, 2025):
Stumbled across this :-)
Been almost a year, still no support for both? :-)
@Mynacol commented on GitHub (Apr 13, 2025):
My current dns provider Njalla seems to behave like desec.io, requiring to set A and AAAA at the same time to have both records. Without this feature I unfortunately cannot really use this program. Hoping someone finds time to implement this.
@wassereimer86 commented on GitHub (Jun 19, 2025):
Same with INWX. Only both allowed. Still no update on this?