Some technical users fail to identify some issues pertaining to slow internet browsing speed. DNS (Short for Domain Name System) is used to map domain names e.g www.google.com to IP Addresses.
Most users often point to a default DNS server (that of their ISP’s). The picture below shows the default configuration on Windows based PCs.
When default servers are overloaded, name resolution often take time which end up in delivering slow browsing speed. Alternative DNS servers can often help in such situations.
Under Linux, Open your resolv.conf found at /etc/resolv.conf and add your preferred name servers. If I want to add google’s name servers, the file would look as follows
nameserver 18.104.22.168 nameserver 22.214.171.124
Restart your network interface (read your distro’s manual regarding how to do that Debian and Red Hat based distros have different ways of doing that)
Other advantages of changing your DNS Server:
If your system admin has blocked some websites, changing your PC’s DNS server can enable you to visit those websites if DNS filtering is NOT enabled.
Here is what the configuration looks like on windows with primary and secondary DNS servers.