FTL not running, lost connection to API

dnsmasq: syntax check OK

The file /var/lib/misc/dnsmasq.leases is not a Pi-hole file, and may be a vestige of the old dnsmasq that was running. I’m not sure how Pi-hole is even finding that file, but let’s take a look at all your dnsmasq configuration. What is the output of this command which will show all the non-commented entries in the /etc/dnsmasq directory:

sudo grep -v '#\|^$' -R /etc/dnsmasq.*

literally nothing but when I hit enter i get a >
and it looks like this now

Very odd. Let’s try running a repair to Pi-hole.

pihole -r and select the “repair” option.

i have tried that multiple times now

Let’s look here then. It is highly unusual for that directory to be empty. It should have at minimum a file 01-pihole.conf , as this is installed by Pi-hole.

ls -lha /etc/dnsmasq.d

it has stuff in it
total 24K
drwxr-xr-x 2 root root 4.0K Apr 20 14:11 .
drwxr-xr-x 118 root root 12K Apr 20 14:11 …
-rw-r–r-- 1 root root 1.5K Apr 20 14:11 01-pihole.conf
-rw-r–r-- 1 root root 117 Feb 12 15:51 custom-dnsmasq.conf

You ran this command exactly as written (i.e. copy / paste into the terminal)?

apparently not

also I am so sorry for the delay my internet isn’t the fastest and it takes quite some time but nevertheless

root@raspberrypi:~# sudo grep -v '#\|^$' -R /etc/dnsmasq.*

You have some files in there that are not Pi-hole files and appear to be interfering with Pi-hole. Delete or move these:

sudo rm /etc/dnsmasq.conf.orig

sudo mv /etc/dnsmasq.d/custom-dnsmasq.conf /Documents

sudo mv /var/lib/misc/dnsmasq.leases /Documents

sudo service pihole-FTL restart

you are amazing thank you

Fixed now, I assume?

That is why your post is marked the solution but lighttpd also needed a restart because that is me main dns service
or something like that

also does pi-hole network bridge

Pi-hole answers DNS queries on the network(s) to which it is attached. If you have more than one interface on the Pi-hole and select listen on all interfaces in the DNS settings, it can respond to both.

Typically, any bridging of traffic between VLANs would be done by the VLAN controller.

I can’t figure out how to add my ethernet only computer to my raspi 4 with 1 eth port but a usb to eth

That is outside the scope of Pi-hole. I would check on a Raspberry Pi forum.

see though that isn’t my point
my point is how are you intended to use pihole meaning how do you get other devices to use the ad blocking

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.