DNS Demystified: Everything You Should Know for Faster Internet!

Поділитися
Вставка
  • Опубліковано 20 жов 2024
  • Dave explains DNS, the Domain Name System, as well as how to benchmark and optimize your own DNS. For my book on Amazon, check out: amzn.to/45kWPJC

КОМЕНТАРІ • 772

  • @SGgrc
    @SGgrc 4 місяці тому +303

    BEAUTIFUL Job, Dave! - Clear, concise and complete. And thanks as always for the mention. I wrote that DNS Benchmark back in 2008 and it's overdue for an update. I'll be sure to let you know when I have that! Thanks again! 👍

    • @DoktorLorenz
      @DoktorLorenz 4 місяці тому +22

      Thank you from the users

    • @Jeffero28
      @Jeffero28 4 місяці тому +14

      Steve, thanks for all that you do! Love the podcast too.

    • @fredericoalmeida5473
      @fredericoalmeida5473 4 місяці тому +5

      And let me pay my respects to you as i use your resources for .... 15 years or so at least :) Your description of the DDOS attack you were targeted inspired my learning about the subject. Thank you!

    • @JohnDoe-uz1yb
      @JohnDoe-uz1yb 4 місяці тому +1

      Would using this tool today upset sites and rate limit me?

    • @aperson1181
      @aperson1181 4 місяці тому +4

      GLAD to see STEVE here. !!!!
      I used to listen to your podcasts daily and knew more about computers than the IT Dept at the State of Oregon. I work as a fiscal analyst.

  • @TomCee53
    @TomCee53 4 місяці тому +44

    Kudos to the original architects of DNS. It’s an amazing system with performance, reliability, and expansion capability.

    • @Etcher
      @Etcher 4 місяці тому +5

      It really is. It's one of my favourite aspects of the internet (from an architectural perspective) with TCP/IP coming in a close second.

    • @DavidLindes
      @DavidLindes 4 місяці тому +1

      Indeed. We all owe a debt of gratitude to the likes of Elizabeth Feinler, Jon Postel, the two Pauls (Paul Mockapetris and Paul Vixie), and numerous others. Thank you, all -- named and unnamed (I'm not prepared to actually give an exhaustive list, so I'm not going to try, but those are a few that stand out in my mind).

    • @monad_tcp
      @monad_tcp 4 місяці тому +1

      @@Etcher I wish we used more of what the Internet and the TCP/IP can really do instead of shoving everything on HTTP and the Web, which is a mere "app" of the internet.

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

      @ortivox I mean... sure, but that's kinda the nature of anything so incredibly central to a massive system. A heart is pretty vulnerable, too... but hey, with around 2 billion beats in a human lifetime, I'd say most hearts do a pretty damn good job.

  • @davidglad
    @davidglad 4 місяці тому +105

    DNS really is one of those amazing technologies that nearly 100.00% of the time it "just works" for why you don't think about it. And why it's quite noteworthy the few times there are issues

    • @NicojustNico
      @NicojustNico 4 місяці тому

      Yeah, and every intelligence agency knows what what interests are, google for example has on of the fastest ones for free, they really dont wanna know what your doing.... Really, plain old DNS is not cutting it anymore...

    • @fumped
      @fumped 4 місяці тому +34

      "It’s not DNS
      There’s no way it’s DNS
      It was DNS"

    • @ax14pz107
      @ax14pz107 4 місяці тому +4

      What's really fun is when you're doing load balancing via DNS but the GSLBs aren't authoritative so when some genius gets the idea of doing an any type request for... reasons, poisoning DNS cache, and absolutely obliterating the cache for a huge number of users.

    • @BillAnt
      @BillAnt 4 місяці тому +2

      It works reliably due to distributed DNS server all over the world.

    • @herauthon
      @herauthon 4 місяці тому +1

      it's broken by design

  • @sl00kz
    @sl00kz 4 місяці тому +69

    You’re the kind of genius that starts with “com”. Comedic.

  • @larsnergard
    @larsnergard 4 місяці тому +21

    The HUB joke was hilarious. Best part was you didn't even grin:)

  • @g76312459777865m
    @g76312459777865m 4 місяці тому +653

    got me on the hub joke lol

    • @nosuchthing8
      @nosuchthing8 4 місяці тому +17

      I had a mental image of barney from the Simpsons complaining about the speed of the download of 'art'

    • @dertyp6833
      @dertyp6833 4 місяці тому +21

      He means Github, right?

    • @seanstewart8943
      @seanstewart8943 4 місяці тому +17

      i love dave's jokes. they are always good!

    • @nosuchthing8
      @nosuchthing8 4 місяці тому

      @@dertyp6833 suuuuure

    • @kbyethx
      @kbyethx 4 місяці тому +24

      The fairly dry delivery really made that one land

  • @purpleparrot4333
    @purpleparrot4333 4 місяці тому +5

    I worked in a Data Center, Bay area. Didn't expect a professional when I saw the title. Excellent and accurate.

  • @tajjej3649
    @tajjej3649 4 місяці тому +17

    While watching this video I DL'ed DNS Benchmark and ran it. I then changed my DNS server and my response times got MUCH better. I am now letting it build it's "Custom List" for me and will have it retry the test. I found my current DNS server, before changing it, WAY down the list, which is probably why my browser was a bit slow. Thank You, Dave!!

    • @JohnDoe-uz1yb
      @JohnDoe-uz1yb 4 місяці тому +1

      Does using this tool piss off dns servers due to large number of requests per min. And rate limit you... what skme ppl said.

    • @enihi
      @enihi 4 місяці тому +4

      @@JohnDoe-uz1yb it's a couple of requests per DNS server. You're querying a hundred different servers. They don't even know you're doing it.

    • @JohnDoe-uz1yb
      @JohnDoe-uz1yb 4 місяці тому

      @@enihi where do people come up with these stories? thank you, I will give the tool a try today.

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

      I can recommend getting your own (recursive) DNS server (e.g. Pi-Hole, preferably in combination with Unbound).

    • @JohnDoe-uz1yb
      @JohnDoe-uz1yb 2 місяці тому

      @@apveening does it stop ads from within sites? like YT ads

  • @rikachiu
    @rikachiu 4 місяці тому +16

    This is the absolute best DNS explainer video I have ever watched.

    • @Insightfill
      @Insightfill 4 місяці тому +2

      I agree! It's quite good! Naomi Brockwell has a good one as well.

    • @rikachiu
      @rikachiu 4 місяці тому +1

      @@Insightfill I agree she is great too

    • @rgm4646
      @rgm4646 4 місяці тому +2

      I did DNS for 15 years in my organization but I dont do DNS anymore, so I have forgotten a lot. THIS was a very good explanation.

  • @midge9740
    @midge9740 4 місяці тому +59

    I’d love to see more networking videos like this. Always so interesting for me

  • @estpumpkin7831
    @estpumpkin7831 4 місяці тому +37

    One note: If you are benchmarking different DNS servers to try and eek out every last millisecond of performance, make sure you do some real world benchmarking and not just measuring how long the DNS requests take to return.
    The reason is some CDN's will use which DNS resolver a request comes in from in order to decide what server to serve you content from. This is complex, and if they redirect you afterwards is based on how the CDN is configured, how large the content you requested is and a bunch of other factors, but if you speed up DNS by 10ms, but add 20ms to a lot of your small HTTP requests, you may actually reduce your overall web performance even if pure DNS benchmarks are showing up as faster.

    • @rudysal1429
      @rudysal1429 4 місяці тому +2

      How do you do that?

    • @David_Crayford
      @David_Crayford 4 місяці тому +2

      @@rudysal1429 Trial and error I presume. Set the DNS, make several requests. Time them. Then do the same with a different DNS and compare the results.

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

      @@rudysal1429 Not got a single good answer, because it depends on things like what you use, where your CDN nodes are located etc ...
      Maybe I should build a dnspyre / dnsperf like tool to do exactly this.

    • @StephenMcGregor1986
      @StephenMcGregor1986 4 місяці тому +1

      Then there's also things like network buffer bloat to take into consideration

    • @ax14pz107
      @ax14pz107 4 місяці тому +4

      On top of that, a lot of the DNS servers themselves are doing a type of anycasting, so the IP address of the DNS server could be going to different physical servers depending on how they're interpreting the physical location of your IP address. If your ISP is large and is allocating IP addresses without any rhyme or reason, they could be seriously screwing up your performance.
      I've noticed that the IP address of my phone sometimes is geo located in places that are over 500 miles away.
      I'm sure that ISPs that large probably have colocated CDNs and compensation measures in place, but I often wonder how well those work.

  • @DeanHorak
    @DeanHorak 4 місяці тому +150

    Nice explanation. Just one clarification-pronunciation of live (as in “TTL”) is “live” as in “I live in the US.”
    The cache entry “lives” for a specific period of time.

    • @andyp8747
      @andyp8747 4 місяці тому +6

      Being a child of the '70's, I always knew it as 'Time to live' as in 'alive'. I agree, 'liv' makes more sense so not sure why I remember it as Dave does.

    • @David_Crayford
      @David_Crayford 4 місяці тому +13

      I agree. But I only started studying networking in 2001. Never heard it said Dave's way before. Live as in "until dead." Not Live as in "On Air Broadcast."

    • @RickNickel
      @RickNickel 4 місяці тому +1

      Yep, it is a common mistake.

    • @CB27
      @CB27 4 місяці тому +1

      I always thought it was "live" not "liv".
      Probably because the only time I have to think about it is when making DNS record changes and how long it could take for the changes to go l-i-v-e.

    • @TheMagneticreaper
      @TheMagneticreaper 4 місяці тому +2

      No, it's cached, not live. So when the time expires and it stops being cached, it goes live; real-time.

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

    New to Dave's content but could listen to how he explains about anything. Extremely enjoyable presentation.

  • @marksterling8286
    @marksterling8286 4 місяці тому +6

    The ven diagram of Dave’s videos and videos about dns means a huge smile on my face. I run a cluster of recursive DNS servers that then feed into pihole servers. Nice fast, lots of cache and secure dns

    • @toby9999
      @toby9999 4 місяці тому +1

      You must have a super brain like Dave's. My brain refuses to comprehend anything relating networking, other than plugging in cables, lol.

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

      What recursive DNS servers do you use? I use two different Unbound servers. And yes, those feed into my Pi-Hole servers as well (which came out on top in the DNS benchmark).

  • @donixion4368
    @donixion4368 4 місяці тому +98

    Ah yes, Steve Gibson, he also does a security podcast on Twit with Leo LaPort. Truly a legend.

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

      I've met Leo (and Lisa) in person, but it would be great to meet Steve as well...

    • @joseph7179
      @joseph7179 4 місяці тому +4

      @@IBM_Museum Wow! Is Leo still with us? He goes way back.

    • @IBM_Museum
      @IBM_Museum 4 місяці тому

      @@joseph7179 - That's been about eight years back, in Gainesville, Florida. Quite a long talk with Leo. But yes, he's still around.

    • @SeanBZA
      @SeanBZA 4 місяці тому

      @@joseph7179 Every week a podcast, in both video, audio and in text form, with both the show notes and actual podcast available as well. Video and Audio at TWIT, and the show notes at Steve's site of GRC, where he also has this freeware, along with his other software.

    • @ericdodson3630
      @ericdodson3630 4 місяці тому +2

      Security Now is a great podcast. I actually got to sit in on a taping of The Tech Guy at the TWiT studios back in 2012

  • @michaelsap
    @michaelsap 4 місяці тому +1

    Your comedic timing and taste is just perfect. Thanks for making content like this. A guy with your experience and resume is rare,and to share it with others to help learn, is even more rare. I'll be checking out your book and thanks again.

  • @bobross6802
    @bobross6802 4 місяці тому +35

    I'm mad at you Dave !! I took your autism on-line test and got 42 !! I'm 80 yrs old ... on to my newfound life . Thank you, my friend ! 😎

    • @Tryh4rd3rr
      @Tryh4rd3rr 4 місяці тому +2

      Hola, bob ross

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

      Sorry to hear ur very autistic 😢

  • @joshharding6925
    @joshharding6925 4 місяці тому +4

    Steve Gibson is an absolute legend! I've been using Shields Up for years and still do on a regular basis.. thanks for the great video Dave

  • @rihards5067
    @rihards5067 4 місяці тому +1

    I cant express how much clear to the point explanations without any unrelated information are enjoyable to watch, good work sir. Loved the video

  • @fairalbion
    @fairalbion 4 місяці тому +6

    A *huge* factor in the responsiveness of your setup is how well your connection holds up when it's busy. We're talking latency under load, aka bufferbloat. Crappy home routers cause traffic jams, where the essential background stuff, like TCP ACKs and DNS requests, gets stuck in the routers' buffers. The user experience spirals down from there. So when the DNS benchmark candidates drop down the ratings list, it may not be the server's fault, or the number of hops, or the physical distance. It may just be bufferbloat. There are lots of articles out there on it.

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

    Dave I salute you. I found your channel after the recent CrowdStrike security issue. I found your videos very informative an easy to follow. Keeps up the great work!👍

  • @dcwilsonlytle1411
    @dcwilsonlytle1411 4 місяці тому +2

    your videos are the best ad for the RE20 ever. Your voice is mic'd better than most of the audio specific channels I follow.

  • @Dylan-Loralar
    @Dylan-Loralar 4 місяці тому +1

    Another great episode Dave! I love content like this that provides such great detail about systems and topics that are often glossed over, complained about, or ignored completely.

  • @danielhooke6115
    @danielhooke6115 4 місяці тому +31

    4:08 It's "time to live" as in how long the packet will live (short "i"; verb), not "live" (long "i"; adjective) as in "alive".

    • @MarcWickens
      @MarcWickens 4 місяці тому +1

      Yes, it’s live as in rhymes with sieve.

    • @danielhooke6115
      @danielhooke6115 4 місяці тому +1

      @@MarcWickens I had to look up what s-i-e-v-e spells... *cough* 😁

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

      ​@@danielhooke6115
      Oh you millimenials - no edumicated good. Ya gotsta reed mor bukes sos ya no mor word-thingies! 😅

  • @russellhltn1396
    @russellhltn1396 4 місяці тому +4

    Just a note, this is great advice for the home, but could get you in trouble at work. Many filtering solutions use a special DNS server to block access to certain sites (like that other "hub"). Thus, using your own DNS could either bypass the filtering, or get you nothing at all (because all other DNS is blocked). Even at home it could be an issue if you're trying to filter your family's access to non-family friendly sites.

  • @feel65
    @feel65 4 місяці тому +1

    as someone who has sworn to destroy cisco with their pure unadulterated hatrid for all things networking, this video broke things down really well and helped me understand certain processes that i always complain about in router config. Thank you

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

    Just found your channel based on the Crowdstrike debacle. Subscribed. Great videos.

  • @ajaopify
    @ajaopify 4 місяці тому +1

    Hi, great info! I changed from the the DNS that came with Xfinity to Quad9 and it drastically reduced my junk mail. Take care.

  • @Lopuch64
    @Lopuch64 4 місяці тому +2

    Hi Dave, I really enjoy your videos and it's great to see you get more and more comfortable doing them!

  • @n-steam
    @n-steam 4 місяці тому +10

    Note: This isn't going to speed up your internet connections, it will just speed up the initial connection.
    Subsequent connections will use lookups cached on your personal device, stored in a DNS cache so it is not needed to look up the IP again.
    This lasts as long as the TTL setting, which is going to be somewhere between 1h - 24h, typically 6h.
    It is far more important to choose a secure, and reliable DNS server, with a good reputation.
    Any malicious DNS server can set you up for a man-in-the-middle attack.

    • @stevesteve8098
      @stevesteve8098 4 місяці тому

      Unless you are a MS engineer.... and work on OS that handle caching badly.... or wose , in hte case of 365 , where they rotate the cloud endpoints FASTER, that the dns records renew...
      so you end up caching a load of potentially "dead" end point ip addresses...

  • @jonjohnson3027
    @jonjohnson3027 4 місяці тому +13

    DNS -- the thing that many admins get wrong in an Active Directory environment!
    Hint: AD clients will break if you assign them a public DNS server to query from, even if you put it as secondary. Any DNS server queried by an AD client must be able to resolve the AD domain. Generally, only the AD DNS server service should be querying public DNS.
    Also, remember that NXDOMAIN -- when the DNS server returns "I dunno" to a query -- is a valid response, and the client will NOT query the secondary server when it receives an NDXOMAIN response.

    • @steeviebops
      @steeviebops 4 місяці тому +1

      This! 100%.

    • @Etcher
      @Etcher 4 місяці тому +1

      VERY Sage advice here!!!! Admins take note :)

    • @rossmccabe2296
      @rossmccabe2296 4 місяці тому

      admins who get this wrong are not admins

    • @johnnemeth6913
      @johnnemeth6913 4 місяці тому

      NXDOMAIN is not, "I don't know,"; it is a definitive does not exist.

    • @kjisnot
      @kjisnot 4 місяці тому +1

      I managed (before retiring) an AD forest with child domains managed by their local admins. One guy set all of his forwarders to Google DNS servers and then called me complaining about their DNS problems while never mentioning what he had done. Plus it was something I had fixed one time before and warned him about it.

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

    I was one of those guys building custom PCs when Win95 hit the scene.
    I think I lasted about 8-10 months after that, then quit the job after having a mental breakdown. WIN95 was so problematic that people would find my number in the phone book and call me for debug advice and to just complain...even people that were not my customers, it was INSANE.
    I do miss Windows 3.11

  • @OzzieBird
    @OzzieBird 4 місяці тому +36

    Dymistifier Dave 😊
    Steve Gibson, there's a name I haven't heard in a while ❤

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

    What an interesting explanation once again, Dave! Great stuff. What caught me off guard a little is your pronunciation of TTL. You say Time to Live with live as in live music. I always thought it was live as in living. It's how long the entry has left to live instead how long its considered live. It may be correct both ways? Don't know but I think it's interesting.

  • @DemPilafian
    @DemPilafian 4 місяці тому +5

    _"It's just an executable."_ 7:35
    Famous last words of many Microsoft Windows users.

  • @wburger2178
    @wburger2178 4 місяці тому +83

    So TTL stands for Time To Live! I always thought it stood for Time To Live!!!

    • @DavesGarage
      @DavesGarage  4 місяці тому +51

      I clearly said "live" :-)

    • @TequilaDave
      @TequilaDave 4 місяці тому +16

      ​@DavesGarage I think he meant "Live" as in pronounced "Liv" as in the time the record has to "live" before being refreshed.

    • @skinlab4239
      @skinlab4239 4 місяці тому +4

      ​@DavesGarage I live in a house and I'm live online inside the house.
      Live and live are heteronyms.

    • @altosack
      @altosack 4 місяці тому

      Um… To both of you who replied to Dave: r/whoosh!

    • @TomCee53
      @TomCee53 4 місяці тому +1

      😂😂😂😂😂

  • @vlfreak
    @vlfreak 4 місяці тому +2

    Super helpful as always Dave. Steve's stuff has been helping me for ~25yrs 👌.. as for the hub... yeh, thats the one i thought you ment 🧐😁

  • @TymboTalks
    @TymboTalks 4 місяці тому +1

    Awesome! Good to know I wasn't quite utilizing the fastest DNS for my area; great tool! Also, bravo to the old school Family Guy reference 🤣. I MUST get your book on living with ASD. I have yet to be diagnosed, but, after months and months of reading up on it online and in the DSM-5, about 12 online tests all coming back 'strong likelihood', and much time spent in reflection, I have no doubts I am on the spectrum; so many things in my life now make so much more sense. Your videos have helped, as well, as I am currently studying cyber sec and preparing for the arduous road of having no experience, but landing a gig. Thanks. (This comment has no gone on for way too long, I know 🙄)

  • @Etcher
    @Etcher 4 місяці тому +1

    I don't know why but I've always loved anything to do with DNS. I'm by no means a network guy - I'm strictly software and that's where I feel most comfortable but there is a beauty in the design of the DNS system and the fact its been in use for 40 years that fascinates me. Great vid, really enjoyed it ;-)

    • @toby9999
      @toby9999 4 місяці тому

      The DNS system is so mind numbingly complex and unintuative that I'm miles away from noticing any beauty. It does my head in. And it's not for a lack of trying. I've been a C++ Windows application developer for 25 years, but I keep away from all things network. I just don't get it.

    • @Etcher
      @Etcher 4 місяці тому

      ​@@toby9999 I hear ya, perhaps I'm conflating "beauty" with "complexity"!

  • @hquest
    @hquest 4 місяці тому +15

    I run my own internal DNS resolvers, to eliminate /some/ of the DNS snooping from my ISP. As always, they are faster than any public DNS server in all categories (including the generated custom list) of Steve's awesome DNS Benchmark tool. There are multiple benefits of running your own DNS server, such as the ability to block access to certain domains (i.e., ads hosting companies), without messing with browser extensions or anyone's device. This works wonders for the devices where your configuration options are very limited.

    • @c128stuff
      @c128stuff 4 місяці тому +5

      Doing the same here, actually been doing this for about 30 years now. It has always been the best solution for those who understand DNS, but out of reach for most users.

    • @chriswatt2702
      @chriswatt2702 4 місяці тому +1

      Set up my own DNS DHCP appliance. £40 and now I can swap out my router without rebooting all current network hardware (Alexa, bulbs and sockets). Cable router replaced with PfSense PC. Local cable acting as a failover for fibre until cable contract ends.

    • @JohnDoe-uz1yb
      @JohnDoe-uz1yb 4 місяці тому

      But extensions blocks everything for me where dns didnt anything visually.(might blocked some tracking but not ads and certainly no where near extensions). But i am just one user.

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

      @@JohnDoe-uz1yb Use the correct DNS server (Pi-Hole).

  • @krelliankruge9993
    @krelliankruge9993 4 місяці тому +1

    this is the "Coles notes" of O'Reilly DNS and BIND. Fantastic job breaking it down!!!

  • @00chiuppi
    @00chiuppi 2 місяці тому

    Brilliant work Dave! Very concise and clear. Passing it on to my tech who is studying to become a network administrator.

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

    Good old Steve eh! I was a bit of a PC newbie around the time of the big DCOM vulnerability and used his Decombobulator, along with some of his socket advice.

    • @IBM_Museum
      @IBM_Museum 4 місяці тому

      "Trouble in Paradise", "Never10", the list of Steve Gibson gems goes on and on...

    • @joehodges3735
      @joehodges3735 4 місяці тому

      I remember using Steve’s firewall many many years ago. First learned about him and his software library back in the ZDTv days in the late 1990s.

  • @adeergg
    @adeergg 4 місяці тому

    This is such a good video. I am a competitive fps gamer and IT student and I have been using that DNS benchmark tool for a long time. I had a rough idea of how DNS worked but this was super informative and helpful.

  • @BooDevil65
    @BooDevil65 4 місяці тому +1

    Love Steve's benchmarking tool (well, all his tools)! Thanks for the vid

  • @carl-johanhorberg1399
    @carl-johanhorberg1399 3 місяці тому

    Dave, you clearly got the youtube algorithm to do your bidding and promoting your videos, but your content never lets one hanging!

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

    Another master-class in information packed and organized video.

  • @jojothefine
    @jojothefine 4 місяці тому +4

    I personally like the idea of running your own recursive name server locally and using the root servers directly. Eliminates the privacy concerns of using Google or CloudFlare too.

    • @thecandyman9308
      @thecandyman9308 4 місяці тому +2

      Does Pi-hole do this?

    • @jojothefine
      @jojothefine 4 місяці тому +2

      @@thecandyman9308 Not out-of-the-box. But it can be setup to do this.

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

      @@thecandyman9308 Easiest way to set that up is to also install/run Unbound and use that as upstream DNS server for your Pi-Hole.

  • @VasilisEmmanouilidis
    @VasilisEmmanouilidis 4 місяці тому +17

    Things have changed a bit since you were using them Dave. There IS encrypted DNS, it's called DNS-over-HTTPS (DOH) and it's neither complicated nor difficult. It is actually integrated both in Windows and in Firefox and very easy to enable. And it is recommended for everyone to do it.

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

      DNS over TLS is a more direct alternative since it's DNS-only. DoH is mostly used to work around network limitations.

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

      It's all complicated and difficult to understand.

    • @EpicWink
      @EpicWink 4 місяці тому

      @@toby9999 nope. In Windows settings, when setting DNS server manually, just set "DNS over HTTPS" to "On (automatic template)". Or in Edge, in settings, search for "use secure dns" and toggle on

    • @VasilisEmmanouilidis
      @VasilisEmmanouilidis 4 місяці тому +5

      @@QualityDoggo DNS-over-HTTPS is the evolution of DNS-over-TLS. The latter has a distinctive signature (it uses port 853) and it can be easily blocked by the network administrator (and is indeed blocked by some) or the internet provider. DNS-over-HTTPS on the other hand is not different from normal HTTPS traffic and cannot be blocked. And it is natively supported by Windows, Android, Firefox and others.

    • @Eternal_Tech
      @Eternal_Tech 4 місяці тому +1

      While DNS-over-HTTPS (DOH) is easy to implement in some cases and is more secure than non-encrypted DNS, there is often a performance penalty. In addition, most consumer routers do not allow DOH to be set in their configuration panels.

  • @milodemoray
    @milodemoray 4 місяці тому +6

    Thanks a lot, Dave. At one time a couple of decades ago, I used to keep a massive list of phone numbers in my head. I cannot imagine doing the same with IP addresses...

    • @CB27
      @CB27 4 місяці тому +2

      I suppose most techies still remember a few IP addresses.
      I remember the IP address for: my Router, PC, IP Camera, other commonly deployed routers/switches, Google DNS servers. Admittedly all but the last ones are local.

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

      Especially those IPv6 addresses !

  • @perrymaskell3508
    @perrymaskell3508 4 місяці тому +1

    I recall reading a detailed and fascinating DDOS account by Steve Gibson. Must be 20+ years ago. It was an attack on his systems and described how he discovered it and how he resolved it. Also explained the 3 way handshake of TCP/IP which I have used many times to explain even normal communication. Very good.

  • @QualityDoggo
    @QualityDoggo 4 місяці тому +1

    Even in cases where DNS is encrypted, it is usually decrypted by the DNS provider, not the website you're trying to access -- so it is still important to trust the provider!

  • @gamereditor59ner22
    @gamereditor59ner22 4 місяці тому +1

    This is cool! Thank you for the information!😎👍
    Edit: I remember both yellow and white phone book decades ago.

  • @johnterpack3940
    @johnterpack3940 4 місяці тому

    Can't wait to watch this. When I was getting my IT certs I wanted to get into networking. Planned a little homelab and everything. This is the stuff that intrigues me.

  • @AbrahamFiruz
    @AbrahamFiruz 4 місяці тому +1

    In terms of explaining of things, You are on another lvl.

  • @nym7973
    @nym7973 4 місяці тому +1

    This was really helpful and easy to understand. Building my custom DNS list now, lol. Also, thank you for mentioning your book. I know you have brought up Autism in the past but I wasn't aware you had written anything. I'll definitely be checking it out. Cheers! :)

  • @egmccann
    @egmccann 4 місяці тому +1

    wow, GRC is still up... glad to see it, I haven't poked around there in ages.

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

    Great video Dave, thanks for the excellent explanation and entertainment!

  • @MikeHarris1984
    @MikeHarris1984 4 місяці тому +2

    There was a DDOS attack on the DNS root server back in 2016. I was at my companies conferance and I owned and deployed the entire compute infrastructure in the convention center and when the attack happened, I thought it was our network, but then word got out that much more and it ended up being malware implanted in TV Set Top boxes and small IoT devices and all kinds of end points, that were flashed with an update that had this sleeping malware in it for years and all at once for two days, it flooded the entire root DNS and took down the entire internet and core services. Only local DNS resolvers with cached IP to site info would still work until the cache expired. They flooded the DNS core with 1.5Tbps of request data.

  • @jacobuserasmus
    @jacobuserasmus 4 місяці тому

    Love your explanation. Interesting fact about a DDOS attack on DNS root servers. Even if a DDOS attack was successful in making these servers inaccessible they have about 7 days to resolve the issue before the DNS system is actually broken.

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

    Your explanations are quite clear and fun to listen to. Thanks.

  • @walter.muller
    @walter.muller 4 місяці тому

    Great explanation; I've never come across a video on this subject before that I started to watch and sat out until the end. You are very talented, Sir!
    And Steve Gibson sounded very familiar to me. Then I remembered Spinrite and how many times it saved my data.

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

    Wow! This is a great summary that I wish I had found at the time when I set up my first website. Great stuff.

  • @ansientwun
    @ansientwun 4 місяці тому

    Thanks for another great video Dave. I always learn something even after forty years in IT.

  • @ax14pz107
    @ax14pz107 4 місяці тому +2

    The fun thing about all this is that the source and destination IP addresses are still trivial to look up, and if you use a VPN, you have to hope your VPN service isn't actually logging stuff secretly, and on top of that, hope your browser isn't vulnerable in some way or isn't leaking data like real IP addresses through things like webrtc, and then on top of that hope your browser isn't secretly tracking you anyway like chrome was found to be doing even with incognito mode.

  • @AnnatarTheMaia
    @AnnatarTheMaia 4 місяці тому +1

    The fastest DNS is by running one's own DNS resolver, such as PowerDNS' Recursor, then pointing one's local systems to the address of the local recursors (the more recursors on the local area network, the higher the redundancy and the performance). PowerDNS' Recursor will cache the results for the TTL interval, of course, building up a cache; I have 99.5% cache hit on the recursors on my local area network.

  • @jacksonmacd
    @jacksonmacd 4 місяці тому +1

    Since you mentioned Steve Gibson and SpinRite, i would live to hear your take on using it to speed up SSDs. Seems like s sufficiently geeky topic for this channel.

  • @josedias5514
    @josedias5514 4 місяці тому +1

    The domain that ends in hub. I love it!

  • @michaelhess4825
    @michaelhess4825 4 місяці тому

    Spinright was my go to recovery tool back in the day. That was a blast from the past!

  • @makecba
    @makecba 4 місяці тому +1

    10:10 LMAO gold, and the delivery is spot on

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

    Well done Dave. As usual, I may add.
    As you mentioned, DNS is the equivalent to the telephone assistance service. The equivalent of the phone book would be the HOSTS.TXT file published by SRI, later the InterNIC until it became too big and impractical. DNS is old, 1983 as far as I remember. I was not able to find out when the InterNIC stopped publishing a HOSTS.TXT file - maybe already in the 1980s. These days the hosts file only has marginal meaning to deal with special cases.
    As for robustness, the root nameservers are using anycast addresses. Which means there could be multiple servers using the same IP address and they might even be in different locations. Where is hard to say for sure but there are hundreds of physical systems not just 13.

  • @dece870717
    @dece870717 4 місяці тому

    I've been playing around with DNS services lately so this videos quite providential😅. Currently using Control D, it's definitely a different kind of dns service, so far best benefit is the customizability, to a fault almost, you raise your ad block severity too much and you'll be having a fun time figuring out which things you need to make an exception rule for.

  • @zylascope
    @zylascope 4 місяці тому +1

    Informative and entertaining :) Thanks Dave. ❤

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

    What an amazing video - this is like a university level course lecture on how the web works.

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

      That's kinda what I am for. CS students who are already smart and interested but may not know anything about THIS particular topic!

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

    Thanks Dave, this was very educational and clarifying too.

  • @Hanneth
    @Hanneth 4 місяці тому +2

    Simply knowing and typing the IP Address of the server in a web browser may not get you a web page, or the web page you actually want. There are many shared hosting sites, or load balanced hosts where you have to make the querty to the correct named host with the IP.
    The easiest way would be to manually enter the domain with server with its matching IP address into the hosts file. A more extreme way to do this would be to run your own DNS server.

  • @rgm4646
    @rgm4646 4 місяці тому

    Steve Gibson! The man! I was using shields up back in the ISDN / early broadband days, and spinrite later.

  • @tigerscott2966
    @tigerscott2966 4 місяці тому

    Got that covered too DAVE..
    It's called: Kodachi
    DNS is under the user's full control and it is FREE.

  • @talbech
    @talbech 4 місяці тому

    As always great content, Dave. You are a true inspiration.

  • @sliphere011
    @sliphere011 4 місяці тому

    Love local servers that can cache locally based on queries your household does. And you can have them do parallel lookup against a list. Adguard is what I use. Pretty simple and just works. And blocks ads without needing ad block on devices! Saves on even more network traffic.

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

    Back in the 90's when I was a sys and network admin for my local ISP, I used to run my own home servers and would tailor everything for my own behalf (not sacrificing customer resources of course) and delegated everything down to my own devices, so to speak. It was kind of wild performing dumps and traces on the network traffic and filtering for DNS versus other services, like HTTP, etc. The internet was wild back then; it was.almost like a Wild West of sorts. I even had my own ASN for BGP requests (which actually helped later on when we had DDoS attacks against customers which could have affected our entire client network.)

  • @ncdave4life
    @ncdave4life 4 місяці тому

    Great presentation, Dave!
    One nit: it is pronounced "time to lĭv" (soft "i"), not "time to līv" (hard "i").
    From the American Heritage Dictionary:
    *live.* _v.intr._
    1. To be alive; exist.
    2. To continue to be alive: lived through a bad accident.
    3. To support oneself; subsist: living on rice and fish; lives on a small inheritance.
    4. To reside; dwell: lives on a farm.
    5. To conduct one's life in a particular manner: lived frugally.
    6. To pursue a positive, satisfying existence; enjoy life: those who truly live.
    7. To remain in human memory: an event that lives on in our minds.

  • @Getting-On
    @Getting-On 2 місяці тому

    Another excellent and well researched and delivered video / knowledge transfer.

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

    I remember Steve Gibson. He used to come into Advanced Computer Products from time to time. At the time he was working on _The Gibson Light Pen._

  • @connecticutaggie
    @connecticutaggie 4 місяці тому +4

    Dave, why didn't you mention the old way (the hosts file). It still exists and can be used to assure some names always resolve. For Windows it is located at C:\Windows\System32\drivers\etc\

    • @AnonYmous-yz9zq
      @AnonYmous-yz9zq 4 місяці тому

      I think Windows quit respecting Hosts entries years ago, I know you can't blacklist MS servers this way. Just one reason more I dropped Windows.

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

      @@AnonYmous-yz9zq Windows normally respects it, but some programs have a hard-coded IP address for some servers. Just about nothing will stop that (and that isn't limited to Windows or MS servers, any half way decent programmer can do it).

  • @TrevorDBrown
    @TrevorDBrown 4 місяці тому +1

    3:38 - nice terminal theme, Dave!

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

    There’s also something I’ve heard about DNS being faster at certain times of day. This makes it so much more complicated, but I see why the popular DNS are popular.

  • @analogdesigner-Jay
    @analogdesigner-Jay 4 місяці тому

    Dave, worked great, everything is snappy. I owe you a bottle of Cutty!

  • @jeremyhubbell
    @jeremyhubbell 4 місяці тому

    A fellow EV RE-20 user. That's all I need to know to trust ya. (That and I've been around since the DOS days as well...)

  • @kean8908
    @kean8908 4 місяці тому +2

    Great video as always but a very small correction: TTL means Time to LIVE - where live here is the "my cat lives next door to Alice" pronunciation, not the "a cat have nine lives" pronunciation. It means exactly what it means - "how long much this entry live in the cache before it is evicted?".

    • @tuphdc8779
      @tuphdc8779 4 місяці тому

      you got trolled

    • @kean8908
      @kean8908 4 місяці тому

      @@tuphdc8779 I was wondering about that but I could have sworn I've heard the same pronunciation from Dave before, and he didn't have his usual trolling tone engaged :) But it sure is a possibility.

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

    Nice to see your local DNS server comes out on top.

  • @oldandtired6442
    @oldandtired6442 4 місяці тому

    I really enjoy your videos, very much. Been working with operating systems, including the long and sordid history of the MS' ones since the late 80's
    While this was very basic, I do really hope/wish that you wil use your imense knowledge and ability to simplify stuff, to dive deeper in to the DNS-ecosystem (how to protect youself from posiong, hybrid DNS, faking and all that suff). A series? :D Thank you!

  • @marcfruchtman9473
    @marcfruchtman9473 4 місяці тому

    Thanks for the cool tip on the DNS Benchmark.

  • @matthewday7565
    @matthewday7565 4 місяці тому

    You can also run your own local DNS proxy such as Acrylic DNS Proxy, default is local system only, but can be set to allow other devices on LAN if you run it on an always on PC - or run DNSMasq on a Raspberry Pi

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

    Given the DNS outage that happened a few years ago and the recent CrowdStrike BSOD outages, it feels like organized and deliberate attacks outside the of a zone of trust are not even in the same league as errors that occur within a trusted zone as far as the havoc that can be caused. This feels like an obvious insight but what keeps me up at night sometimes is the realization of what a bad actor with access can do and given how easy it is for all the holes in the stack of Swiss cheese are to align even on a simple accident.

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

    Thanks for the knowledge of the DNS process, was great

  • @s8x.
    @s8x. 4 місяці тому

    i was literally studying networking so thank u

  • @nakotaapache4674
    @nakotaapache4674 4 місяці тому

    knowledge presented understandable are always entertaining to me, thanks for doing so.

  • @goskidmark
    @goskidmark 4 місяці тому

    Thank you for the informative videos! I am so glad I found your channel.

  • @M0JHN
    @M0JHN 4 місяці тому

    Dave this is great. Thank you for the knowledge share.