[Kea-users] DHCP4 reservation by DNS hostname lookup - how?
Jeff Armstrong
jeff at whitefern.com
Thu Oct 10 07:26:17 UTC 2024
Isn't this a major loss of functionality? Is there a plan / ticket to
add this core feature?
Manually maintaining IP reservations in multiple places (DNS, Reverse
DNS and DHCP) is a pita that is prone to error.
Decisions on IP range allocation fit more naturally in DNS as
pre-release testing there can confirm that both forward and reverse IP
allocation is consistent.
Surely you don't expect DevOps to maintain forward IP allocation in DHCP
and reverse allocation in DNS?
Regards,
Jeff
On 09/10/2024 17:01, Peter Davies wrote:
> 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-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"}
> ]</ 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
> - 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/20241010/bba336a7/attachment-0001.htm>
More information about the Kea-users
mailing list