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 :)
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 - RUclips 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 RUclips 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.
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.
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
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?
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 :)
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
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?
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?
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)?
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!!
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.
@@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
@@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?
@@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
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
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?
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 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….
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?
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 :)
This is great, loved the clear and clean visual presentation - it's exactly the level of detail I was looking for. Thanks!
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 - RUclips
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 RUclips 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.
Thank you ! Very well explaining with graphics. It is easier to capture the information!
This was amazing, especially the end explanation. I really appreciate it!
THE best video on DNS - explained so clearly. Please keep making IT videos.
Thanks for explaining, for me DNS is one of the most complicated network services to understand, and you make me understand
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.
Very clear , simple and easy to understand . Keep the good work ryan
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
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?
Amazing explanation! and great presentation
This video deservers 1000 likes
Excellent explanation.
I "essentially" enjoyed this DNS video.
Thanks for all the work you put in your videos!
absolutely clear A+
thank you so so so much man! This is the greatest video on how DNS works! thank you so much!
Very well explained!
this is an awesome video and explanation! Thank you Ryan
Very nice explanation!!!!
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 :)
Thanks for the valuable feedback!
Thanks for your work. It's impressive!!! Love from China!
Amazing explanation! Thanks for the video sir.
Very Clearly and Neatly Explained...#love from india
pretty clear explanation - thank you!
Love it, thanks. I'm def. A visual learner
Awesome ! Very well explained !
Great breakdown!!
Great video!
Brilliantly explained 👍
Excellent!
great explanation
Thanks for the explanation, you should make for videos like this
Well explained, Thank you.
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
Very well explained
Great explanation, Thanks!
Thank you very simple
thnak's for the explanation simple and clear : )
best video
thanks, very clear explanation
Good job nicely explained.
so good thanks
thank you so much ! super clear !!!!
Thanks !
10 / 10 like
prolog part 5 pls
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?
You can set up your own nameservers. For that you'll need glue records on the registrar.
Good video, but you missed a step, you forgot about the hosts file.
Which step does DNS adblocking happen if I were to use something like NextDNS
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?
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)?
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!!
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.
@@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
@@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?
@@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
NICE ❤️
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
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
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?
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.
@@armeli this clears things out, thanks!
@@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….
I'd expect a better explanation of how TLD identifies the authoritative server.
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?
Thanks
DOOD!
"DNS Name Server"
Happens.. but his explanation was really simple and neat
Make new video
Hi Rea how are you doing
Too long.
Excellent!
Thanks!