this post was submitted on 13 Dec 2024
419 points (97.9% liked)

Today I Learned

18081 readers
662 users here now

What did you learn today? Share it with us!

We learn something new every day. This is a community dedicated to informing each other and helping to spread knowledge.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must begin with TIL. Linking to a source of info is optional, but highly recommended as it helps to spark discussion.

** Posts must be about an actual fact that you have learned, but it doesn't matter if you learned it today. See Rule 6 for all exceptions.**



Rule 2- Your post subject cannot be illegal or NSFW material.

Your post subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Posts and comments which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding non-TIL posts.

Provided it is about the community itself, you may post non-TIL posts using the [META] tag on your post title.



Rule 7- You can't harass or disturb other members.

If you vocally harass or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.

For further explanation, clarification and feedback about this rule, you may follow this link.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here.

Unless included in our Whitelist for Bots, your bot will not be allowed to participate in this community. To have your bot whitelisted, please contact the moderators for a short review.



Partnered Communities

You can view our partnered communities list by following this link. To partner with our community and be included, you are free to message the moderators or comment on a pinned post.

Community Moderation

For inquiry on becoming a moderator of this community, you may comment on the pinned post of the time, or simply shoot a message to the current moderators.

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] JackbyDev@programming.dev 4 points 1 week ago (1 children)

No, they mean setting your DNS to an already existing ad blocking DNS. You do not need a oi hole to do that. See option 2 here https://adguard-dns.io/en/public-dns.html

I do this on my router and phone. It doesn't block everything, sure, but it blocks more than you'd think. And I didn't have to fiddle with a raspberry Pi.

[–] zer0squar3d@lemmy.dbzer0.com 2 points 1 week ago (2 children)

Company's are catching on to this and hard coding their apps to google dns. This is why it only works sometimes and the best option is to setup either pihole or adguard home dns and use firewall rules to forward all dns to it.

[–] ikidd@lemmy.world 2 points 1 week ago

Block DNS outbound. The only DNS you get is what I give you. Oh, you can't resolve an address because you've hardcoded your app? Well, I guess I don't get to watch that ad, which is the same result as if you used my DNS.

[–] JackbyDev@programming.dev 1 points 1 week ago (1 children)

Firewall would help, yeah, but I don't think PiHole would with a hard coded DNS server.

[–] zer0squar3d@lemmy.dbzer0.com 3 points 1 week ago* (last edited 1 week ago) (1 children)

Maybe i made it sound weird. Use a firewall to catch all dns traffic trying to leave the network and route it the PiHole/Adguard Home. This is how to make sure nothing, not even hardcoded dns on any app on any device, wont be filtered. I personally block google dns IPs on top of this but that's just a precaution.

[–] JackbyDev@programming.dev 2 points 1 week ago (1 children)

Ohh, yeah, I think that might work. I don't really know the ins and outs of low level DNS stuff. With HTTPS that wouldn't work unless you had some sort of self signed cert on your device, but I don't think normal regular DNS traffic is encrypted at all. I see a lot of folks talk about the privacy aspect of it, so, yeah, maybe you can do that more easily.

Is this something Pi Hole can do by itself? (With some settings on your router as well, of course, because you already have to set it as the DNS.)

[–] zer0squar3d@lemmy.dbzer0.com 3 points 1 week ago

You would need a firewall to provide any type of blocking or port forwarding. Most routers provide some basic ability to do this but it's hit or miss and depends on the manufacturer. I came from a modded merlin asuswrt Asus router firmware to an opnsense firewall running on custom hardware.