The author has another recent post from Oct 30 wherein DNS stops working on their machine every week or two. Unsetting/resetting the servers fixes it. I can't imagine daily driving a workstation with flaky DNS.
https://wadetregaskis.com/dns-resolution-failures-in-macos-2...
This happens to me all the time.