For additional content, you can accomplish ad blocking in a number of ways. The ones that immediately spring to mind:
browser extension: most modern browsers have some extension framework available. I’ve been using ublock origin for a number of years with reasonable results
VPN: some VPNs include ad blocking as a side benefit to their primary function. Nord doesn’t seem to block ads on all mobile apps or is at least inconsistent in my experience
Network packet filter/PiHole: this has been on my to-do list for a while. Catches network traffic that looks like ads before it even reaches your device. Most involved and least portable
The only option (other than mitm-ing yourself and stripping ads from the html maybe) for blocking first party ads or spoofed first party ads is ublock origin on firefox
dns filtering can only block domains, ublock does full cosmetic filtering.
Ive been using DNS filtering for years and many sites actually collapse the advert space when it’s not used, and while a plug-in certainly can improve the UI, the DNS blocking also disables the resulting tracking, the network requests still happen with the plugins.
Additionally DNS filtering happens outside of a browser as well, so will block ads in literally every app as well, when setup correctly it’s also device independent.
When I still ran my own PiHole, there where days where as much as 60% of the traffic was adverts and trackers.
DNS filtering also extends to blocking things like malware and spam domains
A Pi-hole is easy to set up if you already have a Raspberry Pi and a router that supports changing the DNS (I had one that was rented from an ISP that didn’t).
It is. And even if you wanted to localize it to specific devices, there’s also a standalone version. I’m using it on my laptop with Arch and it’s pretty good. Adblocking on the go.
It was originally developed to run on a raspberry pi so most installers are Linux based. There is no installer for windows but you could run pinole on Docker Desktop in a VM.
If you’re running it using Docker, that’s a container not a VM. And that IS the way you would want to run it, in a container. They’re easy to set up, easy to use, and easy to maintain.
I meant you could run pihole as a container in docker on a windows VM if you really wanted to. Personally I run it on a docker instance and also on a dedicated LinuxVM on a seperate host for redundancy, but that’s probably overkill.
Yeah but Docker Desktop uses a VM, either in WSL2 or Hyper-V. Docker Engine on Linux doesn’t use a VM and that’s what’s typically used for hosting services.
Docker is a container platform. Docker Engine is the container host for Linux and Docker Desktop uses a virtual machine to run Docker Engine and containers in that VM.
For example, if you use Docker Desktop on Windows, Docker Desktop will run Docker Engine in a WSL2-based VM and then run containers inside that.
First, stop talking to me like I don’t know this already. Second, these facts don’t make me wrong or you right. The implication of what was said is that you run VM’s on docker. The fact is, you don’t. Stop arguing.
can you run pihole in VM? it would be practical for these weirdos that already use VM as a daily driver
Ok, so what I was trying to say was this…
Dude does most of their work out of a VM rather than the host, and asks if they can also run pihole in that VM. I was trying to say “yeah, but it’s a Linux app so either run docker from within the VM itself and run it as a container or spin up another separate VM”
But I agree. Not argument-worthy. There’s no grounds for ackchyually-ing here.
For additional content, you can accomplish ad blocking in a number of ways. The ones that immediately spring to mind:
I’ve had some good results with NextDNS, as well
I’ve been using NextDNS for over a year now and it’s great. Been using that with hagezi pro block list with great results and minimal breakage.
Any idea if it runs DNS over TLS? I’d prefer my DNS requests be encrypted.
Sure does. You can also do DNS-over-HTTPS. I have a 100% encrypted DNS request rate across all my devices and anything behind my router.
The only option (other than mitm-ing yourself and stripping ads from the html maybe) for blocking first party ads or spoofed first party ads is ublock origin on firefox
dns filtering can only block domains, ublock does full cosmetic filtering.
Ive been using DNS filtering for years and many sites actually collapse the advert space when it’s not used, and while a plug-in certainly can improve the UI, the DNS blocking also disables the resulting tracking, the network requests still happen with the plugins.
Additionally DNS filtering happens outside of a browser as well, so will block ads in literally every app as well, when setup correctly it’s also device independent.
When I still ran my own PiHole, there where days where as much as 60% of the traffic was adverts and trackers.
DNS filtering also extends to blocking things like malware and spam domains
https://github.com/gorhill/uBlock/wiki/About-"Why-uBlock-Origin-works-so-much-better-than-Pi‑hole-does%3F" You are not correct. Ublock Origin is superior for tracking protection and also stops the network requests. DNS adblocking cannot stop first party tracking or ads.
A Pi-hole is easy to set up if you already have a Raspberry Pi and a router that supports changing the DNS (I had one that was rented from an ISP that didn’t).
Love my pihole. Didn’t help with YouTube, which is the latest ad scandal.
Yeah, sites that hosts their own ads like yt can’t be blocked by dns-level blocking for the most part. You end up blocking yt itself.
On that front you need ublock in browser (for now) or a modded app like revanced on android, uyou on iOS, smarttubenext on firestick, etc.
Firefox Focus works on iOS as well, as does Safari with Focus’ Adblock rules imported!
It is. And even if you wanted to localize it to specific devices, there’s also a standalone version. I’m using it on my laptop with Arch and it’s pretty good. Adblocking on the go.
can you run pihole in VM? it would be practical for these weirdos that already use VM as a daily driver
I believe so as long as your VM has an IP address reachable by the devices you want to use it for.
I’m not sure if you’d want to employ it as your DHCP server though. You may get a chicken and the egg problem there.
It was originally developed to run on a raspberry pi so most installers are Linux based. There is no installer for windows but you could run pinole on Docker Desktop in a VM.
If you’re running it using Docker, that’s a container not a VM. And that IS the way you would want to run it, in a container. They’re easy to set up, easy to use, and easy to maintain.
I meant you could run pihole as a container in docker on a windows VM if you really wanted to. Personally I run it on a docker instance and also on a dedicated LinuxVM on a seperate host for redundancy, but that’s probably overkill.
Yeah but Docker Desktop uses a VM, either in WSL2 or Hyper-V. Docker Engine on Linux doesn’t use a VM and that’s what’s typically used for hosting services.
The way, what was stated, was stated, indicated that docker runs virtual machines. It doesn’t. It runs containers, right?
Docker is a container platform. Docker Engine is the container host for Linux and Docker Desktop uses a virtual machine to run Docker Engine and containers in that VM.
For example, if you use Docker Desktop on Windows, Docker Desktop will run Docker Engine in a WSL2-based VM and then run containers inside that.
First, stop talking to me like I don’t know this already. Second, these facts don’t make me wrong or you right. The implication of what was said is that you run VM’s on docker. The fact is, you don’t. Stop arguing.
Ok, so what I was trying to say was this…
Dude does most of their work out of a VM rather than the host, and asks if they can also run pihole in that VM. I was trying to say “yeah, but it’s a Linux app so either run docker from within the VM itself and run it as a container or spin up another separate VM”
But I agree. Not argument-worthy. There’s no grounds for ackchyually-ing here.
i’ll just spin up another debian vm then