Pi-hole + feeding ADS-B data simultaneously

Does anyone have experience with running Pi-hole on their Raspberry Pi and simultaneously feeding ADS-B data?

Currently I have a Raspberry Pi 3 running with dump1090-mutability, 3 data feeders and the ADS-B receiver project web portal.

As far as I know Pi-hole uses lighttpd to serve its pages, just like the ADS-B web portal. I don’t want to break my current setup.

Any of you having this combo running already? :slight_smile:

I thought about it, but I did not do it. High CPU usage while dump1090 is running. I think that this will cause problems for Pi-hole.

I would like to give it a try. Pi-hole doesn’t use a lot of resources. The lighttpd issues are my biggest concern, e.g. both the ADS-B web portal and Pi-hole want to use /admin.

but need low latency - DNS (pi-hole) should respond instantly, otherwise the user will have an uncomfortable web surfing
.

By the way, I use for pi-hole on a cheap Orange Pi One ($10)

Does it run smooth? Happy with it?

I use to block ads on SMART-TV and desktop pc. The operating system matters. Ubuntu Armbian was installed first and proved to be very problematic. Then there was Debian Armbian and it turned out to be no problem. Very low CPU utilization, I did not even install the radiator.

I am also using Pi-hole on a standalone Sheevaplug (512Mb RAM).
It’s running Debian 9 (Stretch) and is working fine (Debian is the preferred OS).
You’ll be surprised how much blocking it does and how much better some web pages work (faster load) because of unwanted ad’s.

At home, we have at least 2 smart phones, 2 tablets, 1 smart TV a laptop & PC - more when the family visit.

Wouldn’t recommend running it with Flightaware as well on the same machine, just buy a used Pi or similar for cheap and run it stand alone because as rugomol says, it needs to respond instantly.
I also set a secondary DNS server option in my main router in case the Pi-hole dies or cannot respond, so my surfing should continue unbroken.

I use an old Pi for PiHole, actually two of them for redundancy. No-brainier to set up. Don’t waste your time trying to combine it with something else like PiAware. It will just lead to trouble.

Thanks for the replies, I will buy an extra Raspberry Pi to run Pi-hole (+ OpenVPN) :grin:

Not too sure if you are interested but I have just managed to get both pi-hole and pi-aware working on a single machine.

Hi @crabit - thanks for the update. I decided to just buy another Pi in the end. £40 for a household-wide ad-blocker is still cheap as chips :smile:

I had issues with running them both on the same Pi 3. The local webpage on port 80, with the stats (Adsb Receiver project) was replaced with a static Pi-Hole banner and I couldn’t bring it back.
Also, most of the time Pi-Hole would work fine, but sometimes would yield “page not found” for websites and would take few refresh commands to make them work. Like something would block the PiHole, or it would be “asleep”.
Worst part is that my router really wants two DNS servers, with different IP’s. So I would need two dedicated Pi’s to work perfect.

You might want to remove everything but the block starting like this

$SERVER["socket"] == ":8080" {

from your /etc/lighttpd/conf-enabled/89-dump1090-fa.conf

I’m not sure if it could interfere with the pihole operations but it is not needed to display a webpage on port 8080.

The adsb-receiver project occupies lighttpd completely.

You would need to run two separate lighttpd instances to make it work i think.

Yeah, I didn’t have the know-how to do that.
ADSB Project uses port 80 too for the Performance Graphs…

Pi devices are so cheap, especially the Zero, it is probably better to run Pi-Hole on a standalone machine. I do run Pi-Hole but on an original Pi (just two USB ports).

Geffers

My router has space for two so I put the local address for Pi-Hole as first DNS and I use my ISP for 2nd DNS.

Pretty sure individual DNS can be set for the Pi in /etc/network/interfaces

Geoff

If I do that, when the Pi is slower to resolve the DNS (some 50% of the time) it serves the ISP DNS, and that is letting ads back in.

I have updated the original post an can confirm that I do have both running.

I know that some people do prefer to run independent Pi’s but I wanted to run them on a single machine. I understand that they are cheap but they are also quite powerful. Everyone has their own way of implementing IT infrastructure. I just wanted to share this with the wider community for those that perhaps cannot afford another Pi or have insufficient network switch ports available and want to run both applications.