[Kea-users] DHCP4 reservation by DNS hostname lookup - how?

Peter Davies peterd at isc.org
Wed Oct 9 16:01:11 UTC 2024


Hi Jeff, 
You cannot use a fqdn in place of an address within a host reservation in Kea. 

Kind Regards Peter 


From: "Jeff Armstrong" <jeff at whitefern.com> 
To: "Kea-users at lists.isc.org" <kea-users at lists.isc.org> 
Sent: Wednesday, 9 October, 2024 17:10:39 
Subject: [Kea-users] DHCP4 reservation by DNS hostname lookup - how? 



In the isc-dhcp-server I could use DNS to make reservations: 
host gh-ja-iphone-uk { hardware ethernet 5b:c7:43:37:a2:b0; fixed-address ja-iphone-uk.gh.mydomain.com; } 
and the IP assigned would be retrieved from DNS. 


In Kea I have tried: 
"reservations" : [ 
{ "hw-address" : "5b:c7:43:37:a2:b0" , "fixed-address" : "ja-iphone-uk.gh.mydomain.com" } 
] 
"reservations" : [ 
{ "hw-address" : "5b:c7:43:37:a2:b0" , "ip-address" : "ja-iphone-uk.gh.mydomain.com" } 
] 
"reservations" : [ 
{ "hw-address" : "5b:c7:43:37:a2:b0" , "host-name" : "ja-iphone-uk.gh.mydomain.com" } 
] </ div> 
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. 
I have read [ https://kea.readthedocs.io/en/kea-2.6.1/arm/dhcp4-srv.html#host-reservations-in-dhcpv4 | https://kea.readthedocs.io/en/kea-2.6.1/arm/dhcp4-srv.html#host-reservations-in-dhcpv4 ] - but cannot find a clear list of all the recognised options for reservations. 
Help?!? 
Many thanks, 
Jeff 

-- 
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 
https://lists.isc.org/mailman/listinfo/kea-users 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20241009/bee96207/attachment-0001.htm>


More information about the Kea-users mailing list