Pihole is not blocking blacklisted domains

Background:

I have installed latest version of pihole on my raspberry pi. Disabled IPv6. Tried updating the gravity list, restarted the dns service.

Expected Behaviour:

Pihole should block blacklisted domains

Actual Behaviour:

Pihole is not blocking blacklisted domains.
Here is the link to blacklisted host file - adblockerList/hostfile.txt at master · dsuraj/adblockerList · GitHub

Debug Token:

https://tricorder.pi-hole.net/5s9yso14rz

Thanks in advance.

What is the output of pihole -g? Also try using pihole -q with a domain that is on your list.

1 Like

Also, did you add above link or the "raw" link below ?

https://raw.githubusercontent.com/dsuraj/adblockerList/master/hostfile.txt

2 Likes

pihole -g output -

 [i] Target: github.com (hostfile.txt)
  [✓] Status: Retrieval successful

  [i] Target: github.com (hosts.txt)
  [✓] Status: Retrieval successful

  [✓] Consolidating blocklists
  [✓] Extracting domains from blocklists
  [i] Number of domains being pulled in by gravity: 486776
  [✓] Removing duplicate domains
  [i] Number of unique domains trapped in the Event Horizon: 261011
  [i] Number of whitelisted domains: 2
  [i] Number of blacklisted domains: 1
  [i] Number of regex filters: 0
  [✓] Parsing domains into hosts format
  [✓] Cleaning up stray matter

  [✓] Force-reloading DNS service
  [✓] DNS service is running
  [✓] Pi-hole blocking is Enabled

pihole -q tp-link.com output

Match found in list.25.github.com.domains:

   tp-link.com</td>
   tp-link.com</td>
   www.tp-link.com</td>

I am using github link and NOT raw url. I think that's the issue.

I changed github link to RAW url and the issue is now fixed.

Many thanks everyone for your help. I have kindly donated for this amazing project.

1 Like

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