ApplicationLayerII Flashcards
What is the difference between non-persistent and persistent HTTP?
Non-persistent HTTP opens a new TCP connection for each object request. Persistent HTTP reuses a single TCP connection for multiple requests.
What is DNS caching?
DNS caching stores previous DNS query results locally to speed up future lookups and reduce the load on DNS servers.
Describe the structure of the DNS hierarchy.
DNS hierarchy: Root servers -> Top-level domain (TLD) servers -> Authoritative name servers -> Local DNS servers.
What services are provided by DNS?
DNS provides hostname-to-IP translation, host aliasing, and load distribution across replicated servers.
List the four types of DNS servers.
Root DNS servers, Top-level domain (TLD) servers, Authoritative DNS servers, Local DNS servers.
What is the function of SMTP?
SMTP (Simple Mail Transfer Protocol) is used to send emails between mail servers over a reliable TCP connection.
What does POP3 do?
POP3 (Post Office Protocol 3) downloads emails from the server to the client and usually deletes them from the server.
How does IMAP differ from POP3?
IMAP keeps emails on the server and allows management of mailboxes and folders directly on the server.
What is the role of a socket in communication?
A socket provides a communication endpoint that combines an IP address and a port number for sending/receiving data.
How is a TCP connection established between client and server?
The client creates a socket and connects it to the server’s socket (IP address + port number), initiating a connection request.