[Kea-users] DDNS remains off - DDNS: disabled

Peter Davies peter.watson.davies at outlook.com
Mon May 17 09:49:17 UTC 2021

Hi There,
   To get ddns working you need to do three things:
1 Configure Connectivity Parameters
2 Configure Behavioral Parameters
see 8.2.18 DDNS for DHCPv4 https://kea.readthedocs.io/en/kea-1.8.2/arm/dhcp4-srv.html#ddns-for-dhcpv4
3. Configure the kea-dhcp-ddns, daemon
see https://kea.readthedocs.io/en/kea-1.8.2/arm/ddns.html#the-dhcp-ddns-server

Looking at your config snippet you have no connectivity parameters?
The Kea ARM contains the following example:
"Dhcp4": {
"dhcp-ddns": {
// Connectivity parameters
"enable-updates": false,
"server-ip": "",
// Behavioral parameters (global)
"ddns-send-updates": true,
"ddns-override-no-update": false,
"ddns-override-client-update": false,
"ddns-replace-client-name": "never",
"ddns-generated-prefix": "myhost",
"ddns-qualifying-suffix": "",
"ddns-update-on-renew": false,
"ddns-use-conflict-resolution": true,
"hostname-char-set": "",
"hostname-char-replacement": ""

Kind Regards Peter

Sent from Outlook<http://aka.ms/weboutlook>
From: Kea-users <kea-users-bounces at lists.isc.org> on behalf of M. <byteshifter at shifted-bytes.de>
Sent: 16 May 2021 13:10
To: Kea-users at lists.isc.org <Kea-users at lists.isc.org>
Subject: [Kea-users] DDNS remains off - DDNS: disabled

Hi there!

do I need something else to enable DDNS? The log shows "DDNS: disabled".
"ddns-send-updates" have to be used -
https://readthedocs.org/projects/kea/downloads/pdf/latest/ table 8 p.
138 lists "ddns-send-update" (without "s") - using the version w/o "s"
results in complaints in the log. Is this a feature?




     "Dhcp4": {

         "interfaces-config": {
             "interfaces": [ "enp1s0" ],
             "dhcp-socket-type": "raw"

         "control-socket": {
             "socket-type": "unix",
             "socket-name": "/tmp/kea-dhcp4-ctrl.sock"

         "lease-database": {
             "lfc-interval": 3600,
             "name": "/var/lib/kea/kea-leases4.csv",
             "persist": true,
             "type": "memfile"

         "ddns-send-updates": true,
         "ddns-override-no-update": true,
         "ddns-override-client-update": true,
         "hostname-char-set": "[^A-Za-z0-9-]",
         "hostname-char-replacement": "x",


2021-05-16 12:34:54.783 INFO [kea-dhcp4.commands/3730.140310172542400]
COMMAND_ACCEPTOR_START Starting to accept connections via unix domain
socket bound to /tmp/kea-dhcp4-ctrl.sock
2021-05-16 12:34:54.783 INFO [kea-dhcp4.dhcp4/3730.140310172542400]
DHCP4_CONFIG_COMPLETE DHCPv4 server has completed configuration: added
IPv4 subnets: 4; DDNS: disabled
2021-05-16 12:34:54.784 INFO [kea-dhcp4.dhcpsrv/3730.140310172542400]
DHCPSRV_MEMFILE_DB opening memory file lease database: lfc-interval=3600
name=/var/lib/kea/kea-leases4.csv persist=true type=memfile universe=4
2021-05-16 12:34:54.784 INFO [kea-dhcp4.dhcpsrv/3730.140310172542400]
DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file
2021-05-16 12:34:54.785 INFO [kea-dhcp4.dhcpsrv/3730.140310172542400]
DHCPSRV_MEMFILE_LFC_SETUP setting up the Lease File Cleanup interval to
3600 sec
2021-05-16 12:34:54.786 WARN [kea-dhcp4.dhcp4/3730.140310172542400]
DHCP4_MULTI_THREADING_INFO enabled: no, number of threads: 0, queue size: 0
2021-05-16 12:34:54.787 INFO [kea-dhcp4.dhcp4/3730.140310172542400]
DHCP4_STARTED Kea DHCPv4 server version 1.9.4 started

ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users at lists.isc.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20210517/43befc44/attachment-0001.htm>

More information about the Kea-users mailing list