<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div>
<div>Hi There,</div>
<div>   To get ddns working you need to do three things:</div>
<div>1 Configure Connectivity Parameters</div>
<div>2 Configure Behavioral Parameters</div>
<div>see 8.2.18 DDNS for DHCPv4 https://kea.readthedocs.io/en/kea-1.8.2/arm/dhcp4-srv.html#ddns-for-dhcpv4</div>
<div>3. Configure the kea-dhcp-ddns, daemon</div>
<div>see <a href="https://kea.readthedocs.io/en/kea-1.8.2/arm/ddns.html#the-dhcp-ddns-server" id="LPlnk569305">
https://kea.readthedocs.io/en/kea-1.8.2/arm/ddns.html#the-dhcp-ddns-server</a></div>
<div><br>
</div>
<div>Looking at your config snippet you have no connectivity parameters?</div>
<div>The Kea ARM contains the following example:</div>
<div>"Dhcp4": {</div>
<div>"dhcp-ddns": {</div>
<div>// Connectivity parameters</div>
<div>"enable-updates": false,</div>
<div>"server-ip": "127.0.0.1",</div>
<div>"server-port":53001,</div>
<div>"sender-ip":"",</div>
<div>"sender-port":0,</div>
<div>"max-queue-size":1024,</div>
<div>"ncr-protocol":"UDP",</div>
<div>"ncr-format":"JSON"</div>
<div>},</div>
<div>// Behavioral parameters (global)</div>
<div>"ddns-send-updates": true,</div>
<div>"ddns-override-no-update": false,</div>
<div>"ddns-override-client-update": false,</div>
<div>"ddns-replace-client-name": "never",</div>
<div>"ddns-generated-prefix": "myhost",</div>
<div>"ddns-qualifying-suffix": "",</div>
<div>"ddns-update-on-renew": false,</div>
<div>"ddns-use-conflict-resolution": true,</div>
<div>"hostname-char-set": "",</div>
<div>"hostname-char-replacement": ""</div>
<div>...</div>
<div>}</div>
<div><br>
</div>
<div><br>
</div>
<span>Kind Regards Peter</span>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
Sent from <a href="http://aka.ms/weboutlook">Outlook</a></div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Kea-users <kea-users-bounces@lists.isc.org> on behalf of M. <byteshifter@shifted-bytes.de><br>
<b>Sent:</b> 16 May 2021 13:10<br>
<b>To:</b> Kea-users@lists.isc.org <Kea-users@lists.isc.org><br>
<b>Subject:</b> [Kea-users] DDNS remains off - DDNS: disabled</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi there!<br>
<br>
<br>
do I need something else to enable DDNS? The log shows "DDNS: disabled". <br>
"ddns-send-updates" have to be used - <br>
<a href="https://readthedocs.org/projects/kea/downloads/pdf/latest/">https://readthedocs.org/projects/kea/downloads/pdf/latest/</a> table 8 p.
<br>
138 lists "ddns-send-update" (without "s") - using the version w/o "s" <br>
results in complaints in the log. Is this a feature?<br>
<br>
<br>
----------------------------<br>
<br>
kea-dhcp4.conf:<br>
<br>
{<br>
<br>
     "Dhcp4": {<br>
<br>
         "interfaces-config": {<br>
             "interfaces": [ "enp1s0" ],<br>
             "dhcp-socket-type": "raw"<br>
         },<br>
<br>
         "control-socket": {<br>
             "socket-type": "unix",<br>
             "socket-name": "/tmp/kea-dhcp4-ctrl.sock"<br>
         },<br>
<br>
         "lease-database": {<br>
             "lfc-interval": 3600,<br>
             "name": "/var/lib/kea/kea-leases4.csv",<br>
             "persist": true,<br>
             "type": "memfile"<br>
         },<br>
<br>
         "ddns-send-updates": true,<br>
         "ddns-override-no-update": true,<br>
         "ddns-override-client-update": true,<br>
         "hostname-char-set": "[^A-Za-z0-9-]",<br>
         "hostname-char-replacement": "x",<br>
...<br>
<br>
----------------------------<br>
<br>
2021-05-16 12:34:54.783 INFO [kea-dhcp4.commands/3730.140310172542400] <br>
COMMAND_ACCEPTOR_START Starting to accept connections via unix domain <br>
socket bound to /tmp/kea-dhcp4-ctrl.sock<br>
2021-05-16 12:34:54.783 INFO [kea-dhcp4.dhcp4/3730.140310172542400] <br>
DHCP4_CONFIG_COMPLETE DHCPv4 server has completed configuration: added <br>
IPv4 subnets: 4; DDNS: disabled<br>
2021-05-16 12:34:54.784 INFO [kea-dhcp4.dhcpsrv/3730.140310172542400] <br>
DHCPSRV_MEMFILE_DB opening memory file lease database: lfc-interval=3600 <br>
name=/var/lib/kea/kea-leases4.csv persist=true type=memfile universe=4<br>
2021-05-16 12:34:54.784 INFO [kea-dhcp4.dhcpsrv/3730.140310172542400] <br>
DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file <br>
/var/lib/kea/kea-leases4.csv<br>
2021-05-16 12:34:54.785 INFO [kea-dhcp4.dhcpsrv/3730.140310172542400] <br>
DHCPSRV_MEMFILE_LFC_SETUP setting up the Lease File Cleanup interval to <br>
3600 sec<br>
2021-05-16 12:34:54.786 WARN [kea-dhcp4.dhcp4/3730.140310172542400] <br>
DHCP4_MULTI_THREADING_INFO enabled: no, number of threads: 0, queue size: 0<br>
2021-05-16 12:34:54.787 INFO [kea-dhcp4.dhcp4/3730.140310172542400] <br>
DHCP4_STARTED Kea DHCPv4 server version 1.9.4 started<br>
<br>
<br>
<br>
_______________________________________________<br>
ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://www.isc.org/contact/">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
Kea-users@lists.isc.org<br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</div>
</span></font></div>
</body>
</html>