It's far from perfect, but I hope someone finds this useful?https://gist.github.com/h3krn/17c6610281e585d6b4efb43d1395802dGrtz, Harm
Quote from: h3krn on March 26, 2024, 01:03:59 pm It's far from perfect, but I hope someone finds this useful?https://gist.github.com/h3krn/17c6610281e585d6b4efb43d1395802dGrtz, HarmThank you very much! This is most missing feature of KEA DHCP for me. You should try to upstream this into OPNsense.I adjusted it little bit because it gave me double domain for some hosts: https://gist.github.com/pkejval/49ff234bb81da59fde6ca1b03f4d4240/revisions
Thnks for the feedback pkejval. I already found several more issues with my version.- when kea cleans the memfile, the inode nr does not change. So the tailing stops.- sending a break, stops csv.dictreader from tailing the file.- need to add parsing of the kea config to assign the correct dns domain to a range.
in pfsense 24.03 you can easily switch dhcp backend from ISC to KEA (and vice versa) with 2 click.