Pi-hole v5.0 blacklist not working

Hello,

I installed Pi-hole 5.0 on RPI2 and everything seems to work fine except blacklist.

Expected Behaviour:

-perating system:Linux rpi2 4.19.58-v7+ #1245 SMP
Raspberry PI 2

Actual Behaviour:

I blacklisted the exact match yahoo.com and I updated gravity.

rpi2 ~ # pihole -q -adlist -exact yahoo.com
 Exact match found in exact blacklist
   yahoo.com

but the result is that any computer in the LAN can access yahoo.com

rpi2 ~ # dig yahoo.com
; <<>> DiG 9.10.3-P4-Raspbian <<>> yahoo.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12801
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;yahoo.com.                     IN      A

;; ANSWER SECTION:
yahoo.com.              501     IN      A       72.30.35.9
yahoo.com.              501     IN      A       98.138.219.232
yahoo.com.              501     IN      A       98.138.219.231
yahoo.com.              501     IN      A       98.137.246.8
yahoo.com.              501     IN      A       98.137.246.7
yahoo.com.              501     IN      A       72.30.35.10

;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sun May 24 23:48:43 EEST 2020
;; MSG SIZE  rcvd: 134

On windows PC (192.168.0.100):

> nslookup yahoo.com
Server:  rpi2
Address:  192.168.0.2

Non-authoritative answer:
Name:    yahoo.com
Addresses:  2001:4998:c:1023::5
          2001:4998:58:1836::10
          2001:4998:c:1023::4
          2001:4998:58:1836::11
          2001:4998:44:41d::3
          2001:4998:44:41d::4
          98.138.219.232
          72.30.35.9
          98.137.246.8
          72.30.35.10
          98.137.246.7
          98.138.219.231
rpi2 ~ # tail /var/log/pihole.log
May 24 23:33:44 dnsmasq[14475]: query[PTR] 2.0.168.192.in-addr.arpa from 192.168.0.100
May 24 23:33:44 dnsmasq[14475]: /etc/pihole/local.list 192.168.0.2 is rpi2
May 24 23:33:44 dnsmasq[14475]: query[A] yahoo.com.lan from 192.168.0.100
May 24 23:33:44 dnsmasq[14475]: forwarded yahoo.com.lan to 84.200.69.80
May 24 23:33:44 dnsmasq[14475]: validation result is SECURE
May 24 23:33:44 dnsmasq[14475]: reply yahoo.com.lan is NXDOMAIN
May 24 23:33:44 dnsmasq[14475]: query[AAAA] yahoo.com.lan from 192.168.0.100
May 24 23:33:44 dnsmasq[14475]: forwarded yahoo.com.lan to 84.200.69.80
May 24 23:33:44 dnsmasq[14475]: validation result is SECURE
May 24 23:33:44 dnsmasq[14475]: reply yahoo.com.lan is NXDOMAIN
May 24 23:33:44 dnsmasq[14475]: query[A] yahoo.com from 192.168.0.100
May 24 23:33:44 dnsmasq[14475]: cached yahoo.com is 98.138.219.231
May 24 23:33:44 dnsmasq[14475]: cached yahoo.com is 98.137.246.7
May 24 23:33:44 dnsmasq[14475]: cached yahoo.com is 72.30.35.10
May 24 23:33:44 dnsmasq[14475]: cached yahoo.com is 98.137.246.8
May 24 23:33:44 dnsmasq[14475]: cached yahoo.com is 72.30.35.9
May 24 23:33:44 dnsmasq[14475]: cached yahoo.com is 98.138.219.232
May 24 23:33:44 dnsmasq[14475]: query[AAAA] yahoo.com from 192.168.0.100
May 24 23:33:44 dnsmasq[14475]: cached yahoo.com is 2001:4998:44:41d::4
May 24 23:33:44 dnsmasq[14475]: cached yahoo.com is 2001:4998:44:41d::3
May 24 23:33:44 dnsmasq[14475]: cached yahoo.com is 2001:4998:58:1836::11
May 24 23:33:44 dnsmasq[14475]: cached yahoo.com is 2001:4998:c:1023::4
May 24 23:33:44 dnsmasq[14475]: cached yahoo.com is 2001:4998:58:1836::10
May 24 23:33:44 dnsmasq[14475]: cached yahoo.com is 2001:4998:c:1023::5

Debug Token:

https://tricorder.pi-hole.net/epmcg6atlt

Thank you,
Liviu

You have the blacklist entry yahoo.com assigned to group 0 (the default group).

But, seven clients clients (including the Pi) are assigned to Group 1, and group 0 is disabled.

This results in that domain blacklist being applied to a disabled group, so there will be no effect from that domain blacklist.

That is it. Thanks!

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