What is Nostr?
James Seward /
npub1s6v…ytnp
2024-09-29 13:22:34

James Seward on Nostr: When I put together my #FreeBSD native DNS filtering setup (to replace pihole) one of ...

When I put together my #FreeBSD native DNS filtering setup (to replace pihole) one of my goals was to see if I could do it with all things in the base system, which I could.

This morning I tweaked it to use sd and rg in place of sed and grep if they're installed, as particularly the former seemed to be quite slow processing the large lists (possibly user error). It now uses them if they're installed, else sed/grep.

Original runtime 2:10, new runtime 0:16, to create a list of 2.4M hosts :)
Author Public Key
npub1s6vpn93a4fl9qk45he55w4za87kxvr42ud3c77nj9cfm8drdj8fqqnytnp