Kea DDNS in practice...

Started by Ed V., April 09, 2026, 10:04:33 PM

Previous topic - Next topic
I feel like I missed something very basic here...

Is there a way to specify a manual config file should be used versus the default template?

The various options for DHCP-DDNS (tsig-keys, ddns-domains, etc.) are overwritten with the default empty values whenever I start the Agent, and I can't seem to find where that overlay is hiding in the system.

The current OpnSense docs say to put the settings in the DHCP4 or DHCP6 files, but the DDNS variables are not recognized by those daemons.

I have a valid DDNS config (or at least the command line validation says it's all good), but the overwrite is driving me even more batty than usual.

Help?

There is no manual configuration bailout for the ddns configuration yet. Best open a feature request on github, or alternatively specify what is missing to use the existing GUI.
Hardware:
DEC740

So I'll unwrap a bit...

I'm one of the oddballs that uses manual Kea DHCPv4 and v6 configurations, which works fine.

Prior to the "official" availability of the DDNS Agent, I was able to configure DDNS and enable it as a service.

Once it became official, my custom config file was overwritten with the default as soon as I "enabled" the Agent in the WebUI.

I did try going back to manually enabling the service, but the platform automation caught it and refreshed my config with the default.

So my working DDNS config (attached as kea-ddns-redacted.txt), becomes the default "empty" file (attached as kea-ddns-opn-default.txt).

Reading the online documentation - the only guidance seems to be "Add the DDNS config to the DHCPv4 /v6 config".

I'm guessing that the GUI config screens have updated as well to include DDNS config information, but without breaking my Kea deploy I can't disable the manual flag (I did try this in the past - it resets the config to default when I do so).

Until the "manual" option is added to the DDNS (to match DHCPv4 and v6), where can I find the template that is in use so I can use my working config in it's place?

Before answering did you check if the new generalized dhcp option tab maybe solve your need for manual configuration entirely?
Hardware:
DEC740

In my firewall - these (attached) are all I see for options, configs, etc.

Nothing that looks relevant to DDNS in either of the DHCP tabs...

Nope I mean like are you able to do your current custom manual config in the GUI now with the latest changes?

Currently there is no manual override possible for the ddns config file.

Please open a github ticket and you might receive a small patch from my collegues in a timely manner.

Anything else you do will not be persistent (config generation happens in the php model, changing things there is a bit spicy, a model error can prevent booting) and if nobody asks nothing will be added.
Hardware:
DEC740

Update to v26.1.6 didn't add any new options /fields in the Kea DDNS or DHCP tabs.

https://github.com/opnsense/ports/issues/265 filed at GitHub to request the "Manual" flag.

Thank you!

Quote from: Ed V. on April 10, 2026, 08:59:52 PMUpdate to v26.1.6 didn't add any new options /fields in the Kea DDNS or DHCP tabs.

https://github.com/opnsense/ports/issues/265 filed at GitHub to request the "Manual" flag.

Thank you!

Under each subnet's settings there are the DDNS options.