<div dir="ltr"><div dir="ltr">Re: Kea DHCP - next-server Field Does Not Accept FQDN<br><br><p>Hi Darren,</p>
<p>Thank you for confirming the behavior.</p>
<p>I’ve opened an issue to track this limitation:<br>
👉 <a rel="noopener" class="gmail-" href="https://gitlab.isc.org/isc-projects/kea/-/issues/3951">https://gitlab.isc.org/isc-projects/kea/-/issues/3951</a></p>
<p>I hope this can be addressed as soon as possible, as it’s currently blocking smooth migration from ISC DHCP in DNS-based environments.</p>
<p>Best regards,<br>
Dipesh</p></div><br><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><br>
Hi Dipesh,<br>
<br>
This is not currently supported. You can open an issue here:<br>
<a href="https://gitlab.isc.org/isc-projects/kea/-/issues/" rel="noreferrer" target="_blank">https://gitlab.isc.org/isc-projects/kea/-/issues/</a> requesting the support be<br>
added.<br>
<br>
Thank you,<br>
Darren Ankney<br>
<br>
On Fri, Jun 13, 2025 at 2:13?AM Dipesh Kayastha <<br>
<a href="mailto:er.dipesh.kayastha@gmail.com" target="_blank">er.dipesh.kayastha@gmail.com</a>> wrote:<br>
<br>
> Dear Kea Development Team,<br>
><br>
> I am currently working on migrating configurations from ISC DHCP (dhcpd)<br>
> to Kea DHCP and encountered a limitation regarding the next-server field.<br>
><br>
> In ISC DHCP, it is valid to specify either an IP address or a fully<br>
> qualified domain name (FQDN) for the next-server directive, as referenced<br>
> in the dhcpd.conf man page:<br>
> <a href="https://linux.die.net/man/5/dhcpd.conf" rel="noreferrer" target="_blank">https://linux.die.net/man/5/dhcpd.conf</a><br>
><br>
> However, in Kea, the next-server field under subnet4 appears to accept<br>
> only IPv4 addresses. If an FQDN is used (e.g., "next-server": "<br>
> <a href="http://pxe.boot.example.com" rel="noreferrer" target="_blank">pxe.boot.example.com</a>"), the configuration fails to parse and returns an<br>
> error like:<br>
><br>
><br>
> *2025-06-12 13:35:40.228 ERROR [kea-dhcp4.dhcp4/1.140187402663808]<br>
> DHCP4_CONFIG_LOAD_FAIL configuration error using **file:<br>
> /etc/config/kea4.conf**, reason: subnet configuration failed: invalid<br>
> parameter next-server : *<a href="http://pxe.boot.example.com" rel="noreferrer" target="_blank">pxe.boot.example.com</a>*(/etc/config/kea4.conf:169:24)<br>
> *<br>
><br>
> This becomes a compatibility issue during migration, especially in<br>
> environments that rely on DNS to resolve boot server IPs dynamically.<br>
><br>
> However, ISC DHCP (dhcpd) supports both IP addresses and FQDNs in the<br>
> next-server field, as documented here:<br>
><br>
> <a href="https://linux.die.net/man/5/dhcpd.conf" rel="noreferrer" target="_blank">https://linux.die.net/man/5/dhcpd.conf</a><br>
> [image: image.png]<br>
><br>
><br>
> Is there any plan to support FQDNs in Kea for the next-server field,<br>
> similar to how ISC DHCP handles it? FQDN support can be useful in dynamic<br>
> environments where the boot server?s IP address may change and is managed<br>
> via DNS.<br>
><br>
> I'm looking forward to hearing back from you<br>
><br>
><br>
> Regards,<br>
> .Dipesh<br>
><br>
> --<br><br>
</blockquote></div></div>