Please follow the below template, it will help us to help you!
If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.
Expected Behaviour:
Pi 2 B
Pi-Hole 5.1.1
Choosing Open DNS as Upstream DNS Servers should block ads and adult sites
Actual Behaviour:
Choosing Open DNS as Upstream DNS Servers is not block ing ads and adult sites where as using CleanBrowsing or Cloudfare works fine.
I want to use Open DNS as I want to use the VPN / Proxy block option.
The command will list stats for the last 24 hours.
It won't influence the overall results much if you switch DNS servers just now.
It would help to know which DNS servers you've used during that time, though.
That shows your Pi-hole has blocked roughly 45% of your DNS queries for the last 24 hours, and it also shows its current blocking status as enabled.
Pi-hole's blocking is not related to your choice of upstream DNS server in any way. Pi-hole will block the same domains, no matter what upstream DNS you pick.
If you are still seeing ads or other unwanted content, you'd have to find out what domain is serving them:
the thing is that - when I had Open DNS enabled i could search for adult images in google and could see all the explicit search results and could visit adult video sites.
i enabled a different DNS provider and all of them got disabled.
An upstream DNS server may employ its own filtering rules, after and in addition to Pi-hole's filtering.
Your observaton would indicate that one of your other upstream DNS servers does so.
Those lines of yours look like firewall options.
If they are meant to block the DNS port 53 for your network, they should be applied at router / gateway level. You want to make sure you still allow access for Pi-hole, though. Your current lines do not seem to do so.