Hey Chuck, could you do video on running PiHole + Unbound + Wireshark in containers please? I'm trying to set them up on Raspberry Pi 4 but can't find any good tutorials. Thanks. Love your videos and just subscribed.
I watched this video of yours like 20 times over the course of a year or so. Even today, I still came back to check some steps which I've forgotten. Thank you, Chuck. I've been running pi-hole at my home in a virtual machine. Happy user so far.
I don't know if I could handle cooking for him though, hearing positive feedback would confuse me. All my family say is its ok then waits 45 minutes and discusses everything that could have been better. Sorry brought up sore subject.
I would like to mention this, in case anyone has trouble - That if you end up having your pi behind NAT and setup a port forward respectively. Unless you have a static IP on your home network, this can change frequently depending on your ISP. I believe something like dynamic DNS would allow you to make calls to your webhook, without having to constantly update your WAN IP/Port Forward on your router. Food for thought! Thanks for the video Chuck. Best wishes!
CBT Nuggets is phenomenal! Being able to help coworkers with some of their tech problems is such a great feeling! Just this morning I saw someone with issues with the network printer and found out it didn't have an IP address. Low and behold it had a broken/loose ethernet cable! 30 seconds later I'm "the IT hero" at work!
it didnt work for me i got this error: WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
I had basically this same setup, but recently moved from PiHole to Adguardhome. With adguardhome you can set upstream DoH, and I'm using OpenDNS DoH. It's great. I even installed a second instance of AdguardHome inside my Unifi Cloudkey, for DNS redundancy at my LAN
This is why I love development, there is always something new to learn... So I was watching your video and realized I can containerize my app and expose it forwarding the port to the internet which is much easier than using ngrok or some other tunneling tool.. thanks man
Thank you Chuck for this; had a little difficulty pointing the docker container/ DNS to my router, but it works now with over 8.5k requests in Pi-Hole!!!! The search is so much faster. Excellent tweaks. Thank you for this tweak of genius and a happy new year to you too sir. May you and your family be continuously blessed.
Can you please help me? I am having trouble with docker container as well I installed pihole in a docker container on AWS.. so can I access it using private IP address like he did in this video?
Stupid question: if the IP address is publicly accessible, what's to stop someone using that URL to trigger the block/unblock commands? Is there a way to authenticate who invokes the URL commands?
So I stumbled across your channel a few weeks ago. I love watching you tinker and the way you explain things. That encouraged me to go to school for cybersecurity or programming, Im not sure yet, but thank you!
At first, I was a bit skeptical of docker as I had to download it to solve a programming issue I had with google collab for my robotics programming. Now, seeing it can be run on a raspberry pi, having a container for a pihole, Anki vector wirepod, AND OctoPrint, this is OFFICIALLY my new favorite thing.
Granted this is well after the fact, but trying to follow along earlier this week, I'm noticing that if you change resolv.conf on Ubuntu 20.04, once your host machine reboots, it's going to break resolv.conf. Using ls will show it in red, and if you try to open it in an editor, the file will be empty. Has anyone found a safe way to do this in 20.04?
when you run the script, it downloads everything and at the end, this error appears. .Template parsing error: template: :1:8: executing "" at : map has no entry for key "Health"
I had success. I started a new ubuntu server with the latest iso, I made sure to do the DNS fix on ubuntu before installing anything else, then followed the steps exactly.
Does anyone know the wizardry behind the network.py. I found out that I can't use the docker Chuck created because a PI runs ARM and the one he created is AMD. Thanks
I am still building my Python Virtual Assistant (which already includes her own IFTT :P) so i haven't tested this as it is further in my automation plans, but i suspect that if you logout from the PiHole webpage the command won't work (just a guess). Otherwise as i did with mine, make your commands or scripts work only if your smartphone is connected to the internal network (because nowadays smartphone is our 3rd hand) so if you are not home the command won't execute (still i am talking with a custom python program on my mind, i have never used Alexa or any other Virtual Assistant).
@@Noulis7 Logging out won't help as the the shell script talks directly to the PiHole. You can always make things only work if your phone is on your network and have your phone VPN back to your home. I do that as it also makes my phone use PiHole to block ads while I am away from home.
I am trying to do it on my raspberry pi 3B+. I already installed pihole and it is working on my network, however, now I am following the video on 12:20. How can I create the file network.py on my network folder that I just created?
when running that script i always get that error: .Template parsing error: template: :1:8: executing "" at : map has no entry for key "Health" do you or anybody know how to fix that?
some people may do this because it can help them type even faster (practice). in a field where there's a lot of typing non-specific things and characters, it doesn't seem like a bad idea; or for just educational purposes (people wanting full details to understand)
@@TheBadchenn what? I've never used linux without tab completion and that includes alpine linux, gentoo, debian, Ubuntu, SUSE, mandrake, Bunsenlabs, DarwinX86, FreeBSD, OoenBSD, ChromeOS, adb, HP-UX, and several more.
Not too sure if this is the right area..... I have a teenager who prefers to shop online instead of doing homework, and wondering if blocking ads or redirecting her back to her homework, i.e Google Docs, can be done all on one Raspberry Pi 4 or do I need two of them? Can specific URL's be redirected to a URL of my choosing? Also any recommended videos to make this happen? I am not the IT guru of the century.... Only have A+.
Why not use sudo su and put in the commands that you want and exit from it? Sorry if it's been answered before just getting back into linux and that's what I always used to do.
I had some errors following this but I decided to get portainer, I always thought it’s just some fancy stuff I don’t need it but man it make things really easier for me, and I managed to get pinhole running, your ollama video is the reason I started my home lab thing and now I have (pihole, nginx proxy manager, portainer, Nextcloud, ollama, jellyfinn, bitwarden vault, tailscale, moonlight for remote control “I know there are better stuff probably but I’m gonna use some gpu intense softwares and this is made for gaming so it should work for stuff like solidworks”, and soon authelia) thanks for the inspiration your channel is a hidden gem fr
Sorry if silly question. Configuring on router means all client traffic will go to OpenDNS which is fine. But how do I get all clients to go to PiHole also? Do I have to configure them manually or is there an easier catch all?
Been wondering the same. I have Pi-Hole installed using OpenDNS, but it doesn't let me use my login for the OpenDNS. Before I was just using OpenDNS to which I could use content filtering.
I have a quick question (sorry if you answered it in the video), but what is port 443 used for? I have another docker container that is already using it, and would like to keep both of these containers working together.
PiHole is great, you can even go a step further and make it recursive DNS with unbound and that's well documented too! I am currently running this a VM though. As one thing I don't understand is what happens when the container or host crashes? Where do the history and logs go? Creating docker containers is easy but I never fully grasped how you can save states and such as you would with a VM. Do I re-deploy a container if I should reboot the host or does it somehow resume the previous instance? For those wondering if it's worth setting up PI-Hole it definrtly is and makes your network a whole lot snappier, even more so on slow WAN connections.
If you're wanting to save Docker container logs, etc., you have to write them somewhere outside the container, like to a NAS drive. You would have to configure that in the container.
@@old-patriot4509 thanks for your comment,ive learned a while lot since I posted this comment. Today I would store the logs on a seperate volume or store the directly on some neteork drive like you suggested. Docker is awesome!
Nice Thing, but one question. block and unblock via browser works, as long as the network.py script is running... But how can i achieve, to automatically start network.py AND keep it running on docker startup??? :-)
I had to use Portainer to get this to setup correctly. Every time I would try to run a bash script or run a command in the terminal I would have some kind of error occur or pi-hole would time out attempting to even start. Works great now though. Love seeing all the blocked queries.
Easiest way is to edit the script and remove everything after printf 'Starting up pihole container ' It's only giving you a message that the container has started, which is not important to see.
I blame Chuck for this... Since watching this video I have set up 3 docker containers on my machine (pihole, dhcp, and httpd). Damn you Chuck!... No really thanks and keep on the good work.
I have my Alex devices on a different VLAN than my computers; Also because Starlink use CGNAT I have no public facing ip. I solve that by having a droplet at Digital Ocean with OpenVPN which routes all incoming traffic to a single client (Synology) which then reverse proxies to webservers on my LAN. Is there any way I can get Alexa to work with IFFT. I don't see how Synology can route traffic to a different VLAN but I am definitely not a network guru.
slade herman - nope. I ended up not using docker. Couldn’t get chuck’s version to work. Used git pihole/pihole then would run but Couldn’t get ports shared by host so no web admin ..messed with it for 2 days and ended up not using docker to get it working
Thank you for this very informative video. I've got a few questions about pi.hole though. Why do you run it in the cloud? What's the benefit? Or is it just for easier IFTTTTT demonstration? I've been running pi.hole from a raspi for about a year now and I'm very happy with it. But you got me hooked on to docker. I'm thinking about running pi.hole from my Synology. Is there anything specific I need to check on the Synology NAS? I already run another docker on it. I just don't want to slow down my network if the bottleneck is the NAS. However when I check the raspi it's pretty much idle all the time despite handling about 20 devices' network traffic. I also use pi.hole as my DHCP. I don't know why exactly. It's just happened to be. On which device would you recommend to be the DHCP?
Am addicted to your energy and channel ! Excellent. Content . If you have a video of your ‘shop’ space and how it’s setup that would help for upcoming you tubers
Is it possible to block other DNS services from being reached from within your network? This for the purpose of keeping the tech savvy amongst us from getting past the filtering set for the organization.
I ran into a problem with this, you can access Internet via IPV4 an IPv6 protocols. Raspberry pie hole blocks IPV4 very well but allows IPv6 to pass by. If I disable IPv6 protocol in my Wi-Fi net work, I cannot access certain websites. How do you configure pie hole so it does the same thing for IPv6 as a desk for IPV4?
Need help please reply ASAP for PiHole first preference kindly read want to know about the KEMP Load Balancing, do I have to buy the load balancer hardware as well or not and if yes compare with other which one should I go for so can use for free for how long. No one talks about it There are lot of version of Rasberry Pi so which one is the best for Pi-Hole a package has every hardware like How about Rasberry Pi 4 stater
Can you also discuss the risks of opening port 53 or setting up pihole as an OpenDNS resolver? I've set up mine on AWS free tier and now have 24 clients connected even though I've only set up mine for use on 2 devices. I read up on the pihole forums and it looks like setting it up without VPN can make it vulnerable to DNS poisoning attacks or it might be compromised and used for DDoS attacks. I'm a noob and just following guides, discussing this in detail will be very interesting.
Hi Chuck, love the video. Implemented it myself on free oracle cloud VM. But I'm a bit concerned about safety when running the traffic through this. Can you say if it's safe and if not, how to make it safer?
Great tutorial on docker and Pihole. I am stuck though. I have ATT Fiber and can't change DNS on my gateway. It is one that OpenDNS says that I can't modify. So I am stuck not being able to change it on my router. Is it absolutely required to do the stuff in this tutorial?
Chucking Chuck chuck , Thanks for the Video , got it all working on linux mint , since i'm not an expert with linux i have a simple question , when running docker containers how can i set the pihole admin page only listen on internal network BTW this is first time i'm using docker and i like it so far.. i didn't do the opendns part either..
awesome! followed along step by step, even setting up an account with linode. I've had this running less than 25 minutes and my entire network is faster! Amazing!
great guide and resources. got it working following your guide, diving into docker and linux myself. What would be a clean way to automate the network.py script once the container launches? I'm having to run the python script once starting the container. Thanks!
Hi Chuck , thanks for your awesome work. I would be curious if you could do also a video on pihole+ unbound + nginx+ bitwarden self hosting service in docker.
Thanks a lot for all your tutorials. I want to set up a Raspberry pie and pie hole on my Network. Is it necessary to set the dns server manually on every single device in the network in order for the ad blocker to work?
Does running pihole in a container help reduce the risk of forwarding port 80/8080? I've seen so many threads and warnings about just that thing from the pihole community.
Followed the video verbatim but received the following error message: WARNING: Localhost DNS setting (--dns=127.0.0.1) may fail in containers. aa31bb703c422dbafb9d4948cb81ecb90dec7e7bca305d2ff0aa9678984f5374 Starting up pihole container .................... Timed out waiting for Pi-hole start, consult check your container logs for more info (`docker logs pihole`) Steps to reproduce issue: 1. Follow part 1 and create and configure an OpenDNS account; ruclips.net/video/BSplICgr7iU/видео.html 2. ssh into a Raspberry Pi Model B successfully 3. Follow this video to create and configure docker 4. Everything goes smoothly until 7:10 of this video where the above error is shown. 5. Entering the command 'docker logs pihole' shows the following: standard_init_linux.go:207: exec user process caused "exec format error" standard_init_linux.go:207: exec user process caused "exec format error" Any help would be much appreciated...
Thanks for the video, awesome work. only one thing I do not like is IFTTT. Don't get me wrong it's a wonderful tool but I don't like having 3rd party/cloud software access to my home network. Yes I'm sure your could do an IP filtering in your FW rules but to me that's one more thing to worry about. Thanks to you I'm definitely going to do something similar but I am going to use my home automation software that lives only in my home network to do what IFTTT would do in this scenario. Then I can have Alexa run that command. I am using HomeSeer for my automation. I already have 5 Pi-Hole's running on my network and I love them.
Hi... I have 2 different network providers. there are completely separate networks 1st one fiber router for normal use 2nd one 5G connection unlimited social media and youtube on my first router (fiber), I have a raspberry pi with pi-hole installed my question is how can I add pi-hole to my 2nd rower without adding a 2nd raspberry pi device. I don't know much about networking. please help and sorry about my English
Start mastering IT skills NOW!: bit.ly/nc-cbt-2020
Watch Part 1: ruclips.net/video/BSplICgr7iU/видео.html
➡️Support NetworkChuck: bit.ly/2XPaF7u
➡️Need help? Join the community: bit.ly/nc-discord
PiHole Docker script: bit.ly/pihole_script
Download SolarPUTTY: bit.ly/usesolarputty
What is Docker??: ruclips.net/video/eGz9DS-aIeY/видео.html
1:43 ⏩ Preparing Ubuntu for Docker/PiHole
4:06 ⏩ Install Docker
4:32 ⏩ Deploy the NetworkChuck PiHole Container
8:15 ⏩ Configure PiHole
10:41 ⏩ Alexa, IFTTT and PiHole
How do you block yt ads
I would do DoH+ unbound dns with cloudflare as a backup for better security and privacy
Hey Chuck, could you do video on running PiHole + Unbound + Wireshark in containers please? I'm trying to set them up on Raspberry Pi 4 but can't find any good tutorials. Thanks.
Love your videos and just subscribed.
Hey Chuck, I totally love your videos but please respond to the issue that a Cloud-DNS is very bad practice!
hello all links for me "Access Denied"
I know that there is vpn but is there a way to get around without vpn
thank
I’m 68 spent my life in IT. Never stop learning because this stuff is transformational, exciting time to b alive at any age!
I hope you're 69 now
I watched this video of yours like 20 times over the course of a year or so.
Even today, I still came back to check some steps which I've forgotten. Thank you, Chuck.
I've been running pi-hole at my home in a virtual machine. Happy user so far.
Love this. That’s so cool David!!
imagine having a dinner with this guy: this chicken is purrreeee magic! I love it!!!! it's AMAZING!
you need to eat this chicken RIGHT NOW!
@@jerryarciaga5016 😂😂😂😂😂
I don't know if I could handle cooking for him though, hearing positive feedback would confuse me. All my family say is its ok then waits 45 minutes and discusses everything that could have been better. Sorry brought up sore subject.
@@jedidiahwilliamson6147 id probably stop cooking until they start appreciating 🤔
Hey Chuck, when you talk it is like you are 3 feet away from were I am, you are never boring.
I would like to mention this, in case anyone has trouble - That if you end up having your pi behind NAT and setup a port forward respectively. Unless you have a static IP on your home network, this can change frequently depending on your ISP. I believe something like dynamic DNS would allow you to make calls to your webhook, without having to constantly update your WAN IP/Port Forward on your router. Food for thought! Thanks for the video Chuck. Best wishes!
Love the way you explain the commands as you go - awesome presentation skills Chuck. And genuinely useful content :)
CBT Nuggets is phenomenal! Being able to help coworkers with some of their tech problems is such a great feeling! Just this morning I saw someone with issues with the network printer and found out it didn't have an IP address. Low and behold it had a broken/loose ethernet cable! 30 seconds later I'm "the IT hero" at work!
it didnt work for me i got this error: WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
omg finally. I've been waiting for this video since you did a opendns video.
:)
I had basically this same setup, but recently moved from PiHole to Adguardhome. With adguardhome you can set upstream DoH, and I'm using OpenDNS DoH. It's great. I even installed a second instance of AdguardHome inside my Unifi Cloudkey, for DNS redundancy at my LAN
So I only just discovered this channel, and I love it. So much fun; so engaging. Just amazing!
Kids at home, "Alexa, unblock my stuff" Thanks for the video Chuck
Love my Pi-Hole.... between it and openDNS .... made our home internet a whole lot more family friendly!
but they can use dns over https and skip the filter i am looking a way to block that
Hey Chuck, nice and practical tutorials related to docker. Please continue to produce more content on this.
Thanks Chuck -- after 4years, your bash script is still solid !
This is why I love development, there is always something new to learn... So I was watching your video and realized I can containerize my app and expose it forwarding the port to the internet which is much easier than using ngrok or some other tunneling tool.. thanks man
I think VSCode just added the ability to port forward as well, making the dev and deployment experience that much easier.
Thank you Chuck for this; had a little difficulty pointing the docker container/ DNS to my router, but it works now with over 8.5k requests in Pi-Hole!!!! The search is so much faster. Excellent tweaks. Thank you for this tweak of genius and a happy new year to you too sir. May you and your family be continuously blessed.
Can you please help me?
I am having trouble with docker container as well
I installed pihole in a docker container on AWS.. so can I access it using private IP address like he did in this video?
Ciao Chuck!!! WOW! Please continue to produce more content on this!Love it!
For someone who hasnt touched many of these stuff other than linux, you made it sound pretty well easy! Thanks
Glad I can help! Thank you!
I'm so happy that CBT Nuggets is sponsoring you now that you've moved on to doing your own thing. That's amazing!
Stupid question: if the IP address is publicly accessible, what's to stop someone using that URL to trigger the block/unblock commands? Is there a way to authenticate who invokes the URL commands?
It's not a stupid question. Nothing is stopping someone else to trigger the command. There must be a way to authenticate but I don't know how.
That was exactly what I’m going to do HaHa
Use pi hole on your home network and write a script to block/unblock , never buy Alexa or any other spy ware !!
So I stumbled across your channel a few weeks ago. I love watching you tinker and the way you explain things. That encouraged me to go to school for cybersecurity or programming, Im not sure yet, but thank you!
At first, I was a bit skeptical of docker as I had to download it to solve a programming issue I had with google collab for my robotics programming. Now, seeing it can be run on a raspberry pi, having a container for a pihole, Anki vector wirepod, AND OctoPrint, this is OFFICIALLY my new favorite thing.
Please share the network.py file outside of the docker image.
Granted this is well after the fact, but trying to follow along earlier this week, I'm noticing that if you change resolv.conf on Ubuntu 20.04, once your host machine reboots, it's going to break resolv.conf. Using ls will show it in red, and if you try to open it in an editor, the file will be empty. Has anyone found a safe way to do this in 20.04?
Same problem
Hands down one of the best vids out there
when you run the script, it downloads everything and at the end, this error appears.
.Template parsing error: template: :1:8: executing "" at : map has no entry for key "Health"
Same issue here.. any luck with this?
ditto same issue i had today!!
same boat
same issue and I tried it on two different servers
I had success. I started a new ubuntu server with the latest iso, I made sure to do the DNS fix on ubuntu before installing anything else, then followed the steps exactly.
Dude, you're the best teacher I ever saw. Congratulations!
Nice tutorial man! I like it a lot. The only thing that's a bit unnecessary is using sudo while being root.
Does anyone know the wizardry behind the network.py. I found out that I can't use the docker Chuck created because a PI runs ARM and the one he created is AMD. Thanks
Thank you! Just brought my Linode based Pi hole online and working with google assistant. Its working great!
Love the video. but this is a bit insecure, as now anyone can block/unblock your DNS just by knowing the IP address of your server.
I am still building my Python Virtual Assistant (which already includes her own IFTT :P) so i haven't tested this as it is further in my automation plans, but i suspect that if you logout from the PiHole webpage the command won't work (just a guess). Otherwise as i did with mine, make your commands or scripts work only if your smartphone is connected to the internal network (because nowadays smartphone is our 3rd hand) so if you are not home the command won't execute (still i am talking with a custom python program on my mind, i have never used Alexa or any other Virtual Assistant).
@@Noulis7 Logging out won't help as the the shell script talks directly to the PiHole. You can always make things only work if your phone is on your network and have your phone VPN back to your home. I do that as it also makes my phone use PiHole to block ads while I am away from home.
Hi Chuck, could you please provide information how to update pihole container to the newest version, as this one is quite old already?
I would like to know this as well
RUclipsr knows how he gets fed, doesn't block RUclips.
Also add unbound as your upstream in pi-hole and keep your DNS queries local and direct.
I am trying to do it on my raspberry pi 3B+. I already installed pihole and it is working on my network, however, now I am following the video on 12:20. How can I create the file network.py on my network folder that I just created?
when running that script i always get that error:
.Template parsing error: template: :1:8: executing "" at : map has no entry for key "Health"
do you or anybody know how to fix that?
Nice video... One question though. What changes did you made to the standard pi-hole docker container?
and can you share the docker compose file?
"I became a network engineer"
"I have courses"
uses sudo when root because this video is EDUCATIONAL!
Who types the complete file name? I am so thankful to 'TAB'
some people may do this because it can help them type even faster (practice). in a field where there's a lot of typing non-specific things and characters, it doesn't seem like a bad idea; or for just educational purposes (people wanting full details to understand)
Auto-complete is not native unix functionality so many users may not have the feature unless they set it up.
@@TheBadchenn what? I've never used linux without tab completion and that includes alpine linux, gentoo, debian, Ubuntu, SUSE, mandrake, Bunsenlabs, DarwinX86, FreeBSD, OoenBSD, ChromeOS, adb, HP-UX, and several more.
Not too sure if this is the right area..... I have a teenager who prefers to shop online instead of doing homework, and wondering if blocking ads or redirecting her back to her homework, i.e Google Docs, can be done all on one Raspberry Pi 4 or do I need two of them? Can specific URL's be redirected to a URL of my choosing? Also any recommended videos to make this happen? I am not the IT guru of the century.... Only have A+.
Why not use sudo su and put in the commands that you want and exit from it? Sorry if it's been answered before just getting back into linux and that's what I always used to do.
Great stuff!
Linked it to Android Assistant instead of Alexa (due to what I'm running on my phone and Google Nest speakers)
Works like a charm!!
great video! but how do you secure the external URL ? surely anyone can browse to it and block your internet ?
I had some errors following this but I decided to get portainer, I always thought it’s just some fancy stuff I don’t need it but man it make things really easier for me, and I managed to get pinhole running, your ollama video is the reason I started my home lab thing and now I have (pihole, nginx proxy manager, portainer, Nextcloud, ollama, jellyfinn, bitwarden vault, tailscale, moonlight for remote control “I know there are better stuff probably but I’m gonna use some gpu intense softwares and this is made for gaming so it should work for stuff like solidworks”, and soon authelia) thanks for the inspiration your channel is a hidden gem fr
This guy is amazing! Fun to watch how he makes such boring Linux stuff making so jesty! Full of energy and vitality. Keep up the good work buddy!
Love when you talked to your Alexa it activated mine. Ethically hacking your viewers, love it!
Sorry if silly question. Configuring on router means all client traffic will go to OpenDNS which is fine. But how do I get all clients to go to PiHole also? Do I have to configure them manually or is there an easier catch all?
Been wondering the same. I have Pi-Hole installed using OpenDNS, but it doesn't let me use my login for the OpenDNS. Before I was just using OpenDNS to which I could use content filtering.
I have a quick question (sorry if you answered it in the video), but what is port 443 used for? I have another docker container that is already using it, and would like to keep both of these containers working together.
Ok being a bit of a numpty here, how do you update pihole? the usual pihole -up does not seem to work?
Got the same issue... I read that is better to delete the container and recreate the container with the latest version
PiHole is great, you can even go a step further and make it recursive DNS with unbound and that's well documented too! I am currently running this a VM though. As one thing I don't understand is what happens when the container or host crashes? Where do the history and logs go? Creating docker containers is easy but I never fully grasped how you can save states and such as you would with a VM. Do I re-deploy a container if I should reboot the host or does it somehow resume the previous instance? For those wondering if it's worth setting up PI-Hole it definrtly is and makes your network a whole lot snappier, even more so on slow WAN connections.
If you're wanting to save Docker container logs, etc., you have to write them somewhere outside the container, like to a NAS drive. You would have to configure that in the container.
@@old-patriot4509 thanks for your comment,ive learned a while lot since I posted this comment. Today I would store the logs on a seperate volume or store the directly on some neteork drive like you suggested. Docker is awesome!
I've had no luck installing docker with this setup.
Nice Thing, but one question. block and unblock via browser works, as long as the network.py script is running... But how can i achieve, to automatically start network.py AND keep it running on docker startup??? :-)
Wondering the same thing myself also is there a way to change the ports it runs on?
Where you able to figure how to start the python script upon restart?
pi hole in docker error port 53 !!! disable /etc/systemd/resolved.conf
DNSStubListener=no . and start pihole . no error port 53
many thanks for the video again!
if pihole has DNS filter why did you use OpenDNS ?
I had to use Portainer to get this to setup correctly. Every time I would try to run a bash script or run a command in the terminal I would have some kind of error occur or pi-hole would time out attempting to even start. Works great now though. Love seeing all the blocked queries.
Been waiting for this video. Thanks Chuck. You’re awesome.
Thank you!
Dude I love you man, I wished I knew of your channel earlier... Anyhow glad I am for finding you, your awesome
.Template parsing error: template: :1:8: executing "" at : map has no entry for key "Health"
same error., tried several machines, never worked for me
Exactly same error for me too
Easiest way is to edit the script and remove everything after
printf 'Starting up pihole container '
It's only giving you a message that the container has started, which is not important to see.
I don’t understand how the previous video on opendns is connected to this one. Help?
Chuck, Is there a way to see how your network.py file is setup. I would like to write a script to do similar to what you are doing with IFTTT.
Look at this github project, it may answer more questions then what it seems Chuck isn't willing to offer github.com/tfranovic/pi-hole-alexa
I blame Chuck for this... Since watching this video I have set up 3 docker containers on my machine (pihole, dhcp, and httpd). Damn you Chuck!...
No really thanks and keep on the good work.
Great video, enjoyed it I'm just on dockers now practicin. thanks a bunch
I have my Alex devices on a different VLAN than my computers; Also because Starlink use CGNAT I have no public facing ip. I solve that by having a droplet at Digital Ocean with OpenVPN which routes all incoming traffic to a single client (Synology) which then reverse proxies to webservers on my LAN. Is there any way I can get Alexa to work with IFFT. I don't see how Synology can route traffic to a different VLAN but I am definitely not a network guru.
Excellent video..But how to customize the blocking page? Is there a way to redirect using pihole in docker?
Great content for a POC, however, the API needs authentication and could be setup to reply with response codes to avoid the 500 error.
>implying you need to be white to to set up API authentication
🤨😯😲🤤🥵🥺😳😣😖😩😫😱🥴😖😓😤😎
Mine won't run!! keep getting: docker: Error response from daemon: driver failed programming external connectivity on endpoint pihole (0c7313d8caf97c6470a391ff0cb7fecb168114e81f09e4a9cc001d2a260e1a15): Error starting userland proxy: listen tcp 0.0.0.0:53: bind: address already in use.
Starting up pihole container Template parsing error: template: :1:8: executing "" at : map has no entry for key "Health"
.Template parsing error: template: :1:8: executing "" at : map has no entry for key "Health"
Ubuntu server 20
had the same issue today. any luck on a fix?
slade herman - nope. I ended up not using docker. Couldn’t get chuck’s version to work. Used git pihole/pihole then would run but Couldn’t get ports shared by host so no web admin ..messed with it for 2 days and ended up not using docker to get it working
Thank you for this very informative video. I've got a few questions about pi.hole though.
Why do you run it in the cloud? What's the benefit? Or is it just for easier IFTTTTT demonstration?
I've been running pi.hole from a raspi for about a year now and I'm very happy with it. But you got me hooked on to docker. I'm thinking about running pi.hole from my Synology. Is there anything specific I need to check on the Synology NAS?
I already run another docker on it. I just don't want to slow down my network if the bottleneck is the NAS. However when I check the raspi it's pretty much idle all the time despite handling about 20 devices' network traffic.
I also use pi.hole as my DHCP. I don't know why exactly. It's just happened to be. On which device would you recommend to be the DHCP?
Am addicted to your energy and channel ! Excellent. Content . If you have a video of your ‘shop’ space and how it’s setup that would help for upcoming you tubers
Is it possible to block other DNS services from being reached from within your network? This for the purpose of keeping the tech savvy amongst us from getting past the filtering set for the organization.
I ran into a problem with this, you can access Internet via IPV4 an IPv6
protocols. Raspberry pie hole blocks IPV4 very well but allows IPv6 to
pass by. If I disable IPv6 protocol in my Wi-Fi net work, I cannot
access certain websites. How do you configure pie hole so it does the
same thing for IPv6 as a desk for IPV4?
I love it, I decided to just watch both videos first and now I will go back and start on part 1. But I need more coffee first! 🤣😀👍
Need help please reply ASAP for PiHole first preference kindly read
want to know about the KEMP Load Balancing, do I have to buy the load balancer hardware as well or not and if yes compare with other which one should I go for so can use for free for how long.
No one talks about it
There are lot of version of Rasberry Pi so which one is the best for Pi-Hole a package has every hardware like How about Rasberry Pi 4 stater
Chuck, any chance of seeing a video about running a docker container for Pi-hole right on the udm-pro???
How would you do the same with nftables ?
I was waiting for this video.
You took long time.
You retired my unix / Linux love AWESOME
YEA after 38plus in it it’s FUUUUUUUNNN
THANK YOU
Can you also discuss the risks of opening port 53 or setting up pihole as an OpenDNS resolver? I've set up mine on AWS free tier and now have 24 clients connected even though I've only set up mine for use on 2 devices. I read up on the pihole forums and it looks like setting it up without VPN can make it vulnerable to DNS poisoning attacks or it might be compromised and used for DDoS attacks. I'm a noob and just following guides, discussing this in detail will be very interesting.
You can scan for open ports on machines it’s done all the time
Hi Chuck, love the video. Implemented it myself on free oracle cloud VM. But I'm a bit concerned about safety when running the traffic through this. Can you say if it's safe and if not, how to make it safer?
put that inside wireguard and privoxy and upstream DoH with Cloudflare. For additional security put everything behind zero trust cloudflare again..
Great tutorial on docker and Pihole. I am stuck though. I have ATT Fiber and can't change DNS on my gateway. It is one that OpenDNS says that I can't modify. So I am stuck not being able to change it on my router. Is it absolutely required to do the stuff in this tutorial?
Chucking Chuck chuck , Thanks for the Video , got it all working on linux mint , since i'm not an expert with linux i have a simple question , when running docker containers how can i set the pihole admin page only listen on internal network
BTW this is first time i'm using docker and i like it so far.. i didn't do the opendns part either..
awesome! followed along step by step, even setting up an account with linode. I've had this running less than 25 minutes and my entire network is faster! Amazing!
wow, thanks.. am 'new to the game' with docker but learned loads... great content
Bro u & ur family are cool, thanks for the very informative vids explained in a simple manner, keep doing those docker vids, a lot of fun !!!!
Chuck, will you be able to do some easy tutorials for backing up and restoring config and volumes etc - and something via Portainer too?
im 35 seconds in and i already love you
What I don’t understand is why did we setup openDNS on our router if we set also are going to set it up on the Docker container ?
great guide and resources. got it working following your guide, diving into docker and linux myself. What would be a clean way to automate the network.py script once the container launches? I'm having to run the python script once starting the container. Thanks!
i have the same question. any luck?
Hi Chuck , thanks for your awesome work. I would be curious if you could do also a video on pihole+ unbound + nginx+ bitwarden self hosting service in docker.
Hi sorry it might be a stupid question but you need to keep the pc on in order to run the docker container and pihole?
Sorry again
Thanks a lot for all your tutorials. I want to set up a Raspberry pie and pie hole on my Network. Is it necessary to set the dns server manually on every single device in the network in order for the ad blocker to work?
Does running pihole in a container help reduce the risk of forwarding port 80/8080? I've seen so many threads and warnings about just that thing from the pihole community.
Followed the video verbatim but received the following error message:
WARNING: Localhost DNS setting (--dns=127.0.0.1) may fail in containers.
aa31bb703c422dbafb9d4948cb81ecb90dec7e7bca305d2ff0aa9678984f5374
Starting up pihole container ....................
Timed out waiting for Pi-hole start, consult check your container logs for more info (`docker logs pihole`)
Steps to reproduce issue:
1. Follow part 1 and create and configure an OpenDNS account; ruclips.net/video/BSplICgr7iU/видео.html
2. ssh into a Raspberry Pi Model B successfully
3. Follow this video to create and configure docker
4. Everything goes smoothly until 7:10 of this video where the above error is shown.
5. Entering the command 'docker logs pihole' shows the following:
standard_init_linux.go:207: exec user process caused "exec format error"
standard_init_linux.go:207: exec user process caused "exec format error"
Any help would be much appreciated...
Hi Chuck! Love your keyboard. What kind of keyboard you have?
3:50 is it resolv conf same as host file in windows?
Hi Chuck it’s amazing course there but how if you want to block just some kind of people at some kind of hours every day? Thanks
Thanks for the video, awesome work. only one thing I do not like is IFTTT. Don't get me wrong it's a wonderful tool but I don't like having 3rd party/cloud software access to my home network. Yes I'm sure your could do an IP filtering in your FW rules but to me that's one more thing to worry about. Thanks to you I'm definitely going to do something similar but I am going to use my home automation software that lives only in my home network to do what IFTTT would do in this scenario. Then I can have Alexa run that command. I am using HomeSeer for my automation. I already have 5 Pi-Hole's running on my network and I love them.
FYI here is my setup
drive.google.com/drive/folders/1L-jFvQBVgCi1zPjumkUgdEmYsUPRUIhH?usp=sharing
Hi...
I have 2 different network providers. there are completely separate networks
1st one fiber router for normal use
2nd one 5G connection unlimited social media and youtube
on my first router (fiber), I have a raspberry pi with pi-hole installed my question is how can I add pi-hole to my 2nd rower without adding a 2nd raspberry pi device. I don't know much about networking.
please help and sorry about my English
Thanks for this video! I was trying to get pihole working the other day but ran into trouble - I’m excited to try your way :)
@NetworkChuck - I am getting error when running the pihole.sh. It says Template parsing error
How would this work in an AD enviroment? I can't point domain computers to the PIHOLE DNS, Just point the firewall to open dns?