Solved

DNS vs DHCP

Posted on 1998-10-30
6
2,047 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Downtime reduced, data recovered by utilizing an Experts Exchange Business Account Challenge The United States Marine Corps employs more than 200,000 active-duty Marines with operations in four continents, all requiring complex networking system…
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

831 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