Skip to content

DynDNS native backend - deSEC - v6 overwrites v4 update and vice versa #5232

Closed as not planned

Description

@jaeti01

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Affected Version
OPNsense version: 24.1.2 (the problem seems to exist for longer as forum discussions indicate)

Describe the bug
The DynDNS native backend has support for deSEC-v4 and desec-v6 with two independent services.
So in order to update both, two service entries are needed.
The deSEC API has a speciality that when you update only v6, the v4 address get's deleted and vice versa. They do this intentionally to avoid a stale address been left over.
To avoid this, there is a special parameter "preserve".
Documentation here:
https://desec.readthedocs.io/en/latest/dyndns/update-api.html

The solution is to either:

  • update both addresses in a single service or
  • use the preserve parameter to avoid the other one been overwritten

To Reproduce

Steps to reproduce the behavior:

  • Navigate to Dynamic DNS
  • Configure "Native backend"
  • Create a DynDNS service for deSEC v4 for <hostname.domain.tld>
  • Create a DynSNS service for deSEC v6 for <hostname.domain.tld>
  • Trigger an IP change
  • observe that only v4 or v6 is been set (depending on the execution order)

Expected behavior

  • Both addresses (A and AAAA) for the same hostname should be properly updated

Describe alternatives you considered

  • currently using service "custom"with
    https://update.dedyn.io/?hostname=<hostname>&myip=__MYIP__&myipv6=preserve https://update.dedyn.io/?hostname=<hostname>&myip=preserve&myipv6=__MYIP__
    This works as a workaround, but has no errorhandling.

Add any other context about the problem here.

Environment
OPNsense 26.1.2-amd64.

Forum Reference
https://forum.opnsense.org/index.php?topic=41468.new

Activity

  1. transferred this issue fromopnsense/coreon Feb 17, 2026
  2. max-foss commented on Mar 13, 2026

    @max-foss

    Updating both addresses likely won't happen unless we reintroduce the 3rd option but given how IPv6 work it is often treated differently without NAT. Appending the preserve to the other should be easy.

  3. OPNsense-bot commented on Aug 14, 2026

    @OPNsense-bot

    This issue has been automatically timed-out (after 180 days of inactivity).

    For more information about the policies for this repository,
    please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.

    If someone wants to step up and work on this issue,
    just let us know, so we can reopen the issue and assign an owner to it.

  4. added
    help wanted
    on Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions