You may have encountered a strange problem in your web browser while trying to access any site. It state that DNS has given an error, such as DNS address could not be found. So what is this ‘DNS Error’, why does it affect some specific websites, and how can you fix it?
What Is DNS?
DNS stands for “Domain Name System.” It acts as a phonebook of the internet. You cannot remember the IP address of every site that he regularly visits. So instead, you memorize the URL of that website just like the names in the phonebook of your phone. When you enter a URL like “www.google.com,” your computer looks for this URL in its address book to figure out where Google is on the network. Thus the DNS server acts like an address book for URLs.
Why DNS Errors Occur?
Sometimes when you enter a URL in your browser and DNS server is down, your computer can’t find the IP address of that URL. It’s just like few specific contacts in your phonebook getting deleted or corrupted. So, since your computer doesn’t know the IP address of the URL you entered, it comes back with the DNS errors.
How to Fix DNS Errors?
Delete DNS Cache
If you visit the same page a lot, the computer remembers the addresses for those URLs so that it does not have to use DNS server every time. DNS Cache is the storage of these remembered URLs.
Deleting DNS cache in Windows OS is very easy. Open the Run window (Window Key + R) and type “cmd.” It brings up a command prompt window that can accept system-level changes.
To flush the DNS Cache enter this command: “ipconfig/flushdns”
Mac OS X
To flush DNS, there are four different commands for each separate version of Mac OS X. Therefore we have included only the most recent one.
First of all, launch the terminal window. Once it is open, delete all DNS leases and enter these commands: “dscacheutil -flushcache; sudo killall -HUP mDNSResponder” (OS X 10.10.4+) or “sudo discoverutil mdnsflushcache; sudo discoveryutil udnsflushcache;” (OS X 10.10-10.10.3)
If you are using a Linux, open the command window and enter: “/etc/init.d/nscd restart”
Use A Public DNS Server
Try to change your server as the error may be because of your server not working properly or being dead. Just change your server, for example, “22.214.171.124” to “126.96.36.199” from the settings of your browser. You can also try to change the adapter settings for the DNS server.
Disable Your Computer’s Security Firewall
Sometimes, overzealous or corrupt security suite can block DNS requests, causing DNS errors. So if the above methods don’t work, try disabling the security firewalls and maybe you will get rid of your DNS problems.
DNS errors can be frustrating sometimes, especially when you’ve no idea why these errors occur and how to fix them. Hopefully, you have a better idea about these things now.
Share your views or doubts in the comments section.