The hosts file is created when the OS is installed. It is basically empty and requires manual editing by the user. Honestly, it is rarely used, but it is obviously for special situations where a name needs to be translated to an IP address and that name isn't in a DNS server that is available. The hosts file is for the local user only.

A DNS server is used to translate names to IP addresses as well, however it is used by anyone that can access it on a network. It isn't only limited to a single users machine.

Those are very general descriptions, but from the question, I'm assuming you need simple.

host file is created by Operating system(O.S) while installation. Blindly, host file is where O.S first searches for ip address of particular network location intra or internet because network locations or websites are recognized only through network IP address.
When we have the DNS server in place the searching becomes much easier and faster, because browser first searches that IP location then the open service providers dns.

Hi darrylka thanks for your description My question looks like for basic under standing that's true but some i will get tickets to add records to host file while connecting to other domains please give me more information on host file

The hosts file contains name to IP address translations for a single computer. If you were to have the need to add those names to multiple computers so that multiple users had the same hosts file, that would be a very inefficient method.

So, a DNS server is a way to add a name or item only once so that multiple users could access it.

the HOSTS file ic created when the OS is installed - by default it contains only one entry 127.0.0.1 as localhost.

Before DNS the hosts file was the only way of converting a name to an IP address and admins would add the names of servers and IP addresses to the hosts file manually !

with DNS the HOSTS file is essetially redundant, it is however still used on - you can for example add entries to hosts files for frequently used servers and the lookup is quicker than using DNS - but its a pain to maintain if a server IP changes.

I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.

Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen.
Visualize your data! ... really see it
To use the code to create a calendar from a q…