Best DNS Server for Home lab - Pihole Unbound configuration!

Поділитися
Вставка
  • Опубліковано 24 лис 2024

КОМЕНТАРІ • 76

  • @Life_Is_A...
    @Life_Is_A... 11 місяців тому +42

    Networking tutorials on YT in a nutshell:
    - This is a computer! We must first switch on the computer! Then reach over and touch the mouse!
    - I'm going to change the attributes on this API here, then update the libraries for the database, which will allow more data visualization to take place on the next step, where we'll be able add identifiers and self closing tags to optimize the backend of the framework for the web server. This only works for version 1.6.344 of course!

    • @NicholasParent-l9n
      @NicholasParent-l9n 5 місяців тому +1

      Here, I'll teach you how to build a custom emulator for the PS5. First, you'll want to own a copy of an original PS5 game.. Now, I'm just going to assume you're already familiar with all the steps required to rip the files, choose an IDE, write the emulator, compile your code and start your custom application on compatible hardware. Then just hit "Enter" on the main screen and you're all set to play copies of your games on your PC! Please subscribe for more tutorials.

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

      Any you must have pink, blue, or purple LED lighting in the background. A home lab will not work without LED lighting.

  • @markdevaal4116
    @markdevaal4116 10 місяців тому +6

    Awesome tutorial. Im using Pi-Hole with Unbound in a Proxmox container and this works perfectly for me.

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

      Are they pihole and unbound running in the same container (lxc), or do you have two lxc's

  • @someoneelse5005
    @someoneelse5005 3 місяці тому +3

    Nice video and good instructions.
    Some advice:
    Make sure that all the text you are pasting from somewhere can easily be reached, given the video! You can put all this info in description or create a github repository that would contain all the information and files needed, this is egregiously hard to follow.

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

    Hi Brandon, thanks for your inspiration 🙂A video about Technitium DNS (like your article) would be nice.

  • @BoltGoesPro
    @BoltGoesPro 10 місяців тому +8

    Would be nice to be able to copy and paste the commands from your description .-.

  • @RicardoWagner
    @RicardoWagner Рік тому +7

    Great !. The only thing missing for everyone to get into it is the cron suggested for the reload of the root servers. Thanks

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

    Showing this I have been looking at different ways to re-organizing our infrastructure as well as my home lab I have actually have pi installed in the cloud on our own servers as well as smaller versions of it on smaller devices, service quality commercial, but allowing us of the number of traffic that we have on it, I have found a pie is very easy to use and for those who are used to working with Cisco and all the flavors in betweenRoehling recommend putting pie hole on base if you have a lot of endpoint but a small thin server will work just as well and easily handles 200+ devices as well as in points and additional layers of that you can have one device and by pairing with Docker. Again thank

  • @Liqtor
    @Liqtor 10 місяців тому +4

    PiHole + UnBound + LAN-Cache = Dream setup.

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

      I was trying I way I would like setting this up. I don’t have unbound on the quality server running pole and running it that way within itself and then as far as the other systems, I have it pointing internally within our data center, and then also a MPLS between my home and the outside world which works for us again I think of it with, also using something similar to DNS filters product and some other solutions is the best way to secure your information seeing what’s on your information network also like that I can also pair this and docking thing as well

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

    10:24 I hate to be that guy, but the quick response there is because the DNS lookup is first hitting the local DNS client cache on Windows 11.

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

    I'm watching this again after half year and I wonder if it's possible to completely migrate Unbound (config+caches) to new/different host/VM/CT?
    I'm getting about 11 000 cache hits, so it's working pretty well :D

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

    Fantastic video, Brandon! Thank you for sharing your experience. May I ask you questions in the future?

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

    Question: What are to be installed first? Linux OS, Docker, PiHole, then last UnBound? Before I start the setup from this tutorial.

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

    I have been trying to run pihole and unbound as docker containers with traefik. So far I was not successful. Could you show how to integrate unbound as a docker container in your setup of traefik and pihole?

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

    I have found Technitium is much more robust and has DOH and AD blocking and custom blocking built in. The entire thing is administrated in a web page an runs on raspberry pi too.

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

      @tossacointoyourwitcher, thank you for your comment. Look for an upcoming post covering Technitium...definitely a great solution!

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

      Technitium (on HomeLab as recursive DNS w/ DoT, DoH and Sinkhole for advertisement) + FQDN on Cloudflare + Ngnix PM (For handling wildcard SSL Certificates)? If you make that video, it'll be mind blowing

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

    i can never figure out how to follow this guide. Seem to be missing steps or other prerequisite i'm not aware of. intriguing

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

      @badpickle2347, create a topic on the VHT forums here: www.virtualizationhowto.com/community and I can give you more personalized help. Thank you for your comment!

  • @praveenmarkandu
    @praveenmarkandu 2 місяці тому

    Thanks. This helped me. Would be good if you could put links to the configs you are referring to

  • @MrPDC-jr5yl
    @MrPDC-jr5yl Рік тому +3

    Nice video Brandon, can you share you docker-compose file?!

  • @MacGyver0
    @MacGyver0 Рік тому +7

    DOT and DOH are available for client devices which connects to Unbound.
    But how exactly unbound improves privacy?
    All requests to root servers are not encrypted, it still will use DNSSEC to ensure that response was not modified, but your ISP (and anyone who can read your traffic) will see what requests Unbound is making.
    And yes, each recurse DNS request takes more time (30 times more in comparison with Cloudflare DNS), unbound will cache response, but for short time (15 min?).
    So - it is slow and does not add privacy. But in Forwarding Mode to Cloudflare or quad9 (for example) using DOT, you will get really fast DNS and much more privacy.

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

      MacGyver, good points here all the way around, privacy is only as good as the weakest link. I think the sweet spot for unbound for sure is as a caching server and as you mention forwarding to another upstream DNS. It is cool that you can bypass and send to any servers you want, including root DNS though which I find interesting.

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

      Yeah, i think still having quad9 upstream is best practice

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

      +1... I was going to post the same thing

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

    Hello there
    Would you consider to make a tutorial for a newbies on rpi - docker pihole + unbound?
    Have a nice day

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

    Excellent video on unbound. Could you do the same video for Adguard Home. That would be a great addition I think.

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

      Sounds good Vincent, will keep that in mind for sure.

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

      I was going to switch from adgaurd to pie hole to do this, is adgaurd better, have you tried both?

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

      @@LeePrzy I tried Adguard but I just didn't care for it, mainly based on the interface. I went with Pi-hole and unbound. Been very happy with it.

  • @remomattei
    @remomattei 2 місяці тому

    Hi great video. Do you have those config file available? Thanks

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

    There is a docker-compose file to install both in one run.. everything is setup and you simply log into the web admin interfacr..
    I got it running for my ansible docker play..

  • @Glatze603
    @Glatze603 2 місяці тому

    What DHCP solution do you use and are the clients automatically registered in the DNS after an IP has been assigned via DHCP?

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

    I use unbound on pfsense, I will need to do more research on how to use what you are teaching on pfsense. One thing I find strange is often when I point my desktop dns to my DNS server, UA-cam will be in restricted mode. All comments will be unavailable.

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

      Rico, thanks for the comment! That is interesting on the restricted mode.

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

    Now do it using containers ! Please

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

    Are you running pihole container on the unbound server?

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

    Hi
    My DNS server is a HA MaaS region I still can use Pihole just as a filter if needed

  • @dimkinlv
    @dimkinlv 8 місяців тому

    cant find any hint in pihole docs about cron for unbound. is it not needed anymore ?

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

    great video!
    for some reason when i check unbound as Upstream DNS Servers it cant no longer resolve local network DNS with SSL certificate (Nginx Proxy Manager/Let's Encrypt).
    any ideas on why?

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

      Did you figure this out? I’m interested in a similar setup.

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

      @@duduoson1306 gave up. I'm currently using pfsense HAproxy as my DNS resolver. Works perfectly. Pfsense has built-in Unbound support

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

    hi sir tell me how i can enable safesearch through unbound and please share ith us the configuration

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

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

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

    why you put sudo when root??

  • @hotstovejer
    @hotstovejer Рік тому +19

    It's always DNS.

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

    Good guide.

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

    Why would we not want to use IP6 for this?

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

    hi sir but you didn't explain the point of exposing port 53 and how to prevent people from using our dns : i am running ubuntu on oracle cloud and i want to allow just people i know to use my dns but if i open port 53 i will end with unknown people using my dns and i don't want to use vpn as solution or tailscale i want to allow just a specefic devices to use it based on mac address not on ip

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

      Younes, I have seen some solutions to use MAC addresses for filtering, but keep in mind this is not a very secure way of restricting traffic. there are some easy tools out there to change a MAC to anything you want it to be. so wouldn't take a lot to bypass this type fo security. I would recommend not trying to expose a DNS server to the public honestly as the big vendors out there have better means for securing public DNS than we do. However, can I ask what your use case is? Is there a reason you wouldn't want to use a VPN or site-to-site VPN for securing this type of connection?

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

      @@VirtualizationHowto thanks for answering me my first issue is that i don't have a router support vpn and i don't want to configure each device one by one to use my dns i am just searching for the best solution for security i can expose the port 53 and i will not ending with unknown people using my dns and me and my family we don't have a static ip so for this reason i want just secure my instance and use the ip address as dns

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

    Good video.

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

    I try, pihole, but the phones at home not resolve local like, home.pc.local

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

      @yosoyestoyarto, thank you for the comment. Sign up on the VHT forums and we can discuss it further there: www.virtualizationhowto.com/community

  • @Nitdawg-zt2dl
    @Nitdawg-zt2dl Рік тому

    Will this work for my local and lab name resolution also or will I have to run this and point my windows DNS server to this and itself to resolve both internal and external device?

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

      You can always configure your local DHCP server to send the address of your Pi-Hole as the DNS server at time of connection to the local network.

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

    Thanks.

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

    Seems to be working, but if I type "unbound-control status" I get "Error setting up SSL_CTX client cert". How do I fix that? Thanks for the great video.

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

      Robert, this usually means you are not running it with sudo. Give that a try and see if it helps. Thanks Robert!

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

    What? No O'Reilly book(s) to wade through? Lamorama.

  • @OH2023-cj9if
    @OH2023-cj9if 11 місяців тому

    NextDNS every day!

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

    I am totally going to give this a try. I am currently using Adguard Home and have a second instance running on a backup server as setup by mostlychris ua-cam.com/video/KABWpAfyqss/v-deo.html
    I was wondering if you could do a video on how to make unbound highly available (if possible)? Assuming I can get this working with Adguard, this would create a single point of failure for my DNS. I'd like to have a backup instance of unbound running on the backup server with automatic failover in the event the primary goes down.

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

    I disagree!!! Best DNS Server for Home Lab is Technitium ))))))

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

    Why are you using docker containers for everything? It's an extra point of failure, it's less secure, it's out of your control, it's a huge inefficient resources hog compared to just plain Debian minimal server use. All this even on VM, wow, your electricity bill or energy footprint seem to not matter to you do they?

    • @holderua
      @holderua 10 місяців тому +2

      vm and docker do not really add up that much cpu overhead.
      vm has direct access to CPU cores, and docker is simply isolation of processes inside the linux OS.
      RAM on the other hand is a different issue.

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

    I want easy and simple explanations, not these convoluted ultra complex explanations.

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

    Why don't you run a DNS proxy on your Palo Alto?

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

      @epictetus8028 great question....the main reason is I like to play around with lots of different solutions so I find myself configuring, and reconfiguring...I love PA and definitely one of my favorite security solutions, especially their DNS filtering