DNS and DHCP

Closed
Danny - Apr 28, 2010 at 10:22 AM
gadow21 Posts 13 Registration date Wednesday April 28, 2010 Status Member Last seen April 29, 2010 - Apr 28, 2010 at 12:08 PM
hi
may any one please tell me what is DNS and DHCP.?how it works
Related:

1 response

gadow21 Posts 13 Registration date Wednesday April 28, 2010 Status Member Last seen April 29, 2010 3
Apr 28, 2010 at 12:08 PM
Well, I will try and give you a summary of both of these networking terms.

DNS (Domain Name System) basically converts hosts names like www.google.com into an IP address which is needed to comminicate. Computers dont comminicate through domain names like www.google.com, they communicate through IP addresses. People use domain names because they are WAY easier to remember than IP addresses. For example, say you wanted to tell your friend to go to Googles website. Can you imagine if you had to tell your friend to go to 209.85.225.99 instead of www.google.com? It would be a nightmare for most people! So thats DNS.

DHCP (Dynamic Host Configuration Protocol) is a networking protocol used by computers, routers, printers, or anything requiring an IP address to retrieve a network available IP address. DHCP servers have a "pool" of IP addresses which is setup on the server so when a host "asks" for an IP address, the DHCP server assigns one to that device, and then adds that IP address to the host table. For a set amount of time (IP lease) the host table records what kind of device has that IP address in the DHCP pool, keeps a record of it, and wont assign it to another hosts as long as the lease doesnt expire. Usually, the host (or network device) does all of this when it first starts up. DHCP is a very helpful thing to have in your network, otherwise the network admin would have to assign all of this information manually (or statically) to every device in the network. Which would be a very hard thing to do and keep track of when your talking about 100s or even thousands for computers.
0