How does Cloudflare know what the searches were made over the internet ? I am assuming all communication happening over search engines is TLS protected.
There's nothing in this blog about searches. It's just raw traffic data across all the sites/services that use us. So this is showing overall change in traffic while the eclipse was happening and isn't related to what people were actually doing on the Internet.
Running a DNS server lets them know what site you're going to, just like everyone who sees the secured request also knows, right? Otherwise there'd be no way for the request to end up at the right location. I suppose they might have an advantage with an encrypted DNS, but I don't think it's much of a MITM if you're sending your request to them to find out where to go.