No internet when using public DNS on Android

I’m using android Marshmello version,
Here is the test result, https://Cloudflare-dns.com/help/?_ga=2.187123112.1626724519.1560710030-389330116.1560710030#eyJpc0NmIjoiTm8iLCJpc0RvdCI6Ik5vIiwiaXNEb2giOiJObyIsInJlc29sdmVySXAtMS4xLjEuMSI6IlllcyIsInJlc29sdmVySXAtMS4wLjAuMSI6IlllcyIsInJlc29sdmVySXAtMjYwNjo0NzAwOjQ3MDA6OjExMTEiOiJObyIsInJlc29sdmVySXAtMjYwNjo0NzAwOjQ3MDA6OjEwMDEiOiJObyIsImRhdGFjZW50ZXJMb2NhdGlvbiI6Ik1BQSIsImlzcE5hbWUiOiJIYXRod2F5IiwiaXNwQXNuIjoiMTc0ODgifQ== after changing from DHCP to static IP for cloud flare DNS on my WiFi settings, I’m getting no internet, why I’m unable to use public DNS?

Is it just for Cloudflare or can you not connect to another public resolver (i.e. 8.8.8.8)

Can’t connect to any public DNS

Sounds like is being blocked. I would check with your ISP and if it is then use DoH.