Expected Behaviour:
using blacklist that contains domain.tld should get pi-hole block both "domain.tld" and any "anything.domain.tld" subdomains
Actual Behaviour:
Only the "domain.tld" is blocked
Debug Token:
Token ID : uur1g5qqb3
Hello, I installed Pi-hole a couple of weeks ago. This is working fine with adds blocking. Then I figured out that I could use it to also blackhole porn domains. I searched for lists and found Chad Mayfield's one Blocking porn with Pi-hole – Chad Mayfield
Yet, for some reason pi-hole is not enforcing the wildcard blocking that has been implemented as of Version 3.0
I am running it on a Raspberry Pi (one of the first generation). Lists take a while to compile but then it works fine. I also did see the dnsmask based solution but I fear this could be a real performance burden to add 1.7Million of entries in the wildcard-blacklist file...
As a conclusion, is this exected or not ? Should we modify the Chad's blacklists ?
Thank you !
Here are logs that shows it (50.131 is the client - 50.1 is the router+default gateway - 50.55 is the Pi-hole)
Sep 8 23:29:25 dnsmasq[4743]: query[A] myfreecams.com from 192.168.50.131
Sep 8 23:29:25 dnsmasq[4743]: /etc/pihole/gravity.list myfreecams.com is 192.168.50.55
Sep 8 23:29:25 dnsmasq[4743]: query[A] myfreecams.com from 192.168.50.131
Sep 8 23:29:25 dnsmasq[4743]: /etc/pihole/gravity.list myfreecams.com is 192.168.50.55
Sep 8 23:29:25 dnsmasq[4743]: query[AAAA] myfreecams.com from 192.168.50.131
Sep 8 23:29:25 dnsmasq[4743]: forwarded myfreecams.com to 192.168.50.1
Sep 8 23:29:25 dnsmasq[4743]: query[AAAA] myfreecams.com from 192.168.50.131
Sep 8 23:29:25 dnsmasq[4743]: forwarded myfreecams.com to 192.168.50.1
Sep 8 23:29:25 dnsmasq[4743]: reply myfreecams.com is NODATA-IPv6
Sep 8 23:29:30 dnsmasq[4743]: query[A] www.myfreecams.com from 192.168.50.131
Sep 8 23:29:30 dnsmasq[4743]: forwarded www.myfreecams.com to 192.168.50.1
Sep 8 23:29:30 dnsmasq[4743]: reply www.myfreecams.com is 207.229.73.118
Sep 8 23:29:30 dnsmasq[4743]: reply www.myfreecams.com is 207.229.73.117
Sep 8 23:29:30 dnsmasq[4743]: query[A] www.myfreecams.com from 192.168.50.131
Sep 8 23:29:30 dnsmasq[4743]: cached www.myfreecams.com is 207.229.73.117
Sep 8 23:29:30 dnsmasq[4743]: cached www.myfreecams.com is 207.229.73.118
I made another test with yes24.com today
C:\Windows\System32>nslookup yes24.com
Serveur : raspberry
Address: 192.168.50.55
Nom : yes24.com
Address: 192.168.50.55 <== expected and the browser shows the "blockpage"
C:\Windows\System32>nslookup www.yes24.com
Serveur : raspberry
Address: 192.168.50.55
Réponse ne faisant pas autorité :
Nom : www.yes24.com
Address: 61.111.13.51 <== unexpected !