This morning it seems that the local cable company that gives me Internet connection has gotten up with spurious problems in its domain name server.
This has caused my Internet connection to not work properly causing huge delays and inexplicable drops in connection speed.
I will take the opportunity to explain how to detect the cause of the problem and the solution to it. By the way, I will write down how to solve it for my wifi router model (in case another day happens and I have to waste time looking for where to change;))
Symptoms of the problem
What most caught my attention was that, despite running all night, Tucan had not finished downloading the few files that he had requested by direct download 🙂
But much more significant was that browsing the pages (including the handy and used google.es) took forever but ended up appearing.
Solving the problem
Looking for the new DNS server
The first thing to do is find an alternative DNS server and, if possible, faster than ours 😉
On the Internet there are compilations with ips addresses of these servers (another possibility is to use openDNS which we already talked about on another occasion)
I recommend that you ping several of the servers on the list and stick with those that give you a shorter response time; Keep in mind that every time you write a url in your browser, the team will ask these servers to indicate the IP associated with the domains you put in them: the slower they are, the longer it will take to respond with the IP and therefore slower it will be your navigation.
Setting up our network
Once we have the new IP addresses, we must configure the computers on our network to use these servers.
We have two possibilities:
- Set up one by one each team.
- Uniquely configure the router.
If you have multiple teams, the best option is the second option so that you avoid having to touch each individual team and making sure that they are all configured the same way.
If we also take into account that the computers are normally configured by DHCP, it seems clear that it is the most recommended option.
Configure DNS on the router
I apologize for explaining the procedure for my own router but the process varies depending on the equipment of each one, so it is impossible to give a generic solution.
Generic part of the solution
The only common is to find the IP address of our router (whether it is Wi-Fi or not, since the problem and the solution we propose is independent of how we physically connect to it). To do this, just launch a ifconfig from the terminal
and replace the last digit with a 1 in our network address.
For the example above, the address of my router would be
Placing said IP address in our web browser, the router’s home screen should appear (if you do not remember the password, try the following solution)
Specific solution for the wifi router SMC SMCWBR14-GM
Once the password is entered, we will select the advanced configuration
we select the DNS option in the WAN section
we enter the ip addresses of the fastest servers we have found
and we apply the changes by pressing the button Apply that can be seen in the previous image.
Updating the DNS in our team
Assuming that we use DHCP, we will only need to execute a
on the computer that we are using for the router to provide the new domain name servers.
The rest of the equipment, when you turn them on (or restart) will automatically obtain the new addresses.
Although it is not usual for these failures to occur (otherwise I would consider changing the Internet connection provider;)) it is always convenient to know how detect the cause of the problem and act accordingly.
Although we do not have problems, it is interesting to try with domain name servers other than those supplied by default by the provider as we can improve our connection speed (As we have indicated, the conversion of domain name to IP address is used a lot, so any improvement, however small and insignificant it may seem, when used many times supposes a significant improvement in the final performance of the system).
Finally and, as recommendation, It would be interesting have several addresses pointed out of servers DNS in case the Internet connection is impossible. Personally, I have burned the IPs of a couple of Telefónica Spain servers because there have been many (too many, I would say) the times that I have used them 😀