<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><div>Hi Jeff,</div><div> You cannot use a fqdn in place of an address within a host reservation in Kea.</div><div><br></div><div>Kind Regards Peter</div></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Jeff Armstrong" <jeff@whitefern.com><br><b>To: </b>"Kea-users@lists.isc.org" <kea-users@lists.isc.org><br><b>Sent: </b>Wednesday, 9 October, 2024 17:10:39<br><b>Subject: </b>[Kea-users] DHCP4 reservation by DNS hostname lookup - how?<br></div><div><br></div><div data-marker="__QUOTED_TEXT__"><p>In the isc-dhcp-server I could use DNS to make reservations:</p>
<div style="color:#000000;background-color:#ffffff;font-family:'consolas' , 'courier new' , monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre"><div><font face="monospace"> <span style="color:#a31515">host gh-ja-iphone-uk { hardware ethernet </span><span style="color:#a31515">5b:c7:43:37:a2:b0;</span><span style="color:#000000"> </span><span style="color:#a31515">fixed-address</span><span style="color:#000000"> </span><span style="color:#a31515">ja-iphone-uk.gh.mydomain.com; }</span></font></div><font face="monospace"><span style="white-space:normal">
</span></font></div>
<div style="color:#000000;background-color:#ffffff;font-family:'consolas' , 'courier new' , monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre"><span style="white-space:normal">and the IP assigned would be retrieved from DNS.</span></div>
<p>In Kea I have tried:</p>
<div style="color:#000000;background-color:#ffffff;font-family:'consolas' , 'courier new' , monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre"><div><font face="monospace"><span style="color:#000000"> </span><span style="color:#a31515">"reservations"</span><span style="color:#000000">: [</span></font></div><div><font face="monospace"><span style="color:#000000"> { </span><span style="color:#a31515">"hw-address"</span><span style="color:#000000">: </span><span style="color:#a31515">"5b:c7:43:37:a2:b0"</span><span style="color:#000000">, </span><span style="color:#a31515">"fixed-address"</span><span style="color:#000000">: </span><span style="color:#a31515">"ja-iphone-uk.gh.mydomain.com"</span><span style="color:#000000"> }</span></font></div><div><font face="monospace"><span style="color:#000000"> ]</span></font></div><div><span style="color:#000000">
</span></div></div>
<div style="color:#000000;background-color:#ffffff;font-family:'consolas' , 'courier new' , monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre"><div><font face="monospace"><span style="color:#000000"> </span><span style="color:#a31515">"reservations"</span><span style="color:#000000">: [</span></font></div><div><font face="monospace"><span style="color:#000000"> { </span><span style="color:#a31515">"hw-address"</span><span style="color:#000000">: </span><span style="color:#a31515">"5b:c7:43:37:a2:b0"</span><span style="color:#000000">, </span><span style="color:#a31515">"ip-address"</span><span style="color:#000000">: </span><span style="color:#a31515">"ja-iphone-uk.gh.mydomain.com"</span><span style="color:#000000"> }</span></font></div><div><font face="monospace"><span style="color:#000000"> ]</span></font></div><div><font face="monospace"><span style="color:#000000">
</span></font></div><div><div style="color:#000000;background-color:#ffffff;font-family:'consolas' , 'courier new' , monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre"><div><font face="monospace"><span style="color:#000000"> </span><span style="color:#a31515">"reservations"</span><span style="color:#000000">: [</span></font></div><div><font face="monospace"><span style="color:#000000"> { </span><span style="color:#a31515">"hw-address"</span><span style="color:#000000">: </span><span style="color:#a31515">"5b:c7:43:37:a2:b0"</span><span style="color:#000000">, </span><span style="color:#a31515">"host-name"</span><span style="color:#000000">: </span><span style="color:#a31515">"ja-iphone-uk.gh.mydomain.com"</span><span style="color:#000000"> }</span></font></div><div><font face="monospace"><span style="color:#000000"> ]</span></font></
div>
</div><div style="color:#000000;background-color:#ffffff;font-family:'consolas' , 'courier new' , monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre">but these don't work - the first two stop the server from starting with a configuration error, and the third just assigns from the pool.</div><div style="color:#000000;background-color:#ffffff;font-family:'consolas' , 'courier new' , monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre">
</div><div style="color:#000000;background-color:#ffffff;font-family:'consolas' , 'courier new' , monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre">I have read <a href="https://kea.readthedocs.io/en/kea-2.6.1/arm/dhcp4-srv.html#host-reservations-in-dhcpv4" target="_blank" rel="nofollow noopener noreferrer">https://kea.readthedocs.io/en/kea-2.6.1/arm/dhcp4-srv.html#host-reservations-in-dhcpv4</a> - but cannot find a clear list of all the recognised options for reservations.</div><div style="color:#000000;background-color:#ffffff;font-family:'consolas' , 'courier new' , monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre">
</div><div style="color:#000000;background-color:#ffffff;font-family:'consolas' , 'courier new' , monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre">Help?!?</div><div style="color:#000000;background-color:#ffffff;font-family:'consolas' , 'courier new' , monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre">
</div><div style="color:#000000;background-color:#ffffff;font-family:'consolas' , 'courier new' , monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre">Many thanks,</div><div style="color:#000000;background-color:#ffffff;font-family:'consolas' , 'courier new' , monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre">
</div><div style="color:#000000;background-color:#ffffff;font-family:'consolas' , 'courier new' , monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre">Jeff
</div><div style="color:#000000;background-color:#ffffff;font-family:'consolas' , 'courier new' , monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre">
</div></div></div>
</div>
<br>-- <br>ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.<br><br>To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.<br><br>Kea-users mailing list<br>Kea-users@lists.isc.org<br>https://lists.isc.org/mailman/listinfo/kea-users<br></div></div></body></html>