Solved

DNS vs DHCP

Posted on 1998-10-30
6
2,036 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
  • 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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
Resolve DNS query failed errors for Exchange
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now