Let’s say you have a Samsung phone. You connect to a Wi-Fi network and get a notification saying:
[Wi-Fi name] has no internet access
This could happen because your phone isn’t getting DNS responses for certain domains, such as:
www.google.com
google.com
connectivitycheck.gstatic.com
play.googleapis.com
www.goooooooooooooooooooooooooooooooooooooooooooooooooooooooooogle.com
(not a joke)
…and a few others.
You can find the full list by capturing the DNS queries your phone makes when connecting to Wi-Fi.
I ran into this issue when trying to connect to my home Wi-Fi, and my Pi-hole was actively blocking DNS requests.
One of the blocklists I had enabled was blocking www.google.com
. Allowing it fixed the problem.