posted in Selfhosted
Self-Hosting a DNS Sinkhole is really important
www.wired.com/story/nightmare-scenario-zero-click-spyware-is-infecting-phones-via-targeted-ads/posted in Selfhosted
Self-Hosting a DNS Sinkhole is really important
www.wired.com/story/nightmare-scenario-zero-click-spyware-is-infecting-phones-via-targeted-ads/Replying to @chagall@lemmy.world
Unbound on OPNsense ftw
Replying to @trojanbark@lemmy.world
I love Unbound bro. Gives a neat list of the noisest domains which I can quickly add to my list if I don’t need that site 😌
Replying to @trojanbark@lemmy.world
Just moved to an OPNsense network. Setting up unbound was so nice and simple. Much preferred over pihole.
Replying to @Unfold1127@lemmy.world
Agreed. I used pihole initially when I was first learning networking, but when I got a dedicated machine and installed OPNsense, I learned how much easier so many things can be.
Replying to @trojanbark@lemmy.world
The downside is OPNsense is it’s information light, and a bit inscrutable lol I’m having an issue with my WAN dhcp going offline, seems to be happening on a cadence. My modem is fine, connection is valid. Rebooting the OPNsense box fixes it. Losing my mind a bit but I’ll figure it out 🙃
Replying to @Unfold1127@lemmy.world
Try setting a tunable of:
net.link.ether.inet.max_age = 540
By default FreeBSD sets a 20 minute ARP maximum age while many ONT’s set a 9 minute maximum age. This will show up as performance issues initially then cause other issues.
Also Realtek NIC’s are notorious for issues with FreeBSD, so if you are using one replacing it with an Intel one is highly recommended.
Replying to @MuttMutt@lemmy.world
I believe it was the realtek NIC and some settings offloading to the hardware I set during troubleshooting. Installed the Realtek driver in the plugins and changed those settings and so far no instability! Thank you for the tunable suggestion though I will also be checking that out!
Replying to @Unfold1127@lemmy.world
No problem.
Be sure to set a cron job for updating the DNS Blocklists, running scrubs, smart tests, and trim if you are using a ssd.
I am working on a way to do snapshots for the system as well for super simple restores that are automatically created. Before an update you WILL want to have a snapshot available. Once snapshots are automated I will probably start doing automatic updates. It basically creates a system similar to how an immutable OS works, if something goofs you can simply roll back to a previous working state and pause updates. I previously had a script I setup via a cron job but the system removed the job during an update.
Replying to @MuttMutt@lemmy.world
These are huge! Thank you for the suggestions I will get to implementing all of these. The only thing I’ve done so far similar to what’s in this list is backing up to my git repo, which is very nice. Every setting change gets committed. Is that different than snapshotting?
Replying to @Unfold1127@lemmy.world
A snapshot is an image of the complete system at the time of creation that tracks changes and can be restored if needed.
Replying to @trojanbark@lemmy.world
Absolutely. Remember to enable a cron job in the OpnSense - System > Settings > cron to update the Blocklists. Otherwise you are likely out of date.
Replying to @trojanbark@lemmy.world
I switched to pihole. Just found it… easier.
Replying to @Fmstrat@lemmy.world
I started on pihole, then the devs messed it all up and made it complicated, so I started using unbound on OPNsense and holy poop was it so much easier for me. But I mean as long as everyone is using something, that’s what really matters. Don’t let these corporations take even an inch