Why Reboot My Router ?
How does flushing a DNS cache help resolve some issues, and while you’re at it what is DNS? “Reboot your router then your device” is a phrase that is often used, yet misunderstood. Most noteworthy is when solving issues with Kodi. The intent of this article is to provide a simpler understanding of why rebooting your Router does make a difference.
What does DNS have to do with a Router
First, a quick review of what DNS is. DNS is an acronym for the Domain Name System. As you probably already know, every device on a network is identified by an IP (Internet Protocol) address. However, you and I rarely know or care what the IP addresses are; we use names instead, like “google.com”. DNS is what maps from names to IP addresses.
When your computer accesses a domain name for the first time, it performs what’s called a DNS request, which boils down to asking “Hey, what’s the IP address for ‘google.com’?”
Your computer is querying a DNS server whose job it is to answer exactly those kinds of questions. “Found it: ‘google.com’ is ‘60.22.33.185’”. (just a fictitious address)
DNS Cache
Once your computer gets an answer, it’s allowed to remember it for a period of time. Typically, it’s a day or two, but it actually varies based on the specific domain. For as long as your computer remembers that “google.com” is “60.22.33.185”, it doesn’t have to ask anyone.
Consequently, once the time expires, it’s required to ask again, just in case it’s changed.
The memory of all the DNS lookups your computer has performed is called the ‘DNS cache’.
Sometimes, for various reasons, the cache becomes corrupt or out of date, or, to use a technical term, “messed up”. The symptoms vary, but the most common is that you can’t get to some web sites in your browser. You can “Flush” the DNS cache via Windows Command Prompt, but rebooting your machine has the same effect. Your DNS cache is not preserved across a reboot.
Other DNS Caches
The IP address for the DNS server may well be the IP address of your router. Many routers perform the DNS function for local networks. If they need to, they make the DNS request from your ISP’s DNS servers on your behalf.
This allows two things:
- Your router can look up machines on your local network that it already knows. It knows about them since it was the device that assigned them their IP addresses in the first place.
Because machines on your local network are not known on the internet anyway, they would not show up in the internet’s DNS servers. - Your router can cache DNS lookups. That means if you have more than one machine going to the same site, the first one might cause the router to have to look it up, but the second machine’s request for the same domain would already be in the router’s cache. The router wouldn’t need to do anything more than simply return the answer.
And yes, this is another reason why rebooting your router is a frequent diagnostic step:
your router’s DNS cache can also become “messed up”. In fact, it happens more frequently than most people expect. And just like your PC, rebooting your router forces it to start over with an empty DNS cache.
DNS is critical: As you can see, DNS is a critical component of how things are located on the internet. As a result, there are threats. Imagine what would happen if someone was able to change the DNS information in a cache, or on a server, maliciously. You might ask for “goggle.com” and get some other random IP address, that would direct your browser to a malicious web site.
IN CONCLUSION
Now after reading all of the above you may ask yourself what has this got to do with Kodi ?
It’s about Computers ? Yes it is but the same applies to Android Boxes, FireTV & Sticks.
Your Router is the link to the Internet so preventing it from “messing up” and using Windows Command Prompt, just reboot your router, which is perhaps easier to remember. So the next time you see someone saying “Reboot your Router”, you can explain Why.
Router maintenance is important for those who use Kodi and related devices when streaming. I would highly recommend reading this Blog, part 1 and part 2 for a more comprehensive explanation to improve using Kodi. If you have any questions on this topic or any others, please join us in Ares Project Forum. It’s free to join and you’ll always find a helpful and friendly Team Member there who will assist you.
Comments
Post a Comment