just tried a repair.
[i] Checking for existing FTL binary...
[i] Downloading and Installing FTL...curl: (6) Could not resolve host: github.com
sha1sum: pihole-FTL-armv7-linux-gnueabihf.sha1: No such file or directory
[✗] Downloading and Installing FTL
Error: Download of https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-armv7-linux-gnueabihf failed (checksum error)
[✗] FTL Engine not installed
I use DNS Benchmark by Steve Gibson running under playonlinux for looking at whats going on.
I have noticed the DNS cache response time increase after a few days of testing, if you reboot the pihole its all good again. The red in the graphs.
Piholes IP
192.168.1.7
192.168.1.8
192.168.1.10
A Raspberrypi running Dnsmasq that uses all 3 piholes for lookup. If I crash a pihole or one or two fail I still have the internet working with out changing dns servers in my systems.
If you are trying to figure out how to block YT ads with this search, you will have no success.
And, if you are going to write such a script to see if a domain exists on the internet, why route the requests through Pi-hole? Go direct to the upstream DNS server of your choice.