My plan is to migrate pihole to openwrt.
at the moment I use my pihole for
DHCPv4
DNS,
unbound,
wireguard,
static leases,
and of course domain blocking.
my OpenWRT router I meanly use for gateway and portforwarding.
My plan was to first migrate all static ip leases and then swap the dhcp4 server.
but whenever I try to set a static lease I get this error:
should I install and activate "odhcpd" first, taking the risk of temporary messing up my static dhcp leases and accidentally having 2 dhcp servers in the network? or is there an other way?
Problem does not seem to be with the server being active or inactive; problem seems to be with the static address being outside the range configured in the (inactive) server.
thanks to you all,
I found out, on the lan interface I needed to set
"Use custom DNS servers" (it doesn't seem to do anything)
and then disable "ignore interface"
and without applying changes I could create the complete list of static leases.
then it took me about a year to find out how DHCP-options work to get DNS to work at all.
So now I have configured DHCP on OpenWrt and disabled on pi-hole.
and have to prepare for the next step.