[Kea-users] DHCP4 reservation by DNS hostname lookup - how?
Jeff Armstrong
jeff at whitefern.com
Wed Oct 9 15:10:39 UTC 2024
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-addressja-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"}
]
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
- but cannot find a clear list of all the recognised options for
reservations.
Help?!?
Many thanks,
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20241009/610d2769/attachment.htm>
More information about the Kea-users
mailing list