Help understanding how to whitelist a domain

Hello,

This is 10000% a new user question. I am running Pihole in a docker container on Unraid. It's working quite well, I wish I had done this years ago.

I want to allow ads on fark.com, a news aggregation site I want to support. I don't really understand how to do so. I added Fark.com as always allowed, but I still get messages that my adblocker is on. I assume the ads are coming from another domain, so it makes sense that what I did didn't work but.... I don't know how to get where I want to go from here.

Thank you very much!

Expected Behaviour:

Unraid 7.01 / docker, binhex-official-pihole
hardware is a dell PEC2100

I added fark.com to my list of domains with type "exact allow" and enabled. I hoped that would allow all ads on Fark.com

Actual Behaviour:

I continue to get messages from fark.com to the effect of I have an adblocker in place.

Debug Token:

[✓] Your debug token is: https://tricorder.pi-hole.net/Hzoitdfe/
[i] Logs are deleted 48 hours after upload.

check here to see if someone already in similar situation Commonly Whitelisted Domains - FAQs - Pi-hole Userspace. Also check your browser extension to see if u have ublock or any other ad block extension

Hello,

I checked that thread, but it doesn't seem to be listed.

I do have adblock plus but ads are allowed on Fark and always have been, this behavior started when I installed the pihole.

Thanks!

wouldn't hurt to temporary disable and see if fark.com is allow. Process of elimination. Also did u see the live pihole.log to see if fark.com is being blocked?

Are you sure the domain is fark.com?

Your currently rule will only whitelist fark.com exactly. If the real domain is www.fark.com, or ads.fark.com, or abc.anything.else.fark.com or something similar you need to whitelist the correct domain (or maybe you need to use a regex rule to allow every domain ending with fark.com).

To be sure, check if some browser extension is blocking the domain. Or try from a different browser or device.

Thank you both again for helping me!

It's definitely not adblock plus causing it - I disabled it on that fark.com, but just to make sure, i also tested it in stock firefox and chrome, same behavior. It also happens on my phone with a stock chrome browser, no adblocker of any kind.

Also did u see the live pihole.log to see if fark.com is being blocked?

I did tail pihole log. I don't think it is, the fark entries are all gray as opposed to a red blocked verbiage.

25-03-15 21:38:29.889 **gravity blocked aax.amazon-adsystem.com is NODATA

25-03-15 21:38:29.889 **query[A] aax.amazon-adsystem.com from 192.168.1.1

25-03-15 21:38:29.889 **gravity blocked aax.amazon-adsystem.com is 0.0.0.0

2025-03-15 21:38:29.890 query[A] www.fark.com from 192.168.1.1

2025-03-15 21:38:29.890 cached www.fark.com is 172.67.203.12

2025-03-15 21:38:29.890 cached www.fark.com is 104.21.82.150

2025-03-15 21:38:29.923 query[HTTPS] edge.microsoft.com from 192.168.1.1

Are you sure the domain is fark.com ?

I definitely am not! In fact, I am quite confident this is the problem actually :slight_smile:

I have emailed fark.com support asking for more information but have not yet heard back.

In the meantime, I have added www.fark.com to exact allow, and i added just plain "fark" to regex allow, but that didn't work. I am very unclear on how to correctly write the regex even after reading the doc, and I probably did it wrong. How do I just allow basically *.fark.com via regex? I think that would likely fix my issue.

Your query log shows the domain is not fark.com. It is actually www.fark.com.

You can add the domain using the "Add domain as wildcard" checkbox:

Thank you. This was what I was looking for.

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