How to use Cloudflare DNS instead of Yandex?

It supports only DNS data redirection to another regular DNS resolver. You should type port 53.
The reason for Yandex DNS is because it’s the only major public DNS resolver which provides service on non-standard port 1253, which is useful if your ISP redirects (hijacks) DNS queries to its own server.