this post was submitted on 08 Nov 2023
210 points (98.2% liked)

Selfhosted

40149 readers
665 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Blocked that hard-coded google dns garbage.

you are viewing a single comment's thread
view the rest of the comments
[–] jubilationtcornpone@sh.itjust.works 34 points 1 year ago (9 children)

I have a firewall rule to dst-nat any outgoing DNS requests not coming from piHole back to the piHole server. That way all devices on the LAN are forced to use piHole for DNS and can't bypass it. I don't have an OPNSense firewall but I would think it should be able to do that as well.

[–] Silejonu@kbin.social 2 points 1 year ago (5 children)

I suspect DoT and DoH still go through, though? I mean you can always block the port 853 for DoT, but DoH is another story.

[–] jubilationtcornpone@sh.itjust.works 1 points 1 year ago (3 children)

That's correct. I block DoT in my firewall and block known DoH domains in piHole. I'm sure stuff slips through occasionally but the vast majority of my DNS requests are handled by piHole.

Traditional DNS over UDP/53 is insecure but I'm using ProtonVPN's DNS server over VPN externally so I'm not worried about that.

[–] Silejonu@kbin.social 1 points 1 year ago

I see. I may try to do something similar but towards Unbound on my OPNSense router, if that's possible.

load more comments (2 replies)
load more comments (3 replies)
load more comments (6 replies)