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
الليجا من عند راغب امين يخبط لايك
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.
a 100% !! this is why my firends referred me to this link.
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
instead of going device by device you can just change the dns entry on your router dhcp settings.
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.
@@LaughingOrange well here ISP does allow you to change settings they even allow you to use third party routers
I’d recommend setting up a PFsense box as your router. Just let your IPS box server as bringing the internet in
Can also turn off the dhcp server on the router and use pihole as the dhcp server
he lit said that in the video
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.
this comment is gold!
Can anyone point me in the right direcon on how to change the DNS server on the router?
@@m4yh3m121 typically you would see it in the settings: internet section or dhcp section
Some DHCP servers on home routers don't support that
@@maskedredstonerproz They're cheap, so get one that does.
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?
I do think so, I picked a static one :)
I love your calm and clear method of instructions.
I have done all this and then added pivpn on top so I get blocked ads everywhere I go.
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...
I can't find it tooo. It's annoying!!! 😭
I would love to see a video that showcases this done so that any device that connects to the network no longer has ads!
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.
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.
Yes, you can use ir directly in your computer, but it's not recommended
@@Fhannycopia3 it wouldn't be on a daily driver im really just wanting it to run some tests myself.
@@diveallz1044 Have fun
11:47 😂 nice
Adguard is a bit better no:?
dont understnad why you dont show how to install the templates in proxmox, would make the video 5-10 seconds longer...
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
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
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?
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 !
11:47 - haha
This is something I really need to do on my home network. Thank you for the content!
Wish you made a comparative between with unbound and without unbound on the same website to see the difference between queries and blocked ads
he doesn't have the expertees for that :)
You didnt set your dns at router though ? This should be noted this setup is not encompassing the network.
I got error: could not update local repository. Contact support
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.
Can you explain how to use pihole with a pc that uses ethernet?
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
What happened to the extra information down below on the container template? I don't see it....
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.
Configure your cache-min-ttl and cache-max-ttl unbound will cache until he gets info the cache is stale then it recache
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 '
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?
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.
Hi, I just installed Pihole. But now I am unable to watch Netflix. Can anyone help?
did you set the ip address to static. I somehow missed that step
I just add blocklists to my pfsense server...
I am so confused ugh
Why after installing pi hole now the calls made from the internet like if you work from home drop frequently?
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?
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
@@CozaMcCoza but pihole does that already without Unbound, I'm trying to see what the point of using it is
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.
Tech tip of the day: skip it
Need help getting attempt to write a readonly database error and can’t add any blocklists or whitelist any ideas?
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)
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)!!
Hey quick question here: Will a raspberry 1 B model with 512Mb of RAM gonna work fine with it?
Thanks.
Do I have to have git hub in order to install this? I tried thayat curl bash thing but it dinnit work
Please excuse my ignorance, but where does unbound get it’s DNS list from? I guess I missed that part
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 ... 🤕💔
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.
If I enable unbound I can no longer resolve the websites I host on my LAN. What's the problem and solution with that?
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?
irmão muito obrigado por seu tutorial super fácil.
1. How to enable DNSSEC in unbond for pi-hole ???
2. How does unbond protect you from Google & Cloudflare ???
What about DNS cache poisoning?--- How would I protect myself from that after doing this?
But are you adding new security vulnerabilities by adding Pi-Hole? Wont any vulnerability with Pi-Hole expose your whole network?
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?
Very helpful, followed your instructions and was able to get unbound setup with pihole (raspberry pi). Thank you!
How do I do this if my AT&T Gateway does not allow one to change DNS setting?
Seems eerily similar to what Craft Computing put out a few years back, but still a relevant how to. Thanks!
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?
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.
How can i use both Pi-hole and nginx-proxy-manager together as one DNS?
What makes this different from just using browser extensions such as Adblock to block ads or even Brave browsers build-in ad blocker?
hi, i have a question. Why on my unbound always showing SERVFAIL? is it any configuration change needed?
Go to a piece of garbage website 😂 agreed.
I use Yahoo and MSN for testing my Pi-Hole installs.
Can I do this with mobile data internet?
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?
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?
Just subscribed to yours, thx!
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?
Yeah, you probably want your DNS server to have a static IP....
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?
This procedure is not working in the oracle cloud ubuntu vps install. web interface is not opening.
Hello I have a laptop ubuntu server for jellyfin and nextcloud. Is pihole ok to install as well or need vm?
What if I'm already running dnsmasq, is it possible to integrate it into PiHole?
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?
every time I try to find a tutorial for a pi hole on a raspberry pi, they only do it on a pc.
What linux are you using in this video?
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...
great video. can you guide to the uRL where we can download the template - at 02:27 timestamp?
Yes! please make a video covering a network wide setup.
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.
very simple by cutting all crap . thank you . hope to see more updates for this
My new default password is going to be subtotechhut.
can't open the admin. i followed the instruction until 7:42 but can't go beyond that.
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...
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......
Is proxmox better than docker?
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.
wrong o n so many levels :D
Damn, finally a tutorial on youtube regarding this subject that is 100% spot on! Tnx man!
Your keyboard clicks sound lush. Which one is it?
Thank you! I went further and set my router to use that DNS under DHCP settings and BOOM!
Im happy i found this video i am saving this for later
I did it today. It works well. Thanks for the video.
Thank you for this tutorial. I love the content. I just discovered you and subscribed.
When i point my pc dns to my pihole ip i loose internet connection. Only get LAN
Do I need my raspberry pi always on and connected to ethernet?
Never got Pi-Hole unbound working
Is there any option to remove those blank fields on websites after ads placeholder? (browser blocker can do that).
Thanks for great tutorial!
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.
thanks
Can we get adblocker and firewall in single unit ?
what raspberry pi alternatives can i buy?
huh
Pi Hole was one of the best additions to my home network. Hardly any adds now :)
Adguard Hone is miles better than pihole