How DNS Works Visually

Поділитися
Вставка
  • Опубліковано 1 чер 2024
  • / thesimpengineer
    / schachte
    Visual guide on understanding how DNS (Domain Name System) works when making requests on the internet. In this video we will understand:
    - DNS
    - Recursive resolvers
    - TLD top-level domain name
    - IANA root nameservers
    - Authoritative nameservers

КОМЕНТАРІ • 80

  • @tomelam
    @tomelam 2 роки тому +7

    The basics of DNS (not the details of the protocols or formats of packets or such minutiae) seem so simple to me that why they have eluded me all these years could only be due to my laziness. However, having been bitten by the problem with my subdomain, I thought I’d look for a clear and succinct explanation and found one: How DNS Works Visually - UA-cam
    I know, I know. I should learn this by reading. However, it’s actually faster for me if I watch a video with good diagrams and good narration. If the video is on UA-cam I typically speed it up by a factor of about 1.5 to save my time.
    Near the end of Ryan's video, the schematic diagram of the flow of data between the client and all the servers encapsulates the key points beautifully.

  • @t7d5
    @t7d5 Рік тому +8

    I never comment on videos but holy shit man, I've been looking for a clear visual representation for 2 days now and your video finally explained it to me in a way I actually understand without skipping anything. Thank you so much! You are amazing :)

  • @jessiz-
    @jessiz- 2 роки тому +12

    This is great, loved the clear and clean visual presentation - it's exactly the level of detail I was looking for. Thanks!

  • @xanvong1501
    @xanvong1501 3 роки тому +17

    Thank you ! Very well explaining with graphics. It is easier to capture the information!

  • @unsureofname0
    @unsureofname0 Рік тому +5

    This was amazing, especially the end explanation. I really appreciate it!

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

    Thanks for explaining, for me DNS is one of the most complicated network services to understand, and you make me understand

  • @AhmedSalama-mg6gu
    @AhmedSalama-mg6gu 2 роки тому +1

    Very clear , simple and easy to understand . Keep the good work ryan

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

    THE best video on DNS - explained so clearly. Please keep making IT videos.

  • @just_some_bigfoot_hacking_you
    @just_some_bigfoot_hacking_you 2 роки тому +4

    Some ppl are still confused why we have many DNS servers. And so why we have so many DNS servers? Simple, to avoid single point of failure. For example, just imagine when we only have one server. What if that server failed, who's gonna back it up? Imagine if Google's own server failed, or any network just for reference. That's how and why network engineers came up with multiple servers. And basically, when you only have one server, just imagine the struggle how it will handle the load of traffic. And having multiple server architecture also grants better security.

  • @collinxsmith
    @collinxsmith 3 роки тому +7

    very clear and informative! Thank you. I didn't know the flow went past the root name servers, them being called "root" and all haha. I wonder who manages the TLD and authoritative nameservers?

  • @EpicAOEsRealm
    @EpicAOEsRealm 2 роки тому

    Thanks for all the work you put in your videos!

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

    Amazing explanation! and great presentation

  • @Dave-dl8ey
    @Dave-dl8ey 2 роки тому

    this is an awesome video and explanation! Thank you Ryan

  • @azizulhakim1534
    @azizulhakim1534 2 роки тому

    Amazing explanation! Thanks for the video sir.

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

    Excellent explanation.

  • @AmongUs-qt3uo
    @AmongUs-qt3uo Рік тому

    thank you so so so much man! This is the greatest video on how DNS works! thank you so much!

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

    pretty clear explanation - thank you!

  • @MrLordSeong
    @MrLordSeong 3 роки тому

    Honestly, it makes it much more clear when you put the whole thing in one pic instead of dividing it into multiple sections explaining each concept like the others.... Thanks you sir

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

    Very well explained!

  • @AtulDislay
    @AtulDislay 3 роки тому

    Brilliantly explained 👍

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

    Very nice explanation!!!!

  • @MS-mq4gd
    @MS-mq4gd 3 роки тому

    Very Clearly and Neatly Explained...#love from india

  • @classover4128
    @classover4128 3 роки тому

    Thanks for your work. It's impressive!!! Love from China!

  • @stronggarner66
    @stronggarner66 3 роки тому +1

    Great breakdown!!

  • @eis3nheim
    @eis3nheim 3 роки тому

    Great explanation, Thanks!

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

    Awesome ! Very well explained !

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

    Well explained, Thank you.

  • @andrew.schaeffer4032
    @andrew.schaeffer4032 Рік тому

    Love it, thanks. I'm def. A visual learner

  • @thesmartest1919
    @thesmartest1919 2 роки тому

    thanks, very clear explanation

  • @pilotwasif
    @pilotwasif 3 роки тому

    Good job nicely explained.

  • @silverwar779
    @silverwar779 3 роки тому +1

    Thanks for the explanation, you should make for videos like this

  • @jnelly3426
    @jnelly3426 3 роки тому

    Very well explained

  • @mahdideveloper1794
    @mahdideveloper1794 2 роки тому

    thnak's for the explanation simple and clear : )

  • @adamyerima5254
    @adamyerima5254 3 роки тому +1

    great explanation

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

    Great video!

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

    thank you so much ! super clear !!!!

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

    Thank you very simple

  • @Aditya-ns9qh
    @Aditya-ns9qh Рік тому

    Thanks for this video..couple of questions. Can root server cache DNS records and reply back to the recursive resolver? if yes what kind of records are cached in root servers?

  • @ntrgc89
    @ntrgc89 3 роки тому +1

    How do the domainIP address mappings appear on the nameserver? And how does the TLD server become aware of the authoritative nameservers?
    I've set up sites with GoDaddy before, and I know I've created something like an A record or something like that. Is goddady essentially one of the authoritative nameservers?

    • @DennisKarlsson
      @DennisKarlsson 3 роки тому

      You can set up your own nameservers. For that you'll need glue records on the registrar.

  • @RT-kk2gk
    @RT-kk2gk Рік тому

    Excellent!

  • @MsAshutosh123
    @MsAshutosh123 3 роки тому

    what if the resolving query fails or root server does not know were to get the IP information..Will it ask other DNS servers to get the information and route further to TLD or AN Server

  • @andradegilmar
    @andradegilmar 2 роки тому

    This video deservers 1000 likes

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

    so good thanks

  • @zacharykosove9048
    @zacharykosove9048 16 днів тому

    Which step does DNS adblocking happen if I were to use something like NextDNS

  • @KimaniWaNdirangu
    @KimaniWaNdirangu 2 роки тому

    I "essentially" enjoyed this DNS video.

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

    Thanks !

  • @tepidrachet95
    @tepidrachet95 3 роки тому +6

    Hey, thanks for the explanation! Clear and informative. A few improvements I would suggest to make it clearer and easier to follow:
    1. Your images work well along with the explanations you give, but I think you could take a bit more care in how they are laid out. For instance at 7:00 in the video, your diagram has become quite complicated and there are lots of lines which cross over other lines; it's tough to remember what was happening in the early stages if the lines are obscured by the later parts! Another example: at 10:20 your arrows are a bit all over the place, making it hard to tell at a glance what order the requests/responses are sent.
    2. You stumbled once or twice in your explanation, and I also noticed a lot of filler words/phrases, eg 'Essentially', or 'What's known as'. Most of the time these don't really add anything (It's not 'essentially' Google's homepage, it IS Google's homepage). Maybe you could try writing down what you're planning to say first and then reading it as a script - this will make it easier to streamline your explanations a little (and make the video shorter and clearer).
    3. Some minor graphical glitches, eg the numbers for your steps aren't centred very well in their boxes. Small details but it was a bit of a distraction for me!
    Enjoyed the video, looking forward to seeing more :)

  • @hellokittybg93
    @hellokittybg93 2 роки тому

    Hey I have a question, I'm newly employed as technical support agent for an ISP, but I'm struggling as I'm not tech savvy lol. As we were explained that sometimes we need to switch customers to google's dns instead of our own (i guess that would be the resolver server from your video) if they have issues with accessing certain websites, my question is why is that really necessary if both resolver servers are going to reach to all the other ones you mentioned until they find the ip address of the website in question?

    • @armeli
      @armeli 2 роки тому +1

      Simple explanation would be that not all DNS-servers are equal. Some respond faster and have larger cache. Also by changing the DNS address of the client device you can make sure whether the ISPs DNS server is actually working correctly. Ideally every DNS server should resolve any domain, but unfortunately that is not always the case because of configuration errors etc.
      That being said I am an ISP tech support as well and during the last 10 years I have never had a situation where I had to do this sort of a check. Mainly because if the ISP DNS server does actually have a problem it should be known almost instantly. Personally I use a third party DNS server just because there are way faster DNS servers available than the ones typical ISP's host.

    • @hellokittybg93
      @hellokittybg93 2 роки тому +1

      @@armeli this clears things out, thanks!

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

      @@hellokittybg93 Hi Aqua I hope my comment didn't sound as a form of privacy invasion your comment tells of a wonderful man with a beautiful heart which led me to comment I don't normally write in the comment section but I think you deserve this complement. If you don’t mind can we be friends? Thanks God bless you….

  • @fadhilh3931
    @fadhilh3931 2 роки тому

    What the reason to make a lot of nameserver? Can they just put the TLD in Root? So it way more faster to get the IP address

  • @eatfruitsalad345
    @eatfruitsalad345 3 роки тому

    enjoyed the video! couldn't help but wonder: would typing in some nonsense URL like asdfkljasdoifj.com trigger all the steps you outlined in the video? or would it resolve at an earlier step?

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

    the only thing missing from this video is not mentioning the dns records as you were explaining the flow. you should have included, A records, cname etc...but amazing video

  • @blasttrash
    @blasttrash 3 роки тому +4

    Nice video. Thanks but one question.
    Why does Root nameserver(A-M or whatever) again return back ".com TLD" when I specifically requested for .com(i.e., google.com)? Why waste unnecessary round trip? Can't we directly go to .com nameserver itself? Why do we have to go to root nameserver which tells us the information that we already know(in this case that the user wants to go to .com or google.com)?

    • @TheSimpleEngineer
      @TheSimpleEngineer  3 роки тому +7

      Great question. There are currently 13 managed IP addresses for root nameservers (load balanced across far more physical instances around the globe).These IPs rarely change and are often shipped with software that you use, like recursive resolvers. The underlying list of IPs for TLDs is far larger and has a greater probability to change, therefore making it much harder to manage over time. Root nameservers help resolve the dynamic nature of the TLDs by getting updated lists, which is a process completely abstracted from the end-user.
      It's also important to note that caching plays a huge role, so speedup is often negligible since you're hitting the cache the majority of the time. (IE root zone NS records have a 48 hour TTL).
      Short answer.You can cache TLDs locally, sure. This becomes a problem in both DNSSEC from the perspective of ensuring authenticity of the requests as well as having to now manage the random changes occurring with TLDs.
      Cheers!!

    • @gunnargu
      @gunnargu 3 роки тому +7

      The root name servers aren't the ".com" servers, they are the "." servers, they serve the "root" of the domain name hierarchy, a little known fact is that all domains have a hidden "." at the end, so "google.com./" is the same thing as "google.com/", it's just that all clients hide the root.

    • @zizzu549
      @zizzu549 3 роки тому +2

      @@gunnargu Ahah, so you have to read the name in reverse ^^ and the dot at the end are the root servers. Now i understand where that dot comes from when i read the bytes of dns responses when i trace syscalls. This image helps: en.wikipedia.org/wiki/Fully_qualified_domain_name

    • @blasttrash
      @blasttrash 3 роки тому +1

      @@gunnargu yeah thats what I meant. I only referred to A-M as root servers while I called the other ones as ".com" nameserver(for lack a better word).
      Is there a specific name for ".com" nameserver just like how we call A-M as "root" nameserver?

    • @AaronPlattner
      @AaronPlattner 3 роки тому +3

      @@blasttrash yeah, they're a through m.gtld-servers.net. You can query that from the root servers by doing an NS (i.e. "nameserver") query for "com."
      This site lets you do that. Change the query type to "NS" and enter "com." as the domain name to query.
      www.dnsqueries.com/en/dns_query.php

  • @glitchedmatrix1962
    @glitchedmatrix1962 2 роки тому

    best video

  • @vibhors
    @vibhors 3 роки тому

    NICE ❤️

  • @vinayak186f3
    @vinayak186f3 3 роки тому

    Thanks

  • @ardomainaky
    @ardomainaky 3 роки тому +1

    prolog part 5 pls

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

    10 / 10 like

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

    Good video, but you missed a step, you forgot about the hosts file.

  • @tenminutetokyo2643
    @tenminutetokyo2643 2 роки тому

    DOOD!

  • @anldursun8300
    @anldursun8300 2 роки тому

    I'd expect a better explanation of how TLD identifies the authoritative server.

  • @reanibutani9555
    @reanibutani9555 2 роки тому

    Make new video

  • @EmilFihlman
    @EmilFihlman 3 роки тому +7

    "DNS Name Server"

    • @MrMadan306
      @MrMadan306 2 роки тому

      Happens.. but his explanation was really simple and neat

  • @henrykorvus6954
    @henrykorvus6954 3 роки тому

    Too long.

  • @jessewright870
    @jessewright870 3 роки тому

    Excellent!

  • @tzuyulk
    @tzuyulk 2 роки тому

    Thanks!