internet-pi icon indicating copy to clipboard operation
internet-pi copied to clipboard

Unable to access websites blocked by ISP/ Government via Pihole

Open Mojonski opened this issue 2 years ago • 2 comments

Hi there, first of all pardon my lack of knowledge in raspbian OS as i am very new in this area.

i just finished setting up my pihole couple nights ago and it works really great for ads blocking. i set my upstream DNS providers with google DNS Ipv4 (ticked 2 boxes) . Now i am a bit confused with the DNS configuration, since some websites are blocked by the government and i am able to bypass that by using google/cloudfare DNS through my local computer settings. but when i am using my raspberry pi's iP address as my DNS ( which where the pihole is installed) those websites can't be accessed on my computer as if im still using my ISP's DNS . i can see in see the websites that i am trying to visit on the pihole query log and i am pretty sure it is not blocked by the pihole ( as i can see the "OK" stats and also green background on the table).

I need a solution so that i can access the blocked websites while connected to pihole simultaneously.

Cheers!

Mojonski avatar Oct 16 '22 19:10 Mojonski

You could update your Pi-Hole's upstream DNS configuration to use Google or another provider: https://docs.pi-hole.net/guides/dns/upstream-dns-providers/

geerlingguy avatar Oct 17 '22 19:10 geerlingguy

You could update your Pi-Hole's upstream DNS configuration to use Google or another provider: https://docs.pi-hole.net/guides/dns/upstream-dns-providers/

Yes , i am using google as my DNS server on pihole. But when i check the DNS on the clients with website like https://www.top10vpn.com/tools/what-is-my-dns-server/ it shows my ISP's DNS instead of Google DNS. I also can see that in the query log the status shows "OK answered by DNS google#53" . I don't understand why my ISP's DNS is the only one showing on the client's side. This might be the reason why I still can't access the blocked websites when connected to my rpi4 as the DNS server.

Here's attached some screenshot from the GUI.

image

image

Mojonski avatar Oct 17 '22 21:10 Mojonski

It looks like you're testing this on your iPhone/iPad (the UI looks like Safari for iOS). If you are running iOS 16, there is a bug that does not honor the "Manual DNS" setting. This seems to be fixed in 16.2 or 16.3, but you may also need to "Forget This Network" and reconnect for it to apply. Try that and then reset the DNS to be 192.168.1.127#53.

ErinsMatthew avatar Dec 18 '22 13:12 ErinsMatthew

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale[bot] avatar Mar 18 '23 20:03 stale[bot]

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

github-actions[bot] avatar Aug 07 '23 21:08 github-actions[bot]

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

github-actions[bot] avatar Oct 23 '23 21:10 github-actions[bot]