Dnsmasq does not run with Pi-Hole V4. The code is embedded in pihole-FTL, which runs in place of the dnsmasq process.
Pi-Hole debug log will show dnsmasq as either failed or inactive.
This thread may be related to your lighttpd problem:
Dnsmasq does not run with Pi-Hole V4. The code is embedded in pihole-FTL, which runs in place of the dnsmasq process.
Pi-Hole debug log will show dnsmasq as either failed or inactive.
This thread may be related to your lighttpd problem: