3 ms·
I’ve got two great examples of this. Both I use to help control DNS on my local network. They’re open source, but I doubt anyone else is using it, and I’m fine
by pridkett 2y ago
I’ve got two great examples of this. Both I use to help control DNS on my local network. They’re open source, but I doubt anyone else is using it, and I’m fine with that.
unifi-dns-scraper[0]: a simple tool that logs into my Unifi console to get all the hosts and then creates a hosts file that my local DNS servers can use.
unifi-doh-blocker[1]: as part of my efforts to better control my network, I don’t want random devices ignoring my local DNS by using DoH. This gets various lists of public DNS over HTTPS servers and updates a blocklist on my Unifi Dream Machine Pro. With a few other firewall rules this essentially forces all my DNS through local servers which then do encrypted DNS queries to a third party DNS service.
These tools make me happy and were fun to write.
[0] https://github.com/pridkett/unifi-dns-scraper https://github.com/pridkett/unifi-dns-scraper
[1] https://github.com/pridkett/unifi-doh-blocker https://github.com/pridkett/unifi-doh-blocker