this post was submitted on 22 Nov 2024
298 points (99.0% liked)

Technology

60102 readers
3104 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 27 points 1 month ago* (last edited 1 month ago) (1 children)

Block all port 53 traffic from your network outside of your DNS server/pihole itself.
Block all known DoH servers.

If you want to get REALLY fancy you can write a NAT rule that will force any outgoing request on port 53 to route to your dns/pihole.

I do all of this. It's actually funny to see the requests that were hardcoded to go somewhere. Giant fuck you to those companies.

[–] [email protected] 2 points 1 month ago (1 children)

Do DoH requests go though 443?

[–] [email protected] 2 points 1 month ago (1 children)

Yes. But there are lists of well known IPs that are serving DoH. So you can just block those. Obviously blocking 443 is not a good idea.

[–] [email protected] 1 points 1 month ago

Damn, never digged into that I thought blocking the DNS port would be enough, thanks for the information.