How Can I Make My Computer DNS Compliant without Adding It to Domain?

Tags:
Domain Computers DNS Server DNS
viveknayyar007
By See all their Tutorials
When an operating system is installed on a computer, by default it is not added to a domain. Because the computer is not a part of a domain, it has no DNS suffix added to its name, which further makes the computer ineligible to communicate with the DNS server that the network may have. The drawback of not being able to communicate with the DNS server is that no other computers or nodes in the network would be able to find your PC if they ever search your computer by its name.

For example, if the computer name of your PC is PC-01, and its IP address is 192.168.1.24, the other computers in the network would only be able to search your computer with its IP address, i.e. 192.168.1.24 and not by its name. On the other hand, if the computer is capable of communicating with the DNS server, the name of the PC along with its IP address is automatically registered in the DNS server database. In such case, when other users in the network try to search your computer by the computer name, the DNS server can instantaneously resolve the query and inform the requesting computer about your PC.

The above scenario is as per the Windows default configuration. This means that if your computer is not added to a domain, it would not use any Fully Qualified Domain Name or FQDN which is the hostname and the domain name added together but separated with a period (.). An example of a Fully Qualified Domain Name can be:

PC-01.mydomain.com

In the above example, PC-01 is the name of the computer, and mydomain.com is the name of the domain to which the computer is added. Since the above computer name has its domain name added as the primary DNS suffix, it is eligible to communicate with the DNS server. On the other hand, if it was only the PC-01, and no DNS suffix was added to the name, the computer would not be able to communicate with the DNS server whatsoever. This is the default case when a new Windows is installed on the computer.

In your case, if you do not wish to add your computer in an existing domain, or if you do not have any domain in your network at the first place, you can still configure your windows to communicate with the DNS server by artificially embedding the primary DNS suffix to its name.

Here is how you can get the job done:

  • Log on to the computer with administrator account.
  • Once logged on, right-click the Computer icon.
  • From the displayed context menu, go to the Properties option.
  • On the opened window, under the Computer name, domain, and workgroup settings section, click the Change settings option.
  • On the opened System Properties box, make sure that you are on the Computer Name tab.
  • Click the Change button from the opened interface.
  • On the opened Computer Name/Domain Changes box, click More.
  • On the opened DNS Suffix and NetBIOS Computer Name box, in the Primary DNS suffix of this computer field, specify the name of the DNS suffix that you want to add to the computer name.
  • Once this is done, click OK on all the opened boxes and windows, and restart the computer to allow the changes to take effect.