Kea dhcp from ports with DB support reddit / freebsd ---------------------------------------------------------------------- bufandatl · 2023-12-14 13:20 Hello I am currently on the endeavor to migrate my idc-dhcp-servers which run in failover configuration to isc-kea. But now that I configured the first one for my Test VLAN on starting I was surprised with no Postgres support. While I am using FreeBSD as DHCP Server for a while now I am still somewhat new in all of this. So my question is, is there an option to tell ports to enable Postgres support? I have skimmed over man page but may have missed it or it’s not possible and I have actually to compile myself. Please could someone enlighten me. I‘d like to keep my paradigm on using BSD for low level network stuff. But if I have to compile myself I might go Linux on this one as there the packages have Postgres support compiled in and updateing becomes way easier. ---------------------------------------------------------------------- Acceptable_Ad_5359 · 2023-12-14 14:57 make config https://preview.redd.it/agaezqvfy96c1.png?width=1080&format=pjpg&auto= webp&s=90cf36251007d96a7c1981094c27499f96fe7e97 ---------------------------------------------------------------------- DriverX310 · 2023-12-14 22:03 Are you sure you’re not confusing ports with packages? The package may not have it but the port can be configured however you want. ---------------------------------------------------------------------- unitrunker2 · 2023-12-15 01:09 According to this: [https://www.freshports.org/net/kea/](https://www.freshports.org/net/k ea/) ... the defaults are: >**Configuration Options**:===> The following configuration options are available for kea-2.4.1: DOCS=on: Build and/or install documentation MYSQL=off: MySQL database support PGSQL=off: PostgreSQL database support SHELL=off: Install kea-shell(8) (Python) ===> Use 'make config' to modify these settings That last instruction is exactly what is saying. If you installed via pkg, uninstall and then ... # cd /usr/ports/net/kea # make config (select postgres here) # make # make install ---------------------------------------------------------------------- bufandatl · 2023-12-15 05:09 Yeah thanks. I was a dumbnut and missed that. Maybe was too tired when I was tinkering with it at 2am. Got it working now. Now I need to figure out how to get that into my ansible role. ---------------------------------------------------------------------- bufandatl · 2023-12-15 07:54 Could be too yeah. Was 2 am when I was trying to set it up. And after sleeping over it I posted on here so I may have mixed stuff up. But found it thanks to you guys and got it running in my test VLAN.