Pi-hole has stopped blocking sites. It says that a site is blocked, but replies to queries with the IP addresses - as if it was not there.
Here's an example:
$ pihole -t
08:08:19: query[A] cnn.com from 90.250.186.18
08:08:19: forwarded cnn.com to 8.8.8.8
08:08:19: reply cnn.com is 151.101.1.67
08:08:19: reply cnn.com is 151.101.129.67
08:08:19: reply cnn.com is 151.101.193.67
08:08:19: reply cnn.com is 151.101.65.67
08:08:20: query[PTR] 202.249.54.154.in-addr.arpa from 178.62.18.240
08:08:20: cached 154.54.249.202 is crawl-prodd4-10.babbar.eu
08:08:22: query[A] profile.accounts.firefox.com from 90.250.186.18
$ pihole -b cnn.com
[i] cnn.com already exists in blacklist, no need to add!
$ pihole -v
Pi-hole version is v5.11.4 (Latest: v5.11.4)
AdminLTE version is v5.13 (Latest: v5.13)
FTL version is v5.0 (Latest: v5.16.1)
$ dig cnn.com
; <<>> DiG 9.16.6-Ubuntu <<>> cnn.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43491
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;cnn.com. IN A
;; ANSWER SECTION:
cnn.com. 18 IN A 151.101.129.67
cnn.com. 18 IN A 151.101.1.67
cnn.com. 18 IN A 151.101.65.67
cnn.com. 18 IN A 151.101.193.67
**Details about my system:**
Linux 5.8.0-63-generic #71-Ubuntu SMP Tue Jul 13 15:59:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
pihole -v
Pi-hole version is v5.11.4 (Latest: v5.11.4)
AdminLTE version is v5.13 (Latest: v5.13)
FTL version is v5.0 (Latest: v5.16.1)
**What I have changed since installing Pi-hole:**
pihole -g
[i] Neutrino emissions detected...
[✗] Pulling blocklist source list into range
[i] No source list found, or it is empty
[i] Building tree...
[✗] Unable to build gravity tree in /etc/pihole/gravity_temp.db
Error: no such table: main.gravity
[i] Number of gravity domains: 0 (0 unique domains)
[i] Number of exact blacklisted domains: 1
[i] Number of regex blacklist filters: 0
[i] Number of exact whitelisted domains: 0
[i] Number of regex whitelist filters: 0
[✗] pihole-FTL: no process found
[✓] Cleaning up stray matter
[✓] Restarting DNS server
[✓] DNS service is running
[✓] Pi-hole blocking is Enabled
Please upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:
Yes, thank you - I've been trying to fix that, by working around this:
[i] Processing apt-get install(s) for: lighttpd php7.4-cgi php7.4-sqlite3, please wait...
E: Unable to correct problems, you have held broken packages.
I'm having trouble installing the correct versions on linux - it seems to want earlier versions than the versions that I have installed:
The following packages have unmet dependencies:
php7.4-cgi : Depends: php7.4-common (= 7.4.3-4ubuntu2.12) but 7.4.9-1ubuntu1.2 is to be installed
php7.4-sqlite3 : Depends: php7.4-common (= 7.4.3-4ubuntu2.12) but 7.4.9-1ubuntu1.2 is to be installed
E: Unable to correct problems, you have held broken packages