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

Kind Regards Peter 


From: "Jeff Armstrong" <j...@whitefern.com> 
To: "Kea-users@lists.isc.org" <kea-users@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@lists.isc.org 
https://lists.isc.org/mailman/listinfo/kea-users 
-- 
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@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to