Ask Experts Questions for FREE Help!
Ask    ||    Answer
 
Advanced  
 

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Networking   »   Dns and Ftp

 
Thread Tools Search this Thread Display Modes
Question
 
 
#1  
Old Oct 29, 2009, 05:04 PM
andyhaus1057
Junior Member
andyhaus1057 is offline
 
Join Date: Sep 2007
Posts: 109
andyhaus1057 See this member's comment history on his/her Profile page.
Dns and Ftp

Hello,

I am doing a report on DNS and FTP... My report needs to be based on how it is used, how it interacts with TCP/IP, describe the most common client applications used with it, and where it fits in the OSI model. I believe that the only thing I'm missing is how it interacts with TCP/IP.. Can you help?


DNS and FTP are protocols which are the part of the ISO 7-layer protocol stack. FTP is an application layer protocol while DNS is a layer 4 protocol, thus it falls under the transport layer protocol. Every packet that these protocols use have to traverse all ISO layers and thus they also pass through the TCP/IP protocol, FTP in particular, as that uses TCP as the transport layer whereas DNS uses UDP as the transport layer. DNS and FTP deal with Windows too. They are basically two of the major network protocols used. DNS is basically the name given to all the name servers on the Internet. This is how we find a particular website amongst millions on the Internet. It's like having an address for each site and the requests send by the client are sent from a DNS server to another until they reach the destination. FTP is a way of transferring files or receiving files from a remote/local server. Many people use this protocol to upload their websites to a web server. It can also be used to retrieve logs and syslog files from a syslog server. Its uses are extremely vast. ISO OSI model is a relatively formal model and TCP-IP doesn't insist on all 7 being used. Basically, IP sits on Layer 3, while TCP sits in Layer 4. Some of the OSI model requirements are not fulfilled in TCP/IP, but we all live with it. UDP is somewhere in between 3 and 4, more in 3. DNS and FTP both sit in Layer 7, where layers 5 and 6 are not covered, at least not by some network stack. They do have some functionality of L5 and L6, but definitely not all.
Every application as such has to traverse the entire OSI stack in order to cross the internet. Only on certain routers/switches does a packet not climb the entire way to the top. Also, DNS is a TCP based protocol. UDP is used only for "stateless" connections, such as VoIP traffic or things like SNMP where many messages that do not result in a full connection could "clog" a router or network.

TCP and IP are layers 4 and 3, respectively. On layer 4 (the Transport Layer) each application transmitting data is assigned a port number, such as 53 for DNS and a packet type (TCP, UDP, ICMP) and is prepared for layer 3 encapsulation. Basically, a frame is built and the fields representing these flags are defined and assigned to the data, with the last field being the actual data or "payload."

Once Layer 4 has finished assembling the TCP/UDP/ICMP/etc frame, the packet is then handed down to the Network Layer (Layer 3) and another frame is built around the existing frame containing source and destination IP addresses, packet type and QoS (also known as DSCP) flags and so on. Once this is completed, the packet is then handed down to Layer 2 (Logical Link Layer) and is prepared to be shipped across the wire.

Reply With Quote
 
     

Answers
 
 
Old Oct 29, 2009, 05:35 PM   #2  
Engineering & Electronics Expert
KeepItSimpleStupid is offline
 
KeepItSimpleStupid's Avatar
 
Join Date: Aug 2007
Posts: 9,339
KeepItSimpleStupid See this member's comment history on his/her Profile page.KeepItSimpleStupid See this member's comment history on his/her Profile page.KeepItSimpleStupid See this member's comment history on his/her Profile page.KeepItSimpleStupid See this member's comment history on his/her Profile page.KeepItSimpleStupid See this member's comment history on his/her Profile page.KeepItSimpleStupid See this member's comment history on his/her Profile page.
"shipped across the wire" should be changed to "across the medium". Wire isn't the only method.

Do a search for RFC ftp
  Reply With Quote
 
     

Your Answer
Email me when someone replies to my answer
Join Login





Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

 
Similar Sponsors


Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Search this Thread

Advanced Search

Bookmarks

Sponsors



Copyright ©2003 - 2009, Ask Me Help Desk.
All times are GMT -8. The time now is 08:00 AM.