How DNS Works Visually

  Рет қаралды 77,962

Ryan Schachte

Ryan Schachte

Күн бұрын

Пікірлер: 81
@tomelam
@tomelam 2 жыл бұрын
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 - KZbin 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 KZbin 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.
@jessiz-
@jessiz- 2 жыл бұрын
This is great, loved the clear and clean visual presentation - it's exactly the level of detail I was looking for. Thanks!
@t7d5
@t7d5 2 жыл бұрын
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 :)
@xanvong1501
@xanvong1501 3 жыл бұрын
Thank you ! Very well explaining with graphics. It is easier to capture the information!
@darccau7204
@darccau7204 2 жыл бұрын
Thanks for explaining, for me DNS is one of the most complicated network services to understand, and you make me understand
@nonplussedperson
@nonplussedperson 2 жыл бұрын
This was amazing, especially the end explanation. I really appreciate it!
@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
@collinxsmith
@collinxsmith 3 жыл бұрын
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?
@AhmedSalama-mg6gu
@AhmedSalama-mg6gu 2 жыл бұрын
Very clear , simple and easy to understand . Keep the good work ryan
@navneethegde5999
@navneethegde5999 2 жыл бұрын
Amazing explanation! and great presentation
@AmongUs-qt3uo
@AmongUs-qt3uo Жыл бұрын
thank you so so so much man! This is the greatest video on how DNS works! thank you so much!
@KimaniWaNdirangu
@KimaniWaNdirangu 2 жыл бұрын
I "essentially" enjoyed this DNS video.
@andradegilmar
@andradegilmar 2 жыл бұрын
This video deservers 1000 likes
@storaman12
@storaman12 2 жыл бұрын
Excellent explanation.
@azizulhakim1534
@azizulhakim1534 2 жыл бұрын
Amazing explanation! Thanks for the video sir.
@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
@Dave-dl8ey
@Dave-dl8ey 2 жыл бұрын
this is an awesome video and explanation! Thank you Ryan
@EpicAOEsRealm
@EpicAOEsRealm 3 жыл бұрын
Thanks for all the work you put in your videos!
@andrew.schaeffer4032
@andrew.schaeffer4032 2 жыл бұрын
Love it, thanks. I'm def. A visual learner
@Ella15745
@Ella15745 2 жыл бұрын
pretty clear explanation - thank you!
@mubeenrahman_codname
@mubeenrahman_codname 3 ай бұрын
absolutely clear A+
@silverwar779
@silverwar779 3 жыл бұрын
Thanks for the explanation, you should make for videos like this
@andrewprasanna9323
@andrewprasanna9323 Жыл бұрын
Very well explained!
@classover4128
@classover4128 3 жыл бұрын
Thanks for your work. It's impressive!!! Love from China!
@joaoleonardolemos9078
@joaoleonardolemos9078 Жыл бұрын
Very nice explanation!!!!
@zacharykosove9048
@zacharykosove9048 6 ай бұрын
Which step does DNS adblocking happen if I were to use something like NextDNS
@MS-mq4gd
@MS-mq4gd 3 жыл бұрын
Very Clearly and Neatly Explained...#love from india
@nvasudeva
@nvasudeva 2 жыл бұрын
Awesome ! Very well explained !
@Aditya-ns9qh
@Aditya-ns9qh 2 жыл бұрын
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?
@just_some_bigfoot_hacking_you
@just_some_bigfoot_hacking_you 3 жыл бұрын
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.
@AtulDislay
@AtulDislay 3 жыл бұрын
Brilliantly explained 👍
@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?
@blasttrash
@blasttrash 3 жыл бұрын
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 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@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 жыл бұрын
@@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 жыл бұрын
@@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
@mahdideveloper1794
@mahdideveloper1794 2 жыл бұрын
thnak's for the explanation simple and clear : )
@gustavomuller7190
@gustavomuller7190 2 жыл бұрын
Great video!
@stronggarner66
@stronggarner66 3 жыл бұрын
Great breakdown!!
@saranyan938
@saranyan938 2 жыл бұрын
Well explained, Thank you.
@ntrgc89
@ntrgc89 3 жыл бұрын
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.
@adamyerima5254
@adamyerima5254 3 жыл бұрын
great explanation
@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
@fadhilh3931
@fadhilh3931 3 жыл бұрын
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
@GrigoreCIMPULESCU
@GrigoreCIMPULESCU Жыл бұрын
Good video, but you missed a step, you forgot about the hosts file.
@Tortuex_
@Tortuex_ 2 жыл бұрын
thank you so much ! super clear !!!!
@pilotwasif
@pilotwasif 3 жыл бұрын
Good job nicely explained.
@thesmartest1919
@thesmartest1919 3 жыл бұрын
thanks, very clear explanation
@jnelly3426
@jnelly3426 3 жыл бұрын
Very well explained
@eis3nheim
@eis3nheim 3 жыл бұрын
Great explanation, Thanks!
@tepidrachet95
@tepidrachet95 3 жыл бұрын
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 :)
@TheSimpleEngineer
@TheSimpleEngineer 3 жыл бұрын
Thanks for the valuable feedback!
@cdb7700
@cdb7700 Жыл бұрын
Thank you very simple
@ardomainaky
@ardomainaky 3 жыл бұрын
prolog part 5 pls
@jinitescapematrix
@jinitescapematrix 2 жыл бұрын
best video
@hellokittybg93
@hellokittybg93 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@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….
@tom0ocadoo
@tom0ocadoo 2 жыл бұрын
so good thanks
@jessewright870
@jessewright870 3 жыл бұрын
Excellent!
@anldursun8300
@anldursun8300 2 жыл бұрын
I'd expect a better explanation of how TLD identifies the authoritative server.
@bazooza
@bazooza 2 жыл бұрын
10 / 10 like
@tzuyulk
@tzuyulk 2 жыл бұрын
Thanks!
@vibhors
@vibhors 3 жыл бұрын
NICE ❤️
@vinayak186f3
@vinayak186f3 3 жыл бұрын
Thanks
@tenminutetokyo2643
@tenminutetokyo2643 3 жыл бұрын
DOOD!
@Garvit_M
@Garvit_M Ай бұрын
👀
@EmilFihlman
@EmilFihlman 3 жыл бұрын
"DNS Name Server"
@MrMadan306
@MrMadan306 3 жыл бұрын
Happens.. but his explanation was really simple and neat
@reanibutani9555
@reanibutani9555 3 жыл бұрын
Make new video
@Raymondgogolf
@Raymondgogolf Жыл бұрын
Hi Rea how are you doing
@henrykorvus6954
@henrykorvus6954 3 жыл бұрын
Too long.
@RT-kk2gk
@RT-kk2gk 2 жыл бұрын
Excellent!
@thomash7247
@thomash7247 2 жыл бұрын
Thanks !
Database Indexes & Performance Simplified
25:10
Ryan Schachte
Рет қаралды 16 М.
Understanding How DNS Works in Depth
19:18
ITdvds
Рет қаралды 328 М.
ТЮРЕМЩИК В БОКСЕ! #shorts
00:58
HARD_MMA
Рет қаралды 2,6 МЛН
Dependency Injection & Inversion of Control
11:00
Ryan Schachte
Рет қаралды 199 М.
DNS Records Explained
14:14
PowerCert Animated Videos
Рет қаралды 339 М.
How DNS really works and how it scales infinitely?
16:35
Arpit Bhayani
Рет қаралды 27 М.
How DNS Works
30:26
John Savill's Technical Training
Рет қаралды 39 М.
What are DNS Zones And Records?
8:26
IBM Technology
Рет қаралды 5 М.
Sliding Window Technique - Algorithmic Mental Models
36:45
Ryan Schachte
Рет қаралды 362 М.
DNS is beautiful
41:01
Hussein Nasser
Рет қаралды 47 М.