Sample Header Ad - 728x90

isc-dhcp-server and pihole

0 votes
3 answers
1085 views
I have two single board computers in my local network (Pine64 and nanoPI), which I use for various purposes. The latest thing I wanted to do with them is to have failover DHCP and DNS for my local network on both of them. I configured failover DHCP and one of them was not starting until I didn't stop/delete the pihole docker image. It was reporting Can't bind to dhcp address: Address already in use. When docker was stopped ISC-DHCP-SERVER is starting just fine. Now, when DHCP server is running the docker reports bind: address already in use and does not start. The other computer which has ordinary DNS server installed (no docker and pihole) works fine. I configured my own DNS with similar capabilities as pihole (block advertisements) on another server. However, I wanted to try pihole, since it has nice user interface. I think the problem is that pihole includes a DHCP server, too (https://discourse.pi-hole.net/t/how-do-i-use-pi-holes-built-in-dhcp-server-and-why-would-i-want-to/3026) . Can I use pihole docker image (without DHCP) and DHCP server on the same computer? How it can be done? I would rather not use pihole's DHCP, because I have some custom configuration in DHCP server with publishing custom routes via DHCP, DHCP static leases, and failover configuration. I am not sure I can configure all that in pihole's DHCP server, and I am not sure I want to.
Asked by nobody (1820 rep)
Aug 4, 2021, 06:43 AM
Last activity: Feb 19, 2022, 05:34 PM