The Pi-Hole install EVERYONE needs!

Поділитися
Вставка
  • Опубліковано 1 жов 2024
  • Check out Linode! www.linode.com/... $100 - 60 day credit on new Linode accounts for TechHut viewers.
    Today we are setting up our very own Pi-Hole ad blocking server, but in addition to this we will be using this as our very own recursive DNS service to add another layer of security and privacy.
    📖RESOURCES AND MENTIONS
    www.cloudflare...
    sudo curl -sSL install.pi-hol... | bash
    pihole -a -p [password]
    docs.pi-hole.n...
    👏SUPPORT TECHHUT
    UA-cam MEMBER: bit.ly/members...
    BECOME PATREON: bit.ly/patreon...
    DONATE PAYPAL: bit.ly/paypal-...
    $100 LINODE CREDIT: bit.ly/linode-...
    🏆FOLOW TECHHUT
    JOIN DISCORD: bit.ly/discord...
    TWITTER: bit.ly/twitter...
    MASTODON: bit.ly/mastodo...
    INSTAGRAM: bit.ly/persona...
    📷MY GEAR (PAID LINKS)
    ASUS ROG M16: amzn.to/3t8Xgpo
    DeepCool MATREXX 40: amzn.to/3q3K8Qn
    AMD 3700x: amzn.to/31AKX9N
    ASRock B550M: amzn.to/3qeymTv
    G.Skill Trident Z Neo: amzn.to/3JRbeSF
    Radeon RX 580: amzn.to/3n7Ax9g
    Cannon M50: amzn.to/3xLfhuA
    Lights: amzn.to/3OdeWHU

КОМЕНТАРІ • 242

  • @Chawnivlogs
    @Chawnivlogs Рік тому +4

    الليجا من عند راغب امين يخبط لايك

  • @gunbuster333SMSTI
    @gunbuster333SMSTI Рік тому +30

    I love how you used a visual explanation of a physical click and drag with pictures. You have no idea how helpful that is to understand what it is you’re explaining.

    • @PrashantThankappan
      @PrashantThankappan Рік тому

      a 100% !! this is why my firends referred me to this link.

  • @0views372
    @0views372 Рік тому +8

    Could you explain why you enable DHCP instead of adding a static IP address when creating the proxmox container please.
    This is all new to me, so would like to learn what things do.
    Thank you

  • @Ranblv
    @Ranblv 2 роки тому +73

    instead of going device by device you can just change the dns entry on your router dhcp settings.

    • @LaughingOrange
      @LaughingOrange Рік тому +13

      This assumes you have access to the router, and that this setting is available to you. I have access to the router, but my ISP does not allow me to change DNS servers. What makes this worse ks their DNS servers have issues every couple of months, crippling the experience.

    • @Ranblv
      @Ranblv Рік тому +2

      @@LaughingOrange well here ISP does allow you to change settings they even allow you to use third party routers

    • @kispie
      @kispie 11 місяців тому +1

      I’d recommend setting up a PFsense box as your router. Just let your IPS box server as bringing the internet in

    • @Eniro20
      @Eniro20 9 місяців тому +1

      Can also turn off the dhcp server on the router and use pihole as the dhcp server

    • @dotnetdevni
      @dotnetdevni 3 місяці тому

      he lit said that in the video

  • @CozaMcCoza
    @CozaMcCoza 2 роки тому +59

    Even if you install this to something else (not Promax for example) this video is fantastic going through the build process. The one thing I would change is change the DNS servers on your router and not on each individual device. That way you get the benefits of PiHole across all your network devices (including smart TVs, IoT, Smart Fridges etc). Plus you only have to configure your DHCP server (usually the home router) with this.

    • @jeinnerabdel
      @jeinnerabdel 2 роки тому +1

      this comment is gold!

    • @m4yh3m121
      @m4yh3m121 Рік тому +1

      Can anyone point me in the right direcon on how to change the DNS server on the router?

    • @Ubuntuaddicted
      @Ubuntuaddicted Рік тому

      @@m4yh3m121 typically you would see it in the settings: internet section or dhcp section

    • @maskedredstonerproz
      @maskedredstonerproz Рік тому

      Some DHCP servers on home routers don't support that

    • @goodcitizen4587
      @goodcitizen4587 Рік тому +2

      @@maskedredstonerproz They're cheap, so get one that does.

  • @sidneyking11
    @sidneyking11 2 роки тому +6

    Question, when installing pi hole you select to use dhcp. should it be set to static ip that a way you can set your home router dns to point to the pi-hole as the DNS server?

  • @jack-bjorn
    @jack-bjorn 2 роки тому +12

    I love your calm and clear method of instructions.

  • @postnick
    @postnick 2 роки тому +3

    I have done all this and then added pivpn on top so I get blocked ads everywhere I go.

  • @Stevon2012
    @Stevon2012 Рік тому +3

    I must be missing it (everyone is not an IT professional and I just started with linux) where do I down the ubuntu files (templates)? You said you would link it in the description and I can't find it...

  • @Scout339th
    @Scout339th Рік тому +6

    I would love to see a video that showcases this done so that any device that connects to the network no longer has ads!

  • @gg-gn3re
    @gg-gn3re 2 роки тому +4

    dietpi has a checkbox to click to auto install all of this in like 5 seconds. This is what should be recommended to users that are new.

  • @diveallz1044
    @diveallz1044 10 місяців тому +1

    Maybe a stupid question but I keep confusing myself... 1) can I use Pi-hole as a local DNS resolver (replacement for something like resolv.conf/systemd-resolved)? 2) Can I setup Pi-hole directly on my Ubuntu desktop and use it as a local DNS resolver or is it strictly for a "home network"? Also some context I really only use my phones hotspot to my PC. I would just setup Pi-hole on my phone but there is no root process available for my device.

    • @Fhannycopia3
      @Fhannycopia3 5 місяців тому +2

      Yes, you can use ir directly in your computer, but it's not recommended

    • @diveallz1044
      @diveallz1044 5 місяців тому

      @@Fhannycopia3 it wouldn't be on a daily driver im really just wanting it to run some tests myself.

    • @Fhannycopia3
      @Fhannycopia3 5 місяців тому

      @@diveallz1044 Have fun

  • @VideoJunkee
    @VideoJunkee Рік тому +1

    11:47 😂 nice

  • @ThunderFarter
    @ThunderFarter 11 місяців тому +1

    Adguard is a bit better no:?

  • @nilsmikal
    @nilsmikal Рік тому +1

    dont understnad why you dont show how to install the templates in proxmox, would make the video 5-10 seconds longer...

  • @BrucesWorldofStuff
    @BrucesWorldofStuff 2 роки тому +3

    Ok Hi @TechHut , Thanks for the video, I bit the bullet and made a Pi-Hole box today out of a old HP 4core 4gig computer that was given to me last year and I forgot I had it. Anyway I installed Ubuntu server and PiHole as per you video and it is amazing how much faster things load on my phone and TV and computers. Yes I hooked it up to my PfSence box and deployed it network wide. Yes the old HP is overkill and has hardly no load on it at all... Lol
    Just wanted ya to know and keep the awesome videos coming!
    🖖
    LLAP

    • @dinozaurpickupline4221
      @dinozaurpickupline4221 Рік тому

      dear should I get a pi device?or a old dusty laptop would work & my router is ddlink 275u but I do have tplink 1200ac giga router
      want to set pi hole & vpn if possible use pia

  • @palwindersingh9678
    @palwindersingh9678 2 роки тому +1

    This video doesn’t make much sense. Isn’t Oblivious DNS inherently designed to provides you with better privacy regardless of upstream resolver you would be using. With recursive resolver all your DNS queries are performed in a plain text so anyone (like your ISP, any malicious party) can snoop on them read all your DNS traffic? What’s private in that?

  • @LikeaGlove90
    @LikeaGlove90 2 місяці тому +1

    Super clear - very simple to understand and follow - I've had pihole setup for a while but not unbound as my all around DNS!
    Thanks so much !

  • @ozricus
    @ozricus 5 місяців тому +1

    11:47 - haha

  • @ThiagodaCunhaBorges
    @ThiagodaCunhaBorges 2 роки тому +12

    This is something I really need to do on my home network. Thank you for the content!

  • @Manche-De-Pelle
    @Manche-De-Pelle Рік тому +5

    Wish you made a comparative between with unbound and without unbound on the same website to see the difference between queries and blocked ads

    • @lakatosalex
      @lakatosalex Рік тому

      he doesn't have the expertees for that :)

  • @Samesosass
    @Samesosass 7 місяців тому +1

    You didnt set your dns at router though ? This should be noted this setup is not encompassing the network.

  • @michaelinzo
    @michaelinzo 2 роки тому +1

    I got error: could not update local repository. Contact support

  • @moetocafe
    @moetocafe 10 місяців тому

    One crucial aspect of such setup - its security, has not been discussed in the video.
    Installing a recursive DNS server is a security risk. DNS caching is another security risk on its own.
    But let's get back to the first risk - having open / exposed recursive DNS is a risk - the user can become a point of DDoS attack without even knowing it.
    If someone cannot ensure, that his recursive DNS server is NOT exposed (open) to the Internet - they should never use such server in the first place.
    I would recommend non tech savvy people, who don't understand running a DNS server very well, to NOT use one.
    People, who have privacy concerns should not use Google DNS either.

  • @marethyu_primo7638
    @marethyu_primo7638 8 місяців тому +1

    Can you explain how to use pihole with a pc that uses ethernet?

    • @marethyu_primo7638
      @marethyu_primo7638 8 місяців тому +1

      Like my router routes to the pihole on my linode server and now my wifi is completely adfree but my ethernet connected pc isnt so

  • @TheDuerden
    @TheDuerden Рік тому +1

    What happened to the extra information down below on the container template? I don't see it....

  • @francocastilloAR
    @francocastilloAR 2 роки тому +2

    The problem I see is that every few minutes, a request is made and it shows that it does not come from the cache, but it is a new request to the upstream DNS server and there is a delay since Unbound is slower than a public DNS server.

    • @tommyking626
      @tommyking626 2 роки тому +3

      Configure your cache-min-ttl and cache-max-ttl unbound will cache until he gets info the cache is stale then it recache

  • @ericneo2
    @ericneo2 Рік тому

    Please stop recommending the broken nonfunctional curl method for years now it returns:
    bash: line 1: html no such file
    bash: line 2: syntax error near unexpected token '

  • @mr.boniato6402
    @mr.boniato6402 Рік тому

    I use Cloudflare upstream DNS server to filter adult content. If I set this up, does this mean I won't be able to use Cloudflare's DNS?

  • @versus023
    @versus023 11 місяців тому

    is there a ''best'' micro computuer tu do this? Raberry Pi vs Libre Computure vs others.
    From the Raberry pie website they mention the PI Zero 2 I believe, but ive read on reddit that A libre Le Potato is better cause ethernet and power cable IIRC.

  • @toufique_elahi
    @toufique_elahi 10 місяців тому

    Hi, I just installed Pihole. But now I am unable to watch Netflix. Can anyone help?

  • @TheSovereignEntity
    @TheSovereignEntity Рік тому +1

    did you set the ip address to static. I somehow missed that step

  •  2 роки тому

    I just add blocklists to my pfsense server...

  • @JahlenJohnson11
    @JahlenJohnson11 6 місяців тому

    I am so confused ugh

  • @FloridaInvestor
    @FloridaInvestor 9 місяців тому

    Why after installing pi hole now the calls made from the internet like if you work from home drop frequently?

  • @guinea_horn
    @guinea_horn 2 роки тому +1

    I didn't really understand the point of setting up unbound/making the dns "recursive". I have pihole installed and running on the network and I'm thinking of doing this but I don't get why I would. Can anyone explain?

    • @CozaMcCoza
      @CozaMcCoza 2 роки тому

      It was mentioned in the video, might be worth a re-watch. Basically you're not sending your DNS lookups requests through to companies like Google, Cloudflare etc. You're keeping this information to yourself. You're protecting your data going to the DNS server (PiHole) originally, and this adds privacy for your send requests from the DNS server to Google, Cloudflare etc

    • @guinea_horn
      @guinea_horn 2 роки тому

      @@CozaMcCoza but pihole does that already without Unbound, I'm trying to see what the point of using it is

  • @KShedTech
    @KShedTech Рік тому

    Tech Tip of the day. if you make a video on how to setup a DNS server, i don't think you need to explain what a freaking DNS server is.

    • @TechHut
      @TechHut  Рік тому +2

      Tech tip of the day: skip it

  • @SsShadowbaneSsS
    @SsShadowbaneSsS Рік тому

    Need help getting attempt to write a readonly database error and can’t add any blocklists or whitelist any ideas?

  • @silverace_71
    @silverace_71 2 роки тому +1

    I made a script that does this, but it also allows you to make your own network! You can use it as a router as well. (I used it as a wifi to Ethernet because I don't have Ethernet ports in my house)

  • @comfysofa1549
    @comfysofa1549 2 роки тому

    Hi there, just subscribed....i have a question/request. Im a pretty novice Linux user but one of the best apps i found on Linux was/is Compiz Fusion....could you possibly do a video on that...ive recently installed but i cant quite get it working properly...many thanks (if you can/want to of course)!!

  • @Matrixas
    @Matrixas Рік тому

    Hey quick question here: Will a raspberry 1 B model with 512Mb of RAM gonna work fine with it?
    Thanks.

  • @recordplayerboy8658
    @recordplayerboy8658 9 місяців тому

    Do I have to have git hub in order to install this? I tried thayat curl bash thing but it dinnit work

  • @BigZeus
    @BigZeus 2 роки тому

    Please excuse my ignorance, but where does unbound get it’s DNS list from? I guess I missed that part

  • @1ali1996
    @1ali1996 2 роки тому

    am android users i don't have pc or lap or even pi ... can i do all this !! i did everything with open dns put still i can't block some apps and ads on all phones in the network ... 🤕💔

  • @Anonymous-dk5qu
    @Anonymous-dk5qu Рік тому

    You have some misinformation. First, your ISP and your own web browser have their own internal DNS server/cache so you rarely ping external DNS servers if your internet browsing isn't random. Second, even if the DNS servers log your DNS request, they only know which site you're trying to access. You don't really get anything "secret" from that as your DNS server won't know anything that you do on those websites anyways because of TLS. Third, even if you host your own local DNS server, you will still need to access those TLDs from time to time which defeats your whole claim about "privacy". Forth, your ISP already has it's own DNS server so you really are grasping for straws in terms of "speeds" when you host your own DNS server within your network because querying your ISP's DNS will be basically just as quick.

  • @ziggypuppyproductions7453
    @ziggypuppyproductions7453 2 роки тому

    If I enable unbound I can no longer resolve the websites I host on my LAN. What's the problem and solution with that?

  • @cheeyuanng853
    @cheeyuanng853 10 місяців тому

    Just curious does the CPU/Ram on the board affect the throughput? If i'm running a 1/2GBPS fibre network can I just use a rasphberry pi 3?

  • @eduardo_oliveira
    @eduardo_oliveira 2 роки тому +2

    irmão muito obrigado por seu tutorial super fácil.

  • @fbifido2
    @fbifido2 2 роки тому

    1. How to enable DNSSEC in unbond for pi-hole ???
    2. How does unbond protect you from Google & Cloudflare ???

  • @macster1457
    @macster1457 Рік тому

    What about DNS cache poisoning?--- How would I protect myself from that after doing this?

  • @tag_of_frank
    @tag_of_frank 2 роки тому

    But are you adding new security vulnerabilities by adding Pi-Hole? Wont any vulnerability with Pi-Hole expose your whole network?

  • @slim3788
    @slim3788 Рік тому

    I've set my PiHole as a recursive DNS / DHCP server. I have the router set to do its' default dns settings. is using the router to redirect the dns to the pihole really necessary if the pihole is utilized as the dhcp server? Does it even matter to? I'm unaware of if the router dns setting does anything (XR500 dumos) if it's 'relaying' or not. would appreciate any insight on this setup. Additionally, if there's a way I could properly firewall it? how should the interface be set up?

  • @clamchowderz85
    @clamchowderz85 3 місяці тому

    Very helpful, followed your instructions and was able to get unbound setup with pihole (raspberry pi). Thank you!

  • @tyty0071
    @tyty0071 2 роки тому

    How do I do this if my AT&T Gateway does not allow one to change DNS setting?

  • @pearlbluesoul
    @pearlbluesoul 3 місяці тому

    Seems eerily similar to what Craft Computing put out a few years back, but still a relevant how to. Thanks!

  • @steveliberty
    @steveliberty Рік тому

    If I am installing pihole on a Raspberry Pi that already has Apache running, how do I handle the questions about the webserver and PHP?

  • @yphastos
    @yphastos 2 роки тому

    Newbie question, Does Pi-Hole work to block youtube ads on a smart tv and smartphone? I've read ads on YT are not blocked by pihole because they are hosted con the same youtube domain. I don't know what ublock origin does on browsers because thankfuly it does block them there.

  • @Jou685
    @Jou685 Рік тому

    How can i use both Pi-hole and nginx-proxy-manager together as one DNS?

  • @starting5524
    @starting5524 Рік тому

    What makes this different from just using browser extensions such as Adblock to block ads or even Brave browsers build-in ad blocker?

  • @mrzddn
    @mrzddn 2 роки тому

    hi, i have a question. Why on my unbound always showing SERVFAIL? is it any configuration change needed?

  • @AppleMenace
    @AppleMenace 2 роки тому +4

    Go to a piece of garbage website 😂 agreed.

    • @donpeer4477
      @donpeer4477 2 роки тому

      I use Yahoo and MSN for testing my Pi-Hole installs.

  • @Wild-n3v
    @Wild-n3v 18 днів тому

    Can I do this with mobile data internet?

  • @kylekinney6971
    @kylekinney6971 2 роки тому

    Need help, trying to set this up and when you get to 6:46, I get an error saying. I have a red X in the check for existing repository in /etc/.pihole. Then at the bottom it says could not update local respository. Contact support.
    Could someone help me get past this step?

  • @flemmingandersen5244
    @flemmingandersen5244 2 роки тому

    Hello! i install pi-hole on nas server it work work perfect expect from one thing!!! it all so blocked some page a rally like how I can stop blocking them?

  • @vitusyu9583
    @vitusyu9583 3 місяці тому

    Just subscribed to yours, thx!

  • @TheDuerden
    @TheDuerden Рік тому

    Also what is the point of creating a user and then giving them sudo anyway? sure if you were limiting their access, or their abilities, but giving them sudo just makes them the equivalent of Root? What is the value in this?

  • @d1ddyp0p
    @d1ddyp0p 2 роки тому

    Yeah, you probably want your DNS server to have a static IP....

  • @jamesg8246
    @jamesg8246 Рік тому

    Do I just leave the router DNS set to my pihole IP or do any router settings need to be changed from a standard pihole setup to accommodate the Unbound install?

  • @srinidhit7545
    @srinidhit7545 2 роки тому

    This procedure is not working in the oracle cloud ubuntu vps install. web interface is not opening.

  • @yeoucheoub3535
    @yeoucheoub3535 2 роки тому

    Hello I have a laptop ubuntu server for jellyfin and nextcloud. Is pihole ok to install as well or need vm?

  • @FranciscoMNeto
    @FranciscoMNeto 2 роки тому

    What if I'm already running dnsmasq, is it possible to integrate it into PiHole?

  • @Scranny
    @Scranny Рік тому

    Oh, I expected this video to include instruction how to set up PiHole on the router as well. Can you please make a video about that too?

  • @bennimarru
    @bennimarru 2 роки тому

    every time I try to find a tutorial for a pi hole on a raspberry pi, they only do it on a pc.

  • @tvojejbabkydedko
    @tvojejbabkydedko 2 роки тому +1

    What linux are you using in this video?

    • @2Fast4Mellow
      @2Fast4Mellow Рік тому

      He installed the LCX Ubuntu distro. LCX is a docker-light container build into Linux. The 'apt' command work on all debian based distributions. But apt was only used to fetch the security updates and to install curl (and unbound). He than used curl to fetch the bash install script from the pihole website and pipe it to bash that performed the whole installation...

  • @ahdeshpande
    @ahdeshpande 9 місяців тому

    great video. can you guide to the uRL where we can download the template - at 02:27 timestamp?

  • @Esteban7GT
    @Esteban7GT 2 роки тому +1

    Yes! please make a video covering a network wide setup.

    • @guinea_horn
      @guinea_horn 2 роки тому +1

      Just an FYI, it's pretty trivial. Just pull up your router configuration page and set the dns there to your pihole ip address and it will do it for any device on the network.

  • @shoebsyed9961
    @shoebsyed9961 Місяць тому

    very simple by cutting all crap . thank you . hope to see more updates for this

  • @modembuddy
    @modembuddy 2 роки тому

    My new default password is going to be subtotechhut.

  • @noel_curray
    @noel_curray 2 роки тому

    can't open the admin. i followed the instruction until 7:42 but can't go beyond that.

  • @deultima
    @deultima 2 роки тому

    Nobara? Are you using that too? I switched to it on my gaming machine, and OMG it's amazing! Why have you not done a video on this yet!? I hope that's coming soon...

  • @jjolleta
    @jjolleta 2 роки тому

    Do you have any idea why I installed Pihole on an omv server and when I install unbound, it doesn t work at all ??? I did the same steps you did but it never works despite the process being running......

  • @byzantinex
    @byzantinex Рік тому

    Is proxmox better than docker?

  • @stellarorbit1341
    @stellarorbit1341 2 роки тому +1

    I didn't know that pihole had their own unbound settings page, and I just used the unbound docs to set mine up and it was a little frustrating at times, but it's all working perfectly.

  • @lakatosalex
    @lakatosalex Рік тому

    wrong o n so many levels :D

  • @Ivanos
    @Ivanos 11 місяців тому

    Damn, finally a tutorial on youtube regarding this subject that is 100% spot on! Tnx man!

  • @adamg4462
    @adamg4462 Рік тому

    Your keyboard clicks sound lush. Which one is it?

  • @willl84
    @willl84 Рік тому

    Thank you! I went further and set my router to use that DNS under DHCP settings and BOOM!

  • @FABBuildit
    @FABBuildit 7 місяців тому

    Im happy i found this video i am saving this for later

  • @LionRoars918
    @LionRoars918 3 місяці тому

    I did it today. It works well. Thanks for the video.

  • @Juansonofgun
    @Juansonofgun 11 місяців тому

    Thank you for this tutorial. I love the content. I just discovered you and subscribed.

  • @emiljohansson8213
    @emiljohansson8213 2 роки тому

    When i point my pc dns to my pihole ip i loose internet connection. Only get LAN

  • @EricClapton1945
    @EricClapton1945 2 роки тому

    Do I need my raspberry pi always on and connected to ethernet?

  • @africantwin173
    @africantwin173 2 роки тому

    Never got Pi-Hole unbound working

  • @maciejmizgalski6112
    @maciejmizgalski6112 2 роки тому

    Is there any option to remove those blank fields on websites after ads placeholder? (browser blocker can do that).
    Thanks for great tutorial!

  • @Derbauer
    @Derbauer 2 роки тому

    What I find works for me, is using the PIA DNS with their mace adblock already enabled. If you have a smart TV, you can use a vpn but if that doesn't work then pihole is your best bet.

  • @nanabainsaneman
    @nanabainsaneman 10 місяців тому

    thanks

  • @kay.Jay.03
    @kay.Jay.03 2 роки тому

    Can we get adblocker and firewall in single unit ?

  • @abhishekpatil3086
    @abhishekpatil3086 Рік тому

    what raspberry pi alternatives can i buy?

  • @mannyvaldez98
    @mannyvaldez98 5 місяців тому

    huh

  • @Builtbypete
    @Builtbypete 2 роки тому +1

    Pi Hole was one of the best additions to my home network. Hardly any adds now :)

    • @Electrodexify
      @Electrodexify 2 роки тому

      Adguard Hone is miles better than pihole