KEA DHCPv4 Option 6 (DNS) multiple values + Option 43

Started by morik_opnsense, November 27, 2024, 07:48:37 PM

Previous topic - Next topic
November 27, 2024, 07:48:37 PM Last Edit: November 27, 2024, 08:41:32 PM by morik_opnsense
Hello,
Running ISC DHCPv4 on OPNsense 24.10.1-amd64 (business edition). KEA DHCPv4 server seems stable enough to considering moving over. For ISC, Opnsense GUI provided only 2 values for DNS servers per subnet. However, one could use Additional Options-->6 followed by hex string to add >2 DNS alternatives. I have 4 configured (adguard+pihole running on VMs + on Pi2 - for when server reboots are required).

c0:a8:64:24:c0:a8:64:22:c0:a8:64:23:c0:a8:64:24

I'd like to maintain this setup in KEA. Their https://downloads.isc.org/isc/kea/2.6.1/doc/html/arm/dhcp4-srv.html indicates that multiple values are possible. But, because I haven't migrated to KEA yet, I can't tell whether such multiple (more than 2) values in DNS options will be supported. Any guidance would be much appreciated.

Furthemore, in order to provide Ruckus/Cisco Wi-APs with controller information, i use Option 43 like so

type=string "hex 060c3139322e3136382e302e3431"

But, in the GUI, i'm unable to find a way to provide such additional custom options which survive reboot?