I've installed Pi-hole on a Raspberry Pi 3, set the appropriate DNS on my Mac and was testing using the hackaday.com website on my Mac but adverts were being shown. One of the ads was being presented by images.ads.supplyframe.com which I confirmed is on my adlist, so I tried it with the dig command on my Mac
dig images.ads.supplyframe.com
; <<>> DiG 9.10.6 <<>> images.ads.supplyframe.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42938
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;images.ads.supplyframe.com. IN A
;; ANSWER SECTION:
images.ads.supplyframe.com. 300 IN CNAME images.ads.supplyframe.com.edgekey.net.
images.ads.supplyframe.com.edgekey.net. 21600 IN CNAME e6930.g.akamaiedge.net.
e6930.g.akamaiedge.net. 20 IN A 23.4.190.225
;; Query time: 280 msec
;; SERVER: 192.168.4.198#53(192.168.4.198)
;; WHEN: Wed Jan 17 21:34:30 EST 2024
;; MSG SIZE rcvd: 156
And then the dig command on my pi:
dig images.ads.supplyframe.com
; <<>> DiG 9.16.44-Debian <<>> images.ads.supplyframe.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22087
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;images.ads.supplyframe.com. IN A
;; ANSWER SECTION:
images.ads.supplyframe.com. 2 IN A 0.0.0.0
;; Query time: 116 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jan 17 21:44:47 EST 2024
;; MSG SIZE rcvd: 71
I tried the dig command with flurry.com on both systems with similar results.
So it looks like it is working on the pi but not the Mac!
I checked the nameserver settings on my Mac:
nslookup pi.hole
Server: 192.168.4.198
Address: 192.168.4.198#53
Name: pi.hole
Address: 192.168.4.198
And also:
scutil --dns | grep 'nameserver\[[0-9]*\]'
nameserver[0] : 192.168.4.198
nameserver[0] : 192.168.4.198
I am confused and not sure what else to try so any help would be appreciated.
Debug token is: https://tricorder.pi-hole.net/OEXW0OUi/