Host Your Own Encrypted DNS Server

Поделиться
HTML-код
  • Опубликовано: 27 дек 2023
  • In this video I teach you how to Host your own Encrypted DNS (DoH) server on a Vultr VPS
    Use my affiliate link to get yourself a Vultr VPS, please and thank you
    www.vultr.com/?ref=8791233
    My merch is available at
    based.win/
    Subscribe to me on Odysee.com
    odysee.com/@AlphaNerd:8
    ₿💰💵💲Help Support the Channel by Donating Crypto💲💵💰₿
    Monero
    45F2bNHVcRzXVBsvZ5giyvKGAgm6LFhMsjUUVPTEtdgJJ5SNyxzSNUmFSBR5qCCWLpjiUjYMkmZoX9b3cChNjvxR7kvh436
    Bitcoin
    3MMKHXPQrGHEsmdHaAGD59FWhKFGeUsAxV
    Ethereum
    0xeA4DA3F9BAb091Eb86921CA6E41712438f4E5079
    Litecoin
    MBfrxLJMuw26hbVi2MjCVDFkkExz8rYvUF
  • НаукаНаука

Комментарии • 354

  • @MentalOutlaw
    @MentalOutlaw  6 месяцев назад +51

    Use this link to get yourself a Vultr VPS
    www.vultr.com/?ref=8791233
    Use this link to get the little daemon T shirt (also available in long sleeve, pullover hoodie, and ladies shirts)
    based.win/product/little-daemon-premium-short-sleeve-t-shirt/

    • @realcartoongirl
      @realcartoongirl 6 месяцев назад +9

      Why you say private then sellout

    • @Drakonak
      @Drakonak 6 месяцев назад

      Do you recommend a specific VPS from vultr or elsewhere?

    • @brettlaw4346
      @brettlaw4346 6 месяцев назад

      Got any tips for mitigating BGP attacks?

    • @user-yw1nm4je8o
      @user-yw1nm4je8o 6 месяцев назад +2

      Why are you being racist towards indians?

    • @Anon26335
      @Anon26335 6 месяцев назад

      You are so freaking racist dude, you should delete the thumbnail goofball🤡🤡

  • @njpme
    @njpme 6 месяцев назад +709

    Blink 2 times if you're ok. 3 times if the NSA is holding you hostage

    • @vlad7269
      @vlad7269 6 месяцев назад +43

      Don't worry he is hiding near police station

    • @Abhinav_Nayana_Sailen
      @Abhinav_Nayana_Sailen 6 месяцев назад +12

      Bro is off-grid...

    • @ultralaggerREV1
      @ultralaggerREV1 6 месяцев назад +11

      njp, keep posting this comment on future videos. Also ask in livestreams

    • @MoisesCaster
      @MoisesCaster 6 месяцев назад +6

      It's blinking like a Christmas tree

    • @illiiilli24601
      @illiiilli24601 6 месяцев назад +2

      ​@@Abhinav_Nayana_Sailenbro is a deep fake

  • @dueeek
    @dueeek 6 месяцев назад +90

    Love the Windows XP style theme! Also, yet another high quality video from you, thanks for being awesome man!

  • @Teddev1337
    @Teddev1337 6 месяцев назад +150

    Love your channel man! We need people like you who care about privacy and freedom in this crazy digital world!

    • @kuchesezik
      @kuchesezik 6 месяцев назад +8

      naomi brockwell, louis rossmann

    • @Nat3_H1gg3rs
      @Nat3_H1gg3rs 6 месяцев назад

      Hes a grown man wearing a child like cartoon t shirt trying to stay anonymous on the Internet because he's probably half a sex offender. Half the people on this channel are either software pirates (myself) or an even worse kind of criminal. Wrap your mind around it

  • @fildisco
    @fildisco 6 месяцев назад +16

    Merry TLS 1.3 Christmas Mental Outlaw and have a happy DNSSEC New Year!! :D

  • @noctisumbra4656
    @noctisumbra4656 6 месяцев назад +56

    Merry christmas Kenny, and hopefully a happy new year :^)

    • @MentalOutlaw
      @MentalOutlaw  6 месяцев назад +33

      Thanks merry Christmas and happy new year to you too!

  • @beydb
    @beydb 6 месяцев назад +8

    thank you for taking time off playing for the boston celtics to bring us this video

  • @specthegod
    @specthegod 6 месяцев назад +9

    I havent even watched the video yet... just logged in to give it an instant LIKE and thank you Kenny for always having our back. In a world where Governments and large Companies want to invade and completely STRIP us of everything when it comes to privacy... I truely hope for the new year 2024, a voice like your will continue be a light for us non-tech-savy to ensure that our privacy is protected and not SOLD or invaded. I wish you a happy New Year in advance🌹🤝 🌹 All the best. PS: I WISH there was a way to DM you regarding something... do hint me in the right direction if possible.

    • @whateveritwasitis
      @whateveritwasitis 6 месяцев назад

      lol, hes given you more then you need. you really want to talk to him cough up the money. everyone of those situations has room for notes and messages. oooo, you just want more free? hes busy.

  • @MrTechguy365
    @MrTechguy365 6 месяцев назад +22

    Important thing to note!
    You should not run a UDP based DNS Server publicly accessible.
    This can be used for DNS amplification attacks. Either move your DNS to a VPN (with headscale for example) or only allow HTTPS requests.

  • @bloodynoah8308
    @bloodynoah8308 6 месяцев назад

    I actually wanted to do this for some time now. Perfect timing that you made that video

  • @chubbycatfish4573
    @chubbycatfish4573 6 месяцев назад +2

    I've been thinking about this lately... good timing :)

  • @turtleswithbombs
    @turtleswithbombs 6 месяцев назад +10

    Just learned about DNS leaks today! On an unrelated note, u should drop a tutorial on removing rogue-deepfake AIs from my walls

  • @Username5H0
    @Username5H0 6 месяцев назад

    Happy Holidays, and upcoming new year, MentalOutlaw.

  • @somerandomguywastaken
    @somerandomguywastaken 6 месяцев назад +807

    Another great deepfake👏

  • @cyberdusttv
    @cyberdusttv 6 месяцев назад +195

    My limited understanding with DNS is that when one does a recursive DNS query, the queried DNS server needs to check the root server first, which eventually tells the DNS server what IP it is searching for. If this is hosted locally, only the local connection to the queried DNS server would be protected by DoH, and the DNS server making the actual query would be in plaintext still. Wouldn't it be actually worse than using a VPS, if you consider the ISP as a bad actor in the proposed threat model, since they can just read the outgoing traffic of the DNS server?

    • @autohmae
      @autohmae 6 месяцев назад +36

      yes, it's worse than a VPS.

    • @seanmoran6683
      @seanmoran6683 6 месяцев назад

      I think it's pretty silly as well

    • @spoopyangie
      @spoopyangie 6 месяцев назад

      Not sure if is possible with Bind9. But I am using AdguardHome as my local DNS and I set the upstream DNS server as Cloudflare's DOH.
      I noticed a small hit in response times for uncached requests, but other than that. All good!
      So, in theory, the whole DNS request is encrypted - At least till it reaches Cloudflare.
      And of course, blocking trackers and other nasty stuff through DNS blocklists is a very pleasant added bonus.

    • @authenticallysuperficial9874
      @authenticallysuperficial9874 6 месяцев назад +6

      Yeah hosting it locally would be stupid.

    • @pyromen321
      @pyromen321 6 месяцев назад +38

      I’d only host this locally if you have a script to do dns requests for random domains constantly, similar to trackmenot

  • @hanelyp1
    @hanelyp1 6 месяцев назад +37

    The limit I see to privacy in this setup is it still depends on upstream DNS, and your private server may still be traced to you. To improve this you need your private DNS open for wider use, hence ambiguity of who is requesting a lookup.

    • @DogDooWinner
      @DogDooWinner 6 месяцев назад

      I just break in to my neighbors house and use his computer. A few weeks ago, his wife left him due to his apparent affinity for ladyboys. I didn't know he was in to that as well. Him and I should hang out more.

    • @apache937
      @apache937 6 месяцев назад +5

      his server is open and publicly available. but do you trust kenny?

  • @noanyobiseniss7462
    @noanyobiseniss7462 6 месяцев назад +30

    Not just privacy but also speed when held locally.
    Add you frequently visited sites to your local hosts file for snappier surfing.

  • @kidus_tv
    @kidus_tv 6 месяцев назад +17

    Great video as always. If only DNS was real.

  • @LordHog
    @LordHog 6 месяцев назад +1

    This video is very timely, thanks, sir

  • @FeedMeLeaks
    @FeedMeLeaks 6 месяцев назад +1

    Perfect, I was planning on doing this for a few apps I wanted to deploy across a few machines

  • @chrisphoenix115
    @chrisphoenix115 6 месяцев назад +5

    Mental Outlaw is a white guy from Boston.

  • @midknightfenerir
    @midknightfenerir 6 месяцев назад

    Your are best thanks for information and everything you do in the community.

  • @44544abc
    @44544abc 6 месяцев назад

    good videos buddy - keep it up

  • @13thravenpurple94
    @13thravenpurple94 6 месяцев назад

    Excellent video 👍 Thank you 💜

  • @zeKotako
    @zeKotako 6 месяцев назад

    This came at the perfect time for my project

  • @vandorb12
    @vandorb12 6 месяцев назад +6

    Thanks for thr tutorial and its certainly a step that I plan to take with my network. My problem is that i want to keep tabs on all dns traffic and having DoH client-side is not ideal for that. Hopefully you or some forum guru will come out with an easy to follow guide for local recursive secure DNS when communicating with the outside world.

  • @Antonio-yy2ec
    @Antonio-yy2ec 6 месяцев назад

    Awesome! Thank you!

  • @DontDissTheProgram
    @DontDissTheProgram 6 месяцев назад

    Intresting! ...thanks

  • @harveybolton
    @harveybolton 6 месяцев назад +47

    There are some things it makes sense to host yourself but recursive DNS isn't one of them, you're isolating your queries to a single VPS in the cloud with no upstream anonymity. You're much better off using an on-premise DNS cache/filter like Adguard/Pihole and configuring it to use a privacy aware upstream DNS service like Quad9, over DoH of course. Route your queries over Mullvad if you're extra paranoid but that's overkill and not necessary for 99% of threat models.

    • @ultravioletiris6241
      @ultravioletiris6241 5 месяцев назад

      Pretty much. Adguard and Quad9 are exactly what i was going to mention

    • @nightmarenova6748
      @nightmarenova6748 5 месяцев назад

      Really good comment! +1

  • @ulysg
    @ulysg 6 месяцев назад +1

    I personnaly use Technitium DNS, and I like it very much. It's an authorative/recursive DNS, and it also can block ads.

  • @erlichbachman663
    @erlichbachman663 6 месяцев назад

    Insane thumbnail well done

  • @autohmae
    @autohmae 6 месяцев назад +19

    putting your recursive nameserver locally will NOT solve the DNS-information leak, because at the moment still all DNS-requests done recursive nameservers are still NOT encrypted. Sadly.

  • @Swenthorian
    @Swenthorian 6 месяцев назад +2

    When I set up an OPNsense router, I configured the firewall to capture all NTP and DNS requests, and I configured Unbound to serve DNS and to do DNS-over-TLS to Quad9, and I configured Chrony to serve NTP and to do NTPSec to System76.

  • @shellcatt
    @shellcatt 5 месяцев назад

    Props for the arcade music :D

  • @hanabiilesley
    @hanabiilesley 6 месяцев назад

    awesome vid

  • @guy_autordie
    @guy_autordie 6 месяцев назад +1

    I love how DNS-over-https is: Doh!

  • @petekrumb4936
    @petekrumb4936 5 месяцев назад

    Wow, not only a full time NBA player on the best team in the league, but you run a successful hacking RUclips channel as well? Inspirational man

  • @Wolferia
    @Wolferia 5 месяцев назад

    I plan on this big fan 🎉🎉🎉

  • @babelboy-akababz2889
    @babelboy-akababz2889 6 месяцев назад

    04:50 I was bloody jamming to that music. Why did it have to stop. I want to live my life with that soundtrack running.

  • @johngleeson7919
    @johngleeson7919 6 месяцев назад +3

    Technitium DNS is another nice option, particularly if you want a GUI. It also has adblock capabilities, and can do DNS wildcard, which is helpful for self hosted applications.

  • @adamm6051
    @adamm6051 6 месяцев назад +1

    One day when I finally will understand how computers work your videos will be very helpful to me. Too bad I know jackshit atm. Keep up the good work!

  • @dubstep1
    @dubstep1 6 месяцев назад +2

    Thanks drake

  • @GebzNotJebz
    @GebzNotJebz 6 месяцев назад +8

    number one thing you learn about DNS in networks is that its configuration has to be by IP, otherwise you have a "Chicken first or the egg" problem

    •  6 месяцев назад +1

      not really, as the root servers are known ahead of time, and usually hardcoded into an app, so you can do your own recursion

    • @zakyia
      @zakyia Месяц назад +1

      How do you not have a handle?

  • @MichaelGolpe
    @MichaelGolpe 6 месяцев назад

    4:31 feeling the groove on that music!

    • @MichaelGolpe
      @MichaelGolpe 6 месяцев назад

      @@Kuznet609 Thanks 😊!

  • @locusf2
    @locusf2 6 месяцев назад +1

    ECH is really good if you're using TLS cipher suite based virtual host.

  • @ncrvako
    @ncrvako 6 месяцев назад

    Mental, your are one of my favourite ytbers to love and hate at the same time. One day i will start paying proper attention to your videos teachings.

  • @WerogIjo
    @WerogIjo 6 месяцев назад

    OMG...this really work

  • @ankuryogi3298
    @ankuryogi3298 6 месяцев назад

    Awesome

  • @willuhmjs
    @willuhmjs 6 месяцев назад

    fire 🗿

  • @freeloaderuser6793
    @freeloaderuser6793 6 месяцев назад +10

    The fact that I was trying to do this on the router without any success

    • @MentalOutlaw
      @MentalOutlaw  6 месяцев назад +14

      Doing this on a router would be interesting, might be possible with dnsmasq on OpenWRT

    • @ozzieggg
      @ozzieggg 6 месяцев назад

      ​@@MentalOutlaw openwrt has unbound

    • @makam2089
      @makam2089 6 месяцев назад

      ​@@MentalOutlawthis is possibile with Unbound package for OpenWRT.

  • @papato20
    @papato20 6 месяцев назад

    finally!!!!!!!!!!!!!!!

  • @alexlopez5800
    @alexlopez5800 6 месяцев назад +1

    😂 thumbnails are A1

  • @frogery
    @frogery 6 месяцев назад

    very cool

  • @johnvogt621
    @johnvogt621 6 месяцев назад +3

    Hope you'll do an update when all the features you mentioned (secure hello etc) are available. Thanks

  • @mytech6779
    @mytech6779 6 месяцев назад +1

    The net provider can still see and log the raw IP on all the packets you send; at that point reverse DNS is a pretty trivial way to get those URL logs.

  • @OcteractSG
    @OcteractSG 6 месяцев назад +10

    So it’s the most private DNS setup, even though the DNS server can be identified as yours, it talks to other DNS servers in the clear (because that’s how top-level DNS works), and you’re the only person/family using it.

    • @apache937
      @apache937 6 месяцев назад +1

      you can use his server if you want

  • @litjay3828
    @litjay3828 6 месяцев назад +4

    i didn't know jayson tatum knew about DNS servers

  • @vectorvirus343
    @vectorvirus343 6 месяцев назад +6

    Also combine it with pihole to have the ultimate DNS server

  • @gacherumburu9958
    @gacherumburu9958 6 месяцев назад

    👍👍

  • @AwesomeGuy445
    @AwesomeGuy445 6 месяцев назад

    personally i don't use dns and i just memorize the ip, but this is cool!

  • @ThatRandomGuyInTheComments
    @ThatRandomGuyInTheComments 6 месяцев назад +8

    Holy shit that thumbnail what the fuck

    • @ihate4chan
      @ihate4chan 6 месяцев назад +6

      Man, now I feel like I see him in a different (negative) light lol

    • @omkarnaik6305
      @omkarnaik6305 6 месяцев назад +5

      He's a frustrated mental incel.

    • @hydr0xx_
      @hydr0xx_ 6 месяцев назад +2

      ​@@omkarnaik6305his whitecel ass tryna cope in every way possible it seems

    • @thymos6575
      @thymos6575 6 месяцев назад

      @@hydr0xx_ cry harder scammer

    • @aakarshanraj1176
      @aakarshanraj1176 6 месяцев назад

      @@ihate4chan he is a salty chicken man

  • @Wolferia
    @Wolferia 5 месяцев назад

    I love u mental outlaw

  • @mariosuper2818
    @mariosuper2818 6 месяцев назад

    thanks

  • @DandyDude
    @DandyDude 6 месяцев назад

    Man I didn't even know this would be possible in a usability sense

  • @aloice
    @aloice 6 месяцев назад +4

    using a wildcard certificate would have been more private, especially given your DNS queries wouldn't be collected and sold, so ideally no one would know that domain even exists

  • @SlashCash29
    @SlashCash29 6 месяцев назад

    based

  • @tonyscalleta
    @tonyscalleta 2 дня назад

    Jason Tatum 🔥

  • @reizaifafu
    @reizaifafu 6 месяцев назад

    i never knew that Jayson Tatum also teach on how to host our own dns server

  • @terminallyonline5296
    @terminallyonline5296 6 месяцев назад

    Hilarious FreeBSD t shirt

  • @sonny8085
    @sonny8085 6 месяцев назад

    Can I ask what server software you use for your Linode email server?....I was thinking of using Axigen, but am looking for advice. Thanks

  • @njts
    @njts 6 месяцев назад +2

    What software are you using for your email server?

  • @stevengill1736
    @stevengill1736 6 месяцев назад

    Nice Tee shirt. ;*=[}
    Man, this is so over my head these days....
    One of the problems of being standalone solar power is that this time of year one has to run a generator to charge the batteries, and THAT presupposes having money for gas at $5.00/gallon (yes - up here in NoCal Ecotopia Earth First gas is the sale price as Anchorage or Honolulu...from what I've heard people back east pay as little as $2.50! )
    [muffled sobbing in the BG] Don't even ask about food prices....OTOH, it was 50'F today....not sunny but not raining...a few days before New Year's.
    But don't even ask about internet - no Starlink = no real web (miraculously there's a trace of mobile which allows me to occasionally see RUclipss like this one...it makes dialup look good in retrospect!)
    Another message in a bottle launched into the heaving Sea of Packets....Happy Gnu Year!

  • @pajeetsingh
    @pajeetsingh 6 месяцев назад +3

    20:29 Add domain to host file.

  •  6 месяцев назад

    I don't understand what this is for, or how it works. You eventually need to get the data from somewhere, and you usually want the current data, so you have to regularly ask the TLD providers or the domain owners (or someone else who asked them before, like Google or Cloudflare) for that. You can cache the data for a while, but I thought, that is already been done automatically by your software (maybe the OS?), since every DNS entry has a Time To Live information.
    Or is this only for people who want to offer a DNS service for other people?

  • @e00d20
    @e00d20 6 месяцев назад

    vegain gains

  • @007Strings007
    @007Strings007 6 месяцев назад +1

    Other than making your network faster does this really add anything. I mean DNS list are pubic and are used to associate URLs to IPs, using your own DNS server or someone else does not stop your ISP or anyone from seeing the IPs of the websites you are visiting and if they can see that they can do a reverse DNS search to fined what website URL you are going to. Am I right about this?

  • @davidcampos8795
    @davidcampos8795 6 месяцев назад +16

    kenny pls make more farm and lifting videos
    also pls put the libre podcast somewhere where it's easy to stream

    • @MentalOutlaw
      @MentalOutlaw  6 месяцев назад +8

      checkout my farming channel www.youtube.com/@TheBasedFarm

    • @davidcampos8795
      @davidcampos8795 6 месяцев назад +1

      @@MentalOutlaw based joel salatin

    • @SOULSEEKERBEATS
      @SOULSEEKERBEATS 6 месяцев назад

      Based tech drake

  • @eyeball3011
    @eyeball3011 6 месяцев назад +1

    goated tutorial

  • @MarceloVeronezzi
    @MarceloVeronezzi 6 месяцев назад

    04:09 This looked like straight from the hacking time scene of Kung Fury (and I mean it as a positive thing). 😁

  • @livingcodex9878
    @livingcodex9878 6 месяцев назад +2

    おはようございます

  • @paxdriver
    @paxdriver 6 месяцев назад

    21:45 "it's a trap!" lol

  • @MarloMitchell
    @MarloMitchell 6 месяцев назад +7

    is there a written guide?

  • @davidholland6164
    @davidholland6164 6 месяцев назад

    I host adguard home on my raspberry pi with encrypted dns it's great

  • @someshkilari
    @someshkilari 6 месяцев назад +1

    Interesting thumbnail, especially the crying person in thr middle.
    Does it refer to anyone specific?

    • @Grogueman
      @Grogueman 5 месяцев назад

      His step-father, who is alleged to bang his mom in his full view.

  • @whiterice6016
    @whiterice6016 6 месяцев назад +2

    Hey Kenny, how would I start my own ISP?

  • @da_revo5747
    @da_revo5747 6 месяцев назад +2

    Bro what is that Indian character? Literally a mix of all the completely different stereotypes. 😂

  • @stevensneedberg4879
    @stevensneedberg4879 4 месяца назад

    It was super annoying when Firefox ripped out ESNI support when literally nobody in the world was using ECH, hope ECH gets implemented soon

  • @user-jns28bz
    @user-jns28bz 6 месяцев назад

    I don’t have much knowledge of DNS, and how the internet works in general, so my question is whats the difference between this and pihole + unbound?

  • @Picture_Pig
    @Picture_Pig 6 месяцев назад +1

    Vultr Vait (Walter White)

  • @RespectRazz
    @RespectRazz 3 месяца назад

    Ayo it's Jayson Tatum

  • @aquatrax123
    @aquatrax123 6 месяцев назад

    DNS Cacheing will not speed anything up since 1) Caching will occur locally on your machine anyway. No need to cache anything on another DNS server. If your computer looks up the A record for google it will not ask again until the TTL expires. or you reboot your machine. 2) Today, Most DNS records have a TTL of around 5 minutes, so you will have to ask the authoritative DNS server again anyway after the TTL expires.

  • @stilldoesntclick1337
    @stilldoesntclick1337 5 месяцев назад

    Some questions:
    Did Secure SNI got added?
    If SSNI hasn't been added is it a big disadvantage, can the ISP or Big Tech your traffic without SSNI?

  • @nuhanfaiyaz5541
    @nuhanfaiyaz5541 6 месяцев назад

    If someone have no knowledge of online privacy/security,
    password and sensetive information management.
    Where should he start?
    And Do you recommend to learn how to use Linux and get rid of Windows?

  • @Basieeee
    @Basieeee 6 месяцев назад

    Always done something like this, DOT or DOH at least.

  • @pizzza5452
    @pizzza5452 6 месяцев назад +2

    The thumbnail lmaooo

  • @mastadon1227
    @mastadon1227 5 месяцев назад

    Who makes your thumbnails ?

  • @CMDRunematti
    @CMDRunematti 6 месяцев назад

    I'm using a raspi with pihole and unbound... Don't think it's encrypted tho but I definitely am more secure

  • @kinkychad69
    @kinkychad69 6 месяцев назад +1

    Is the host free service and is there easy way to backup with out doing it from scratch?

  • @simkoo8582
    @simkoo8582 6 месяцев назад

    Would Technitium DNS Server be a good option for a local DNS server? I've had it running for a few weeks, and doing the same DNS tests gives the same results as in your video, but it is 1 click setup with a web interface. It does appear to also be open source.

    • @RedSaint83
      @RedSaint83 6 месяцев назад

      I've used Stubby and personalDNSfilter before as a Windows user and just found Technitium. Seems a lot more polished and feature rich.

  • @electroteque
    @electroteque 6 месяцев назад

    how much does it cost to run email and DNS off VPS ? Wouldnt want to do that with EC2 that is for sure. There is Vultr freebsd also. I moved to serverless as I dont have time to manage vps and security.,