Problem with Whitelist

Hi!
I need allow one domain: s7addthiscom
so if i add it in whitelist Pihole still blocking this domain :frowning_face:
I checked /etc/pihole/whitelist.txt and domain and subdomain s7addthiscom are in the list

but in log i can see: s7addthiscom - Blocked (regex/wildcard)

What is the output of the following command from the Pi Terminal:

pihole -q -adlist -all s7addthis.com

root@Pi-Hole:~# root@Pi-Hole:~# pihole -q -adlist -all s7.addthis.com
root@Pi-Hole:~#: command not found
root@Pi-Hole:~# pihole -q -adlist -all s7.addthis.com
Match found in Whitelist
s7.addthis.com
Match found in https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts:
s7.addthis.com
Match found in http://sysctl.org/cameleon/hosts:
s7.addthis.com
Match found in https://hosts-file.net/ad_servers.txt:
s7.addthis.com
Match found in https://codeberg.org/spootle/blocklist/raw/branch/master/blocklist.txt:
s7.addthis.com
s7.addthis.com.prx.proxywebsite.co.uk

What is the output of the following command from the Pi Terminal:

dig s7.addthis.com

root@Pi-Hole:~# dig s7.addthis.com

; <<>> DiG 9.11.3-1ubuntu1-Ubuntu <<>> s7.addthis.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48169
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;s7.addthis.com.                        IN      A

;; ANSWER SECTION:
s7.addthis.com.         26      IN      CNAME   s8.addthis.com.
s8.addthis.com.         40      IN      CNAME   ds-s7.addthis.com.edgekey.net.
ds-s7.addthis.com.edgekey.net. 157 IN   CNAME   e3615.a.akamaiedge.net.
e3615.a.akamaiedge.net. 19      IN      A       2.18.72.37

;; Query time: 39 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue Oct 08 15:20:46 UTC 2019
;; MSG SIZE  rcvd: 152

This shows that the domain was not blocked. You may have been looking at query log entries prior to when the domain was added to the whitelist.

I clear all logs and dns:
still blocking and whitelist not working for this domain :frowning_face:
Screenshot_1|690x72

There is some other way add this domain to skipp blocking ?

What is the output of:

cat /etc/pihole/regex.list

root@Pi-Hole:~# cat /etc/pihole/regex.list

root@Pi-Hole:~#

Output of

sudo grep s7.addthis.com /etc/pihole/gravity.list

root@Pi-Hole:~# sudo grep s7.addthis.com /etc/pihole/gravity.list
s7.addthis.com.prx.proxywebsite.co.uk
root@Pi-Hole:~#

Your Pi does not appear to be using itself for DNS resolution. Have you changed the default configuration?

To see what Pi-Hole returns for the dig, run this command from the Pi terminal

dig s7.addthis.com @127.0.0.1

This entry in the gravity list will not block s7.addthis.com since they are separate domains.

root@Pi-Hole:~# dig s7.addthis.com @127.0.0.1

; <<>> DiG 9.11.3-1ubuntu1-Ubuntu <<>> s7.addthis.com @127.0.0.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55186
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

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

;; ANSWER SECTION:
s7.addthis.com.         2       IN      A       0.0.0.0

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Oct 08 17:40:19 UTC 2019
;; MSG SIZE  rcvd: 59

root@Pi-Hole:~#

Please generate a Pi-Hole debug log, upload it when prompted and post the token here.

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

Did You tested by self open web site: www.addthis.com with pihole?

Looks like i solved problem!
I just install one more pihole and start adding in whitelist domains and now site can load this plugin with pihole.
Later i will check diferences 1st and 2nd Pihole
@jfb - thanks for all Your support!

Looks i found in my case why white list not work for some domain names.
Strange when i change Upstream DNS Servers to OpenDNS (ECS) everything working perfect but if i have in DNS settings Google (ECS) then some domains in whitelist not wok (blocked).

So i stay with OpenDNS (ECS) and all is OK.