Tech notes and writeups.

Modernize Go with golangci-lint v2.6.0

golangci-lint v2.6.0 bundles the gopls modernize analyzer, making it easy to automatically suggest (and optionally apply) modern Go idioms like strings.CutPrefix, slices.Contains, maps.Clone, and replacing interface{} with any.

RSA vs ECDSA in CoreDNS DNSSEC plugin: The CPU Cost of Signing NXDOMAINs

On-the-fly DNSSEC signing of negative responses is dramatically cheaper with ECDSA than RSA in CoreDNS. This benchmark showcases how RSA burns 30x the amount of CPU time compared to ECDSA for the same load, confirming CoreDNS’s guidance to prefer ECDSA.