This is just a little tip for those who don’t know about it yet. You may find that your internet connection is a bit slow, or your browser takes a while to connect to certain websites. Well this little bit of editing will provide you with a noticeable difference in speed when browsing the internet.
The problem lies in /etc/nsswitch.conf, so we just edit one line:
Comment out the “hosts:” line, and a new line minus “mdns4_minimal [NOTFOUND=return]” and “mdns4”, so that it only reads “files” and “dns”. [see below]
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference’ and `info’ packages installed, try:
# `info libc “Name Service Switch”‘ for information about this file.
#hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
hosts: files dns
protocols: db files
services: db files
ethers: db files
rpc: db files
*Note* It’s always good practice to comment out and rewrite any changes you make on any system file, just in case you need to revert back to the default settings for any reason.