Pi hole works, but not in Rasperry PI

Assuming you are referring to the same RPi that runs Pi-hole, your observation is to be expected. As announced for Pi-hole 5, Pi-hole does not interfere with its host system's DNS resolution anymore.

I could not explain motivations for picking a DNS server any better than jfb has done already.
Have a read and decide for yourself how you'd want to change your RPi's DNS server.

1 Like