<div dir="ltr"><p>Dear Kea Development Team,</p><p>I am currently working on migrating configurations from ISC DHCP (dhcpd) to Kea DHCP and encountered a limitation regarding the <code>next-server</code> field.</p><p>In ISC DHCP, it is valid to specify either an IP address or a fully qualified domain name (FQDN) for the <code>next-server</code> directive, as referenced in the dhcpd.conf man page:<br>
<a rel="noopener" class="gmail-" href="https://linux.die.net/man/5/dhcpd.conf">https://linux.die.net/man/5/dhcpd.conf</a></p><p>However, in Kea, the <code>next-server</code> field under <code>subnet4</code> appears to accept only IPv4 addresses. If an FQDN is used (e.g., <code>"next-server": "<a href="http://pxe.boot.example.com">pxe.boot.example.com</a>"</code>), the configuration fails to parse and returns an error like:</p><pre class="gmail-overflow-visible!"><div class="gmail-contain-inline-size gmail-rounded-2xl gmail-border-[0.5px] gmail-border-token-border-medium gmail-relative gmail-bg-token-sidebar-surface-primary"><div class="gmail-overflow-y-auto gmail-p-4" dir="ltr"></div></div></pre><p><br><strong style="color:rgb(23,43,77);font-family:-apple-system,"system-ui","Segoe UI",Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:14px;letter-spacing:-0.07px">2025-06-12 13:35:40.228 ERROR [kea-dhcp4.dhcp4/1.140187402663808] DHCP4_CONFIG_LOAD_FAIL configuration error using </strong><span style="color:rgb(23,43,77);font-family:-apple-system,"system-ui","Segoe UI",Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:14px;letter-spacing:-0.07px"><strong>file: /etc/config/kea4.conf</strong></span><strong style="color:rgb(23,43,77);font-family:-apple-system,"system-ui","Segoe UI",Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:14px;letter-spacing:-0.07px">, reason: subnet configuration failed: invalid parameter next-server : </strong><span style="font-family:monospace"><a href="http://pxe.boot.example.com">pxe.boot.example.com</a></span><strong style="color:rgb(23,43,77);font-family:-apple-system,"system-ui","Segoe UI",Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:14px;letter-spacing:-0.07px">(/etc/config/kea4.conf:169:24)
</strong></p><p>This becomes a compatibility issue during migration, especially in environments that rely on DNS to resolve boot server IPs dynamically.</p><p>However, ISC DHCP (dhcpd) supports both IP addresses and FQDNs in the <code>next-server</code> field, as documented here:<strong style="color:rgb(23,43,77);font-family:-apple-system,"system-ui","Segoe UI",Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:14px;letter-spacing:-0.07px">
</strong></p><p>
<a rel="noopener" class="gmail-" href="https://linux.die.net/man/5/dhcpd.conf">https://linux.die.net/man/5/dhcpd.conf</a><br></p><img src="cid:ii_mbueqsej0" alt="image.png" width="542" height="82"><p><br></p><p>Is there any plan to support FQDNs in Kea for the <code>next-server</code> field, similar to how ISC DHCP handles it? FQDN support can be useful in dynamic environments where the boot server’s IP address may change and is managed via DNS.</p><p>I'm looking forward to hearing back from you<br><br><br>Regards,<br>.Dipesh</p><p>
<span style="color:rgb(23,43,77);font-family:-apple-system,"system-ui","Segoe UI",Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:14px;letter-spacing:-0.07px">
</span></p></div>