Can ping a DNS server, but cannot resolve hostname

My Ubuntu 20.04 computer cannot browse any website. This only happens when connected to eduroam WIFI.

ping 8.8.8.8 works, but host google.com 8.8.8.8 says

Connection timed out; no servers could be reached.

I am not an expert on computer networks, could anyone tell me what is the next step in troubleshooting?


Solution 1:

The next step in troubleshooting is to contact the eduroam WIFI helpdesk and ask them whether they are blocking DNS requests to external resolvers, and which DNS resolver you are supposed to use while on their network.

Rationale: It is quite common for educational institutions to limit the acceptable use of their network and to enforce this on the DNS level. In order to enforce this, they need to force their users to go through their DNS server for name resolution.