Quad9 vs Cloudflare: Which DNS Resolver Is More Secure and Private?

Both are free, fast, and encrypted. The real differences are what they block, what they log, and whose laws govern the servers.