How to use Cloudflare DNS instead of Yandex?

Hello,

So I tried editing the dnsredir scripts replacing yandex DNS servers with Cloudflare DNS servers (1.1.1.1) but I couldn’t connect to the internet.

I tried many ports 80, 8080, 443, 2052, 2053 but none of this worked.

Anyone has any idea how can I use my preferred DNS instead of Yandex DNS ?

Also, does GoodbyDPI supports normal HTTP ports or does it also supports HTTPS (DoH) ports ?

Any help will be greatly appreciated.

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.

Understood, thanks.

Just use --dns-addr 1.0.0.1 without any port args

A few public DNS resolvers which provide service on non-standard port:
Quad9 9953
NextDNS 5353
AdGuard 5353

Also:

Smart DNS Proxy
23.21.43.50:1512
54.229.171.243:1512

TeraDNS 5353
CleanBrowsing 5353
Shecan.ir 5353

Some from the OpenNIC project on 5353