[Safe Internet] Get a pi-hole!

I use to use host file to block Ads - Huge host file size disables wifi in win 11 24h2 pro/ ltsc : r/WindowsLTSC
But nine months ago - I have made the decision to setup pi-hole in Raspberry pi which is one of the best decision, I have made.

Raspberry pi is powered through usb connected directly to Airtel router and any ad-hoc restarts will be in sync. There may be a chance of SDcard failure due to low power supply to pi but I am ok with replacing it when that happens.

After the initial setup and tweaking the block list never faced any issue and on the plus side It even blocks ads in hotstar.

DNS = Unbound + Cloudflare

Optional - setup log2Ram - reduces the quantity/frequency of writes to the SD card.

P.S : Suggestions are welcome.


Adblock list

2 Likes

Is there any YT video where can I watch similar to what you done? I am also thinking about it lately but chicken out at the last moment

there’s 100s of videos with all kinds of set-ups and guides.

if you are feeling adventurous, you can also host it on your rooted Android phone.

1 Like

I ended up switching from Pi-hole to AdGuard Home. It has a much better UI.

I was on the same boat as you until i had the windows 11 issue with large hostfile.
I had the raspberry pi with me since 2017 and it was lying in a box.

Guide :
World’s Greatest Pi-hole Tutorial - Easy Raspberry Pi Project!

The World’s Greatest Pi-hole (and Unbound) Tutorial 2023 | Crosstalk Solutions

Check out reddit group for additional help Pi-hole® - A black hole for Internet Advertisements

Router side changes once pi-hole setup is completed.

Optional - When i noticed some of the devices traffic uses IPV6 . i have also disabled IPV6 in router as I am not sure of the instructions to set it up and forcing all my traffic through IPV4 which is easier to setup . So far no issues faced.

4 Likes

I do not see the need to move to a different platform yet. I hardly login to pihole these days after my initial tweaking of the block list. It just works especially considering syncronous restart with router.

Apart from UI, did you find any features for moving away from Pi-hole?

I switched to it mostly because it supported DoH out of the box.

1 Like

I have heard that adguard also uses less resources compared to pihole.

It is a good idea to host both. Each one on separate hardware for redundancy and failover.

I have pihole running on raspberry pi zeroW for 5 years now. It has been my best investment yet.

I have adguard running on another machine as docker container for 1 year now.

1 Like

thought i’ll check what mine has been cooking

1 Like

running NebulaSync to sync all the instances

1 Like

Learn something new today. Thanks

1 Like

Agreed, Pihole is less on resources.

On Raspberry pi 3B+ utilisation was in single digit until when I moved to log2Ram to reduces reads/writes frequencies to sdcard which now utilisation sits at ~25%

I had faced this in windows 10 too, such a weird issue

This concept is good, but what do you do when few websites don’t work as expected bcz of this blocking?

On browsers, it’s straightforward like toggle the switch in extensions. What about this?

1 Like

have been using host based blocking for half a decade, had less than 5 issues with broken cdn. apart from that multiple times saved from ads/malicious content, worthy tradeoff imo

We ran into issues with a few sites. And making them work back is very easy.

On android, there is an option to use private dns and add the link of adguard dns link there. So if I run into issues, I just disable this.

On pc its straightforward toggle for adguard or any extension.

So what extra feature does the pi-hole provide compared to these extensions or dns links and how do you disable? It’s not like we can sacrifice our browsing becz we like to use pi-hole?

I use a similar setup, wit h 3 pihole + nebula sync, and use keepalived to provide 2 VIPs for primary and secondary DNS. The 3rd one is mostly inactive except for healthchecks.

2 Likes

I moved to adguard from Pihole only because I wanted DNS over QUIC

Had been running dnscrypt on Pihole that only introduced additional latency, but with QUIC it’s much more faster

1 Like
  1. add to allowed domains
  2. disable blocking - which disables pihole based on your selection

Fyi- you can even create profile based blocking for devices where particular set of adlist can be selected