Block EVERY Online Ad with THIS - Pi-Hole on Raspberry Pi

  • Published: 28 August 2019
  • Go to ​to get $5 off your first purchase!

    SmartDeploy: Simplify new hardware rollouts, remote IT automation, Windows 10 migrations, and more. Claim your licenses (worth $720!) at

    We check out Pi-Hole, a software designed to block ads on your entire network, that can run on a $5 computer!


    Buy Raspberry Pi Zero's:
    On Amazon:
    On Adafruit:

    Buy Micro SD Cards:
    On Amazon:

    Buy Raspberry Pi Power Supplies:
    On Amazon:
    On Adafruit:

    Discuss on the forum:

    Our Affiliates, Referral Programs, and Sponsors:
    Get Private Internet Access today at
    Displate metal posters:

    Linus Tech Tips merchandise at
    Linus Tech Tips posters at
    Our Test Benches on Amazon:
    Our production gear:

    Twitter -
    Facebook -
    Instagram -
    Twitch -

    Intro Screen Music Credit:
    Title: Laszlo - Supernova
    Video Link:
    iTunes Download Link:
    Artist Link:

    Outro Screen Music Credit: Approaching Nirvana - Sugar High
  • Science and Technology Science and Technology

Comments • 8 030

  • Evny
    Evny  5 hours back

    Linus doesn't work :(

    • Curran H.
      Curran H.  21 hours back

      I love how this video points to the DIY VPN vid, and vice versa!

      • Pepijn Mommersteeg
        Pepijn Mommersteeg  23 hours back

        Why does that graph still have vessel. Isn't that 2 years old?

        • John Constantine
          John Constantine  1 days back

          Make a video tutorial man wtf is that?

          • Japanese Mickey Mouse
            Japanese Mickey Mouse  1 days back

            retroarch on andriod is better :)

            • Silas McCulfor
              Silas McCulfor  2 days back

              Awesome! Now can I have Pi-Hole just change the DNS request to a picture of a puppy?

              • Mark Henderson
                Mark Henderson  2 days back

                lol look at this fucking noob using a heatsink on the Zero. Using a Zero for this project is pretty dumb; don't be like dipshit here, get a 3, 3B+, or a 4.

                • Soren Long
                  Soren Long  3 days back

                  Laughs in YouTube premium

                • László Zipszer
                  László Zipszer  3 days back

                  in case of youtube,fake

                  • Manche De Pelle
                    Manche De Pelle  3 days back

                    50$ here in Canada

                    • Mohammad Arif Rahim
                      Mohammad Arif Rahim  3 days back

                      Can you suggest any half ass tool for Internet Access Control for Home. I want to limit my kids access time to Internet.

                      • Maximilian Arbeiter
                        Maximilian Arbeiter  3 days back

                        And how does this now works with the DNS?

                        • christian gellert
                          christian gellert  3 days back

                          Does this block ads on my tv too

                        • EyesWideOpen
                          EyesWideOpen  4 days back

                          I love Raspberry Pi's but ffs, just use Brave Browser if you hate ads.

                          Pi Zero for $5 however, is so amazing and could revolutionize the consumer electronics space if more people got involved with use-case application programming and setups. Sky's the limit

                          • AKgaming786
                            AKgaming786  5 days back

                            Me: *uses edge as a daily*

                          • Marie Loiseau
                            Marie Loiseau  5 days back

                            Today we've learned two very valuable lessons, kids.
                            1. network wide ad blocking is awesome
                            2. microsoft products make everything horrible again

                            • Gabriel Bryson
                              Gabriel Bryson  5 days back

                              This looks really great, but, does it slow down my WiFi?

                              • Tarwada Android
                                Tarwada Android  5 days back

                                some websites doesn't allow AD-Block
                                that would be headache to whitelist manually logging in...

                                • tisa sari
                                  tisa sari  6 days back

                                  That the features like addon firefowx "easy image blocker"

                                  • Matt Merrill
                                    Matt Merrill  6 days back

                                    I tried this for a bit but it blocked random sites that were sketchy and on mobile gamers those ads some games were unplayable, if you have a bunch of people on your network you should just manually enter it on each device

                                    • Is The
                                      Is The  6 days back

                                      One of your most useful videos ever.

                                      • vasllz
                                        vasllz  6 days back

                                        does this setup have any influence on bandwidth ?

                                        • NFLvidz
                                          NFLvidz  7 days back

                                          This is the best ad blocker browser and privacy protection.
                                          Dowload and drop your review.

                                          • Steve Jones
                                            Steve Jones  1 weeks back

                                            I legit got an ad with Linus before the video started from pulseway
                                            Oh the sweet irony

                                            • Balsey Dean De Witt, Jr.

                                              1:05 "IT'S THE ONLY ONE WE HAVE"! LOL

                                              • Ryan Rohloff
                                                Ryan Rohloff  1 weeks back

                                                I did this. It’s pretty convenient. I’d like if y’all would do more raspberry pi projects. Personally I’m looking into making a NAS with one and some external hard drives. Please do more pi projects

                                                • Tek83
                                                  Tek83  1 weeks back

                                                  AdBlock: 88 blocks, Ghostery: 3 blocks watching this site. Unbelievable amount of shit, all using my paid line without sharing profits.

                                                  • Ironbuket
                                                    Ironbuket  1 weeks back

                                                    What is getting blurred out at 11:42 and 11:48?

                                                    • kismeras
                                                      kismeras  1 weeks back

                                                      Is there a way to just do this from the router level if i'm using Tomato USB?

                                                      • Ray Finnegan
                                                        Ray Finnegan  1 weeks back

                                                        Can I just say the fact that Linus’s Apple Game Center Username is still “LinusNCIX” was kinda funny

                                                        • John Shaw
                                                          John Shaw  1 weeks back

                                                          This can also be done on any windows PC by adding a blacklist to the hosts file!

                                                          • John Shaw
                                                            John Shaw  1 weeks back

                                                            Why can't this functionality be added directly to any half decent router?
                                                            It should be! Router should also notify of any apps devices sending erroneous data/spying!

                                                            • Vuyyururajashekar Reddy


                                                              • Vinayak Dev
                                                                Vinayak Dev  1 weeks back

                                                                Adguard is the best I've used it bypass adblock blocker

                                                                • Gregg Shaw
                                                                  Gregg Shaw  1 weeks back

                                                                  only took 5 months to make that video, hay bud?

                                                                  • rai x
                                                                    rai x  1 weeks back

                                                                    which TV is that?

                                                                    • Philis Phil
                                                                      Philis Phil  1 weeks back

                                                                      That vid got made

                                                                      • Ford Rollhaus
                                                                        Ford Rollhaus  1 weeks back

                                                                        Raspberry pi - the only computer where the power supply is bigger than the entire rest of the computer

                                                                        • Zahid Shabir
                                                                          Zahid Shabir  1 weeks back

                                                                          Can you still access those crappy websites with this which have them built in ad block detectors which stop the website from loading when they detect an ad blocker

                                                                        • Brian Marcou
                                                                          Brian Marcou  1 weeks back

                                                                          awww man... shut you're pie hole!! :)

                                                                          • Christoph Schmid
                                                                            Christoph Schmid  1 weeks back

                                                                            We need an IP address.... 123.456.789.0 🤣

                                                                            This is not an ip address 🤦‍♂️

                                                                            • Taylor Schumacher
                                                                              Taylor Schumacher  1 weeks back

                                                                              Any update diy VPN video?

                                                                              • Brandyberry14
                                                                                Brandyberry14  1 weeks back

                                                                                Come on today

                                                                              • IDK
                                                                                IDK  1 weeks back

                                                                                5 months waiting for it, today they've finally released it

                                                                            • Edmond Harris
                                                                              Edmond Harris  1 weeks back

                                                                              I never wear protection for Linus Tech, because I want them to get the benefits 😜

                                                                              • Tobias Brohl
                                                                                Tobias Brohl  1 weeks back

                                                                                2:47 what an ip address..

                                                                                • enorma29
                                                                                  enorma29  1 weeks back

                                                                                  but does ALL traffic go through the pi zero? a 100 mb ethernet port through a usb 2 port seems like a serious bottleneck.

                                                                                  • kd1s
                                                                                    kd1s  1 weeks back

                                                                                    Well in my browser I run ScriptSafe - that blots out most of the ad sites. However I will say I am an aggressive ad blocker - why? Because I'm paying for the connection and can control the traffic as I see fit. And the TV I selected specifically because it doesn't have net connectivity.

                                                                                    • Wendell Sawyer
                                                                                      Wendell Sawyer  2 weeks back

                                                                                      14:02 it's as if millions of people suddenly gasped out WTF!!!.

                                                                                      • Rawknee Salami
                                                                                        Rawknee Salami  2 weeks back

                                                                                        To bad ATT doesn't allow for DNS servers to be custom, suspiciously.