How to add manual DNS entry in Windows

What is DNS?

DNS or Domain Name System is a structure that helps one resolve the Naming to locate any system connected to internet. All of the devices connected to the Internet are given an IP Address through which they can be uniquely identified. But at many occasions users find convenience in using higher level names like URL instead of IP addresses. DNS servers aid in the process of resolving URL to their Addresses.

Manually Adding DNS entry in Windows

Please refer the video below for a step-by-step guide on adding user defined DNS servers.

Adding user defined DNS server:

  • Go to Network and Sharing Center
  • Open connection
  • Go to Properties
  • Select IPv4 and click Properties again.
  • Add the manual DNS entry.

If you were looking for a Tutorial on how to add a manual DNS entry in local HOSTS file, don’t get disappointed.

Adding manual entry in Windows Hosts file:

If you are one of those who skip long videos, here is a short tutorial:

  • The following tutorial shows how to add an entry to windows host file.
  • Host file acts like a local DNS and any entry in it will be given preference. One can set static addresses for your favorite sites so they can load faster.
  • The Host file is located at system partition
  • Full path: C:\windows\system32\drivers\etc\
  • One cannot edit it directly. So copy it to your desktop. The copied file can be edited and original can be replaced.
  • The format is easy. You need to add new entries on new lines. Just follow up a domain name after IP address. Note: Do not use #. It is for comments.

Note: Editing/Altering system files can prove hazardous. If you don’t know what you are doing, consult someone else. Though Host file changes can be restored easily, exercise caution.

Leave a Reply