Flushing the DNS cache on macOS
Every so often macOS holds onto a DNS answer longer than it should — you've just repointed a domain, switched VPNs, or fixed a broken record, and your Mac is still confidently resolving the old one. The fix is a one-liner: sudo...