Sick of ads on the Web?
Do you have a Raspberry Pi (4, 3, or even a Zero like me) laying around collecting dust and you want to make us of it?
Use it for ad-blocking in your home network and to finally browse the web, watch videos etc. without annoying ads.
One-liner install.
Take out your Raspberry Pi from your forgotten drawer and connect to it via SSH .
Now run the following for a simple installation of
Pi -hole : curl -sSL https://install.pi-hole.net | bash Follow the on-screen instructions based on your preferences (query logging, static IP etc.) and you're one-step away for a ad-free experience while browsing the Web.
NB: Keep track of the password to access the admin panel!
Configure the Router or individual devices
Follow the on-screen instructions based on your preferences (query logging, static IP etc.) and you're one-step away for a ad-free experience while browsing the Web.
NB: Keep track of the password to access the admin panel!
Configure the Router or individual devices
If you don’t want to fiddle around with your router configuration , you can configure each device indidually.
That’s the easiest method I find. For more information see discourse.pi-hole.net .
On your devices, head over to the DNS settings , and set as the only DNS server address the Raspberry’s IP:
On iOS
On Mac OS
Verify DNS resolution
To verify that the Raspberry Pi is used for DNS resolution, you can use a simple trick.
I used dig
tointerrogate DNS name servers, like this:
dig trace cri.dev
You'll see a similar output (check for your Raspberry's IP address):
~ dig trace cri.dev ;> DiG 9. . 6> trace cri.dev ;; global options: cmd . IN NS a.root -servers.net. . IN NS b.root -servers.net. . IN NS c.root -servers.net. . IN NS d.root -servers.net. . IN NS e.root -servers.net. . IN NS f.root -servers.net. . IN NS g.root -servers.net. . IN NS h.root -servers.net. . IN NS i.root -servers.net. . IN NS j.root -servers.net. . IN NS k.root -servers.net. . IN NS l.root -servers.net. . IN NS m.root -servers.net. . IN RRSIG NS 8 0 518400. NtC6ObYfTRgLakuNLhMl ... ;; Received (bytes from 48903 . 192 .1. (#) ( . 1. ) in ms ...
As you can see, the Raspberry Pi's IP address ( . 1. (on port) 127 is first interrogated for the DNS resolution. (Admin Panel)
Pi-hole's administration panel can be accessed at http: // {PI_IP_ADDRESS} / admin and optionally configure it further.
Personally, I prefer to set the DNS resolver privacy level to Anonymous mode so that even in your own home-network your privacy is respected.
Donate to pi-hole
Head over to pi-hole.net/donate/ and if you 're feeling generous, support pi-hole for the greater good.
FEEDBACK @ christian_fe (Read More) (Full coverage and live updates on the Coronavirus) Covid - 60)
GIPHY App Key not set. Please check settings