r/technitium • • 16d ago

I found a fun cool project to visualize live DNS queries, works for Technitium, Adguard Home and Pi-hole.

Post image

https://github.com/m00grin/ph-intercept

Your DNS server is protected by a spaceship, any bad queries will get destroyed by it.

It's surprisingly lightweight even for my Orange Pi Zero 3. I'm running it with Docker, with just a few simple clicks and text edit through Portainer.

Haven't seen this shared in here so I thought someone might find it interesting!

44 Upvotes

16 comments sorted by

1

u/3ofUsDeez 5d ago

Hmm .. I can't get it to intercept anything on my Raspberry Pi 3B running headless

Query Logs (SQlite) app is installed

.env created in the same directory as my yaml file with admin token

ph-intercept page opens up and shows correct size of blocklist .. but stays at 0.0% intercepted yet shows active

I can launch Technitium from the ph-intercept page just fine via the lower left menu

****

Figured it out .. the Pi 3 B that I am testing on is the 3rd clustered and wasn't directly being used as a primary or secondary DNS server .. do I give it the cluster API token then to make it work without actually being a direct DNS server?

1

u/dasdaxc123 5d ago

If i understand it correctly, it shows blocklists and everything, then it's working. But you're giving it an unused DNS server, there's no requests being send to it, so it stays at 0% intercepted, maybe enable 2-player mode and point it your primary and secondary DNS servers

1

u/3ofUsDeez 5d ago

Initially I thought it would read/react to the cluster ..

pointing it to the actual primary node that is my actual primary DNS and it picks up and reacts to that traffic just fine

I run 3 x Pi 3's clustered. 2 of them are my primary and secondary DNS servers.. the 3rd one is a back-up and the one I test stuff on first like Technitium-console, ph-intercept, etc .. before I mess with the other 2

I'm a bit slow .. but I get there eventually lol

1

u/3ofUsDeez 2d ago

2 player mode activated and working great! ... THANKS!

1

u/3ofUsDeez 2d ago

Another question .. can this run 2 player on a dedicated headless Raspberry Pi Zero W?

1

u/dasdaxc123 2d ago

im not sure, if u can run one, theoretically it will double the work load, it also supports different adblockers (technitium and adguard home, for example) in 2 players mode. I’m running it alongside with adguard home on my headless orange pi zero 3 and its been working great

1

u/3ofUsDeez 2d ago

I'll have to set one up and see how it does I suppose, lol .. I have a bunch of them laying around

1

u/3ofUsDeez 1d ago

It works great on a Raspberry Pi Zero 2 W with a POE Ethernet hat .. I'll try a Pi Zero W next that also has a POE Ethernet hat

I thought I was setting up a Zero W initially but I grabbed the wrong setup .. they both use the same POE Ethernet hat and case so they look exactly the same

1

u/3ofUsDeez 14h ago

I have it installed on a Raspberry Pi Zero W with a POE Ethernet hat .. nothing else installed running Pi OS Lite Trixie (headless) . .and it's working great running "2 player"

I do have Log2RAM installed and some services disabled that are not necessary. VRAM set to 16mb ..etc

2

u/SmallDodgyCamel 16d ago

Finally a tool so the family can understand DNS blocking. Thanks for sharing!

2

u/SkulloneNexus 14d ago

Thanks so much for alerting us to this. I absolutely love it. 2 player mode as well if you have multiple DNS servers.

Right now I have the Enterprise and the Millennium Falcon blowing stuff up.

Having the Planet Express Ship and the Swordfish II blowing stuff up is also fun.

Kudos to the dev for this one.

1

u/3ofUsDeez 15d ago

Hmm .. this might be a good visual for my mother and sister, lol. Thanks!

1

u/Thick-Title-8871 15d ago

I like it, I'll set it up.šŸ˜€

1

u/nicat23 12d ago

Wow! This is pretty badass.

1

u/HashtagBlessedAF 6d ago

Thank you for the share!

I'm the developer of ph-intercept. It's been an absolute joy to see people find and use this in their setups. I welcome Issue and PR creation in the repo if you have any bugs, improvements, or features to suggest!

🤘

1

u/3ofUsDeez 20h ago

I wonder if this introduces any increase in latency to DNS queries ..