Clear DNS cache on macOS

To clear your local DNS cache on macOS do the following:

dscacheutil -flushcache
sudo killall -HUP mDNSResponder

A simple wrapper for this (that might go in your bashrc) would be:

function clear_dns_cache() {
  echo "Clearing local DNS cache..."
  dscacheutil -flushcache
  sudo killall -HUP mDNSResponder
}
more ...

Build Unbound on ARM64

I have a pretty cool little cluster of ARM64 based Fire3 LTS computers I use for mini kubernetes clusters and generally running support services. I wanted to implement encrypted DNS for my local network without deploying a pre-built solution like pi-hole. This is the process I used to build package …

more ...