Post by @greylinux

GreyUnix
@greylinux

What Ad blocker do you self host ?

If you use dnsmasq how have you set it up to block ads?

Boosts welcome.

#AdguardHome
#PiHole
#adblocking
#selfhosting
#dnsmasq

Poll options
Replying to @greylinux
🌈 Kerblambuli πŸ¦„
@ChrisUplus @chaos.social

@greylinux the router device now does limited blocking by itself, however neither statistics nor allow lists nor rewrites are built in (yet).

GreyUnix
@greylinux

@ChrisUplus@chaos.social
what firmware does it run ? Opensource or stock firmware ?

Replying to @greylinux
🌈 Kerblambuli πŸ¦„
@ChrisUplus @chaos.social

@greylinux Stock, an OpenWRT port has not been created yet. Hopefully that changes when it's eol.

Replying to @greylinux
Adrian Braemer
@abraemer @mathstodon.xyz

@greylinux I just use dnsmasq with Adguard DNS as upstream currently. I had Adguard Home for some time but then did some networking changes and never set it up again afterwards because for me the current solution is satisfactory.

GreyUnix
@greylinux
Public en edited

@abraemer@mathstodon.xyz
So Adguard for DNS queries upstream and dnsmasq with scripts for adblocking ? Do i understand that, right ?
Currently I have Quad9 as upstream from my router and Pi Hole using the router for upstream but I want to overhaul this setup.

Replying to @greylinux
Adrian Braemer
@abraemer @mathstodon.xyz

@greylinux dnsmasq as local DNS resolver on the router (OpenWRT) and using Adguard DNS as sole upstream via DoH. No additional scripts currently

Replying to @greylinux
Paul Wilde
@paul @fedi.paulwilde.uk

@greylinux@mylittlefedi.capella-ember.uk unbound with blocklists πŸ™‚

GreyUnix
@greylinux

@paul@fedi.paulwilde.uk @paul@fedi.paulwilde.uk
interesting do you have a write up or blog of your setup ?

Replying to @greylinux
Paul Wilde
@paul @fedi.paulwilde.uk

@greylinux@mylittlefedi.capella-ember.uk it's not really too much to do, but maybe a blog post is a good idea.

Anyway, it's basically unbound running and referencing some other config files I parse and convert from StevenBlacks block lists

Generally works fine, it's just the parsing the hosts list to a .conf file that takes the work.

GreyUnix
@greylinux

@paul@fedi.paulwilde.uk

blog posts are what the internet should be!

Replying to @greylinux
Paul Wilde
@paul @fedi.paulwilde.uk

@greylinux@mylittlefedi.capella-ember.uk absolutely!

I found my original reference point for this too... It's on the alpine Linux wiki!

https://wiki.alpinelinux.org/wiki/Using_Unbound_as_an_Ad-blocker

Replying to @greylinux
Tom
@pertho @bsd.cafe

@greylinux Unbound with hagezi-mirror.dnsbunker.org/ (RPZ format) and Unbound runs in a FreeBSD jail

Replying to @greylinux

@greylinux Self built system, pulls several ad blocklists from various sources, loads them into unbound to always return NXDOMAIN.

Also pull in several malicious prefix lists, those get loaded into bird2/BGP, and my firewall peers with it, and null routes them.