When an application makes a request which requires a DNS lookup, such programs send a resolution request to the local DNS resolver in the local operating system, which in turn handles the communications required.
All you have to do is configure your system for dns name resolution.
Each DNS server has limited information about host names and ip address.
Almost all DNS server constantly query each other to get information using root servers.
Each computer is configured to query specific name server.
Usually home computers are configure to query ISP name servers or free dns name servers.
Here is a typical UNIX / Linux /etc/file with nameserver IP address: Each application can find address by sending a request to 2.222 or 2.220 IP address.
This procedure is called hostname resolution and the algorithm that performs this operation is called the resolver.
Let us see how to find out IP address for freebsd.hostname: Please note that end users generally do not communicate directly with a DNS resolver.
Instead DNS-resolution takes place transparently in client-applications such as web-browsers, mail-clients, and other Internet applications.
DNS name resolution is nothing but resolving host names, such as to their corresponding IP addresses.
DNS works as the “phone book” for the Internet by translating hostname into IP address or vise versa.
Most DNS server stores following information: a) Hostname and their IP address b) List of mail server and their IP address for given domain name c) Anti spam configuration and much more.