Pi-hole can act as my DNS server and resolve domains so that I can use the internet. Also, Pi-hole should be used as DHCP server.
When I set my pi-hole as our DNS server, no internet services can be used. I can’t browse to any website. I have to set my ISP router to act as DNS for internet to work.
I have looked at similar topics but can’t solve it. I’ve tried disabling dnsmasq, but dnsmasq is not installed on my pi. I’ve tried restarting the DNS resolver, but that doesn’t help. I changed the “Interface listening behavior” to “Listen on all interfaces” but that doesn’t solve it either.
The strange thing is that my pi does have internet connection. If I ping to google.com via cli, the pi can resolve without issues. The problem seems to be with pi-hole rather than with the raspberry pi itself.
Also, I cannot use pi-hole as my DHCP server because then devices aren’t assigned IP addresses.