Solved

DNS vs DHCP

Posted on 1998-10-30
6
2,066 Views
Last Modified: 2013-12-23
Can someone give me a CLEAR and SHORT explanation of what are DNS and DHCP exactly for and how to? I am very confused with. My OS is NT Workstation and I don't understand the use of DNS/DHCP on a LAN or on Internet. I don't have access to a NT server. I have a book on NTWS but the chapter about TCP/IP is very short and doesn't explain, they just say I need them to configurate my TCP/IP.(!?)In the mean time, to connect  to my ISP I don't have a DHCP neither a DNS number...
0
Comment
Question by:wirefram
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 5

Expert Comment

by:tcalesa
ID: 1565066
DNS is used to resolve an IP address to a HOST name.
DHCP is a repository of IP addresses that are given out to copmuters.

If you need to connect to an ISP, you will set up the Dial Up Networking connection using DHCP (in your isp dial up connection this is called server assigned IP address) You may also have to enter a DNS address as well, this depends on your  ISP.

In short, you don't need to install either DHCP or DNS to be a client to an ISP.
0
 

Author Comment

by:wirefram
ID: 1565067
For what I understand, in a LAN, the DHCP is supposed to attach MY computer to a server(?!) if there is a server able to configurate my computer through my TCP/IP, otherwise I have to type the IP number of the server I want to be attach(?).

In a LAN, Why do I need DNS for?


0
 
LVL 3

Expert Comment

by:sugdenj
ID: 1565068
tcalesa gave you what you wanted (short answer).  DNS is a protocol to translate (look up) an IP (Internet Protocol) address (like 204.71.177.71) given a "friendly" name (like www.yahoo.com).  DHCP (Dynamic Host Configuration Protocol) is a method to configure a computer (host) for internet communications when the computer is turned on.  The configuration can change each time, it's set by a DHCP server.  When you call an ISP, you usually use PPP (point to point protocol).  Bear with me.  you can optionally let the ISP set your IP address and DNS server address when you connect.  Most ISPs want to do this.  Most LAN administrators want to do this too, since managing this stuff is easier.  So DHCP doesn't attach you computer to a server.  It lets a server set your computer up for internet communications.  In a LAN you need to point to a DNS server so you don't have to refer to other machines by IP address instead of www.xxxx.yyy.com.

A little longer version, but tcalesa answered first.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:wirefram
ID: 1565069
I agree, I'd give my points to tcalesa except this option is no longer available....

I apologize, I asked for a short answer but I should have ask for an answer long or short because I know the definition of DNS/DHCP I just don't get the exact needs for in a LAN.

DHCP let a server set up MY tcp/ip for Internet connection but if I don't want an Internet connection, let say I am connected to servers and workstation in a company, what is the DHCP use?

You say "in a LAN I need to point to a DNS server", why do I NEED it? What happened if I don't enter any DNS info ?

I am even more confuse, I must be missing something....




0
 
LVL 5

Accepted Solution

by:
tcalesa earned 40 total points
ID: 1565070
If all you want to do is connect to an ISP you don't need to worry about it. The server at the ISP will handle DNS/DHCP for you.

If you have a LAN running TCP/IP as the protocol, then you may want to configure these services on your server. Say you have 200 clients and all need the TCP/IP stack, It is much easier to assign the addresses by giving the server a range of addresses to assign to the workstations, the DNS server will then take the addresses and turn them into more recognizable names. (over simplified, but pretty accurate)

I'll just repost the answer.
DNS is used to resolve an IP address to a HOST name.
DHCP is a repository of IP addresses that are given out to copmuters.

If you need to connect to an ISP, you will set up the Dial Up Networking connection using DHCP (in your isp dial up connection this is called server assigned IP address) You may also have to enter a DNS address as well, this depends on your  ISP.

In short, you don't need to install either DHCP or DNS to be a client to an ISP.
0
 

Author Comment

by:wirefram
ID: 1565071
Thanks a lot!

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question