DNS- Rebooting your Router
DNS and why rebooting your Router was originally published back in 10/28/2016 in Tasso’s Tips©®. Special thanks to A-Aziz and Leo for inspiration. Due to it’s relevance to current issues, it’s been resurrected again here. But before we begin, what is it? DNS is an acronym for the Domain Name System.
“The Domain Name System (DNS) is a hierarchical decentralized naming system for computers, services, or other resources connected to the Internet or a private network. It associates various information with domain names assigned to each of the participating entities. Most prominently, it translates more readily memorized domain names to the numerical IP addresses needed for locating and identifying computer services and devices with the underlying network protocols. ” (source)
As you probably already know, every device on a network is identified by an IP (Internet Protocol) address. Because, 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. Consequently, 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 server whose job it is to answer exactly those kinds of questions. “Found it: ‘google.com’ is ‘184.108.40.206’”.(just a fictitious address)
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 “220.127.116.11”, it doesn’t have to ask anyone. 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 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 function for local networks. If they need to, they make the request from your ISP’s 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. And since 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 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.
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 & Fire 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. See this link for more helpful tips.