The copperbelt university



Download 290.5 Kb.
Page4/9
Date20.03.2023
Size290.5 Kb.
#60933
1   2   3   4   5   6   7   8   9
CS 460 SESSIONAL EXAM 2020 AUGUST ANSWERS
BBF221 FINAL CA - FT
QUESTION THREE

  1. Briefly explain how the Domain Name Service (DNS) is implemented and how DNS queries are resolved in the DNS system. [3 marks]

  2. Why is datagram fragmentation not an issue in IPv6? How is this achieved? [2 marks]

  3. What is the role of the transport layer in the 5 layer TCP/IP protocol stack? [3 marks]

  4. Describe the functionality provided by the Transmission Control Protocol (TCP) [2 marks]

  5. Consider the TCP connection mechanism.

i. What mechanism is used to set up a TCP connection? [1 mark]
ii. Why is the mechanism needed? [2 marks]
iii. Outline how the mechanism works. [3 marks]

  1. Compare and contrast the application protocols SMTP and HTTP. [5 marks]



ANSWER

  1. The Domain Name System maps names to IP addresses. It is a distributed database implemented in hierarchy of many name servers has an application-layer protocol for host, routers, and name servers to communicate to resolve names. There are 13 root servers; it is broken into zones containing primary and secondary name servers.

In a recursive query, a DNS resolver queries a single DNS server, which may in turn query other DNS servers on behalf of the requester. For example, a simple stub resolver running on a home router typically makes a recursive query to the DNS server run by the user's ISP. A recursive query is one for which the DNS server answers the query completely by querying other name servers as needed. In typical operation, a client issues a recursive query to a caching recursive DNS server, which subsequently issues non-recursive queries to determine the answer and send a single answer back to the client. The resolver, or another DNS server acting recursively on behalf of the resolver, negotiates use of recursive service using bits in the query headers. DNS servers are not required to support recursive queries.
The iterative query procedure is a process in which a DNS resolver queries a chain of one or more DNS servers. Each server refers the client to the next server in the chain, until the current server can fully resolve the request. For example, a possible resolution of www.example.com would query a global root server, then a "com" server, and finally an "example.com" server.

  1. IPv6 cannot allow fragmentation at routers, the transmitter creates datagrams of the maximum transmission unit. ICMP v6 tells the source what the max transport unit (mtu) of the path is.

  2. Transports data units from application layer, using network layer services. Provide logical communication between application processes running on different hosts. Transport protocols run in end systems sender side: breaks application messages into segments, passes to network layer receiver side: reassembles segments into messages, passes to application layer.

  3. Point-to-point, connection oriented, full duplex, reliable, in-order byte steam, with pipelining and flow control features.


i. 3 way handshake
ii. overcomes issue of duplicate connection requests and spurious data packet delivery can be rejected
iii. Diagram:


  1. HTTP = pull

SMTP = push
Both use ASCII based command/response interactions and status codes
Both typically have a header plus a body for content. Both use TCP connections.
HTTP = each object encapsulated in its own response message, identifying the encoded object
SMTP = multiple objects sent in a multi-part message, uses MIME (multimedia extensions) for message encoding
SMTP – pushes message from client to SMTP server, email message contains list of recipients: user@destination, server delivers mail to remote (destination) server, client polls server to receive email.
HTTP – user selects content identified by URL, which identifies the server on which it is located. Server responds with requested content. Server may tailor content to browser/user.



Download 290.5 Kb.

Share with your friends:
1   2   3   4   5   6   7   8   9




The database is protected by copyright ©ininet.org 2024
send message

    Main page