<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Aptos;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;
        mso-ligatures:standardcontextual;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas",serif;
        mso-ligatures:standardcontextual;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Sorry for the delay had an issue to address. <br>
<br>
root@p-powerdns-001 ~]# grep -A 100 '"hooks-libraries"' /etc/kea/kea-dhcp4.conf | grep -A 1 "library"<o:p></o:p></p>
<p class="MsoNormal">        "library": "/usr/lib64/kea/hooks/libdhcp_lease_cmds.so"<o:p></o:p></p>
<p class="MsoNormal">      },<o:p></o:p></p>
<p class="MsoNormal">--<o:p></o:p></p>
<p class="MsoNormal">        "library": "/usr/lib64/kea/hooks/libdhcp_ha.so",<o:p></o:p></p>
<p class="MsoNormal">        "parameters": {<o:p></o:p></p>
<p class="MsoNormal">--<o:p></o:p></p>
<p class="MsoNormal">        "library": "/usr/lib64/kea/hooks/libdhcp_host_cmds.so"<o:p></o:p></p>
<p class="MsoNormal">      },<o:p></o:p></p>
<p class="MsoNormal">--<o:p></o:p></p>
<p class="MsoNormal">        "library": "/usr/lib64/kea/hooks/libdhcp_pgsql_cb.so"<o:p></o:p></p>
<p class="MsoNormal">      }<o:p></o:p></p>
<p class="MsoNormal">[root@p-powerdns-001 ~]#<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-ligatures:none">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-ligatures:none"> Kea-users <kea-users-bounces@lists.isc.org>
<b>On Behalf Of </b>Peter Davies<br>
<b>Sent:</b> Tuesday, May 12, 2026 11:47 AM<br>
<b>To:</b> kea-users@lists.isc.org<br>
<b>Subject:</b> Re: [Kea-users] Kea 2.6.5: hosts-database with PostgreSQL not querying database during DHCP lease allocation<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="margin-top:6.0pt;margin-bottom:6.0pt">
<p class="MsoNormal"><span style="font-family:"Courier New"">Hi Eddie,<br>
  What does your "hosts-database" definition look like?</span><span style="mso-ligatures:none"><o:p></o:p></span></p>
</div>
<div style="margin-top:6.0pt;margin-bottom:6.0pt">
<p class="MsoNormal"><span style="font-family:"Courier New"">Have you remembered to load the host commands hooks library "libdhcp_host_cmds.so"</span><o:p></o:p></p>
</div>
<div style="margin-top:6.0pt;margin-bottom:6.0pt">
<p class="MsoNormal"><span style="font-family:"Courier New"">See: <a href="https://kea.readthedocs.io/en/kea-2.6.5/arm/hooks.html#libdhcp-host-cmds-so-host-commands">
https://kea.readthedocs.io/en/kea-2.6.5/arm/hooks.html#libdhcp-host-cmds-so-host-commands</a></span><o:p></o:p></p>
</div>
<div style="margin-top:6.0pt;margin-bottom:6.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Courier New"">/Peter</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">On 12/05/2026 17.25, Eddie Taylor wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">According to kb.isc.org/docs/aa-01615 (Kea Significant Features Matrix), Kea 2.6 should support Host Reservations Mode (Global). We have hosts-database configured with PostgreSQL, the schema is correct (22.2), host reservations exist in
 the database with correct data, but Kea 2.6.5 is not querying the database during DHCP lease assignment. No special hook is indicated as required for Kea 2.6 host reservations in the matrix. What's missing or broken?<o:p></o:p></p>
<p class="MsoNormal"><span style="mso-ligatures:none">All email and communication should be considered private and protected personal and shall be secured under all applicable laws. Any recipient, who has access to any contained information, regardless of purpose
 or medium is so advised, bound and obligated to handle as such. <br>
<br>
<o:p></o:p></span></p>
</blockquote>
<pre>-- <o:p></o:p></pre>
<pre>Peter Davies<o:p></o:p></pre>
<pre>Support Engineer <o:p></o:p></pre>
<pre>Internet Systems Corporation<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
</div>
All email and communication should be considered private and protected personal and shall be secured under all applicable laws. Any recipient, who has access to any contained information, regardless of purpose or medium is so advised, bound and obligated to
 handle as such.
</body>
</html>