Please enable JavaScript.
Coggle requires JavaScript to display documents.
8-10. Application Layer (Domain Name System (DNS) (Name Resolution (Uses…
8-10. Application Layer
Domain Name System (DNS)
Introduction
-
-
-
Also used by other application-layer protocols e.g. HTTP, FTP, SMTP
-
-
Characteristics
-
-
-
Relative domain names partially specify the location and can be used only within the context of an absolute domain name
-
Root name servers
-
-
It is a cluster of servers that are in the anycast IP space (one IP address, but multiple servers)
Name Resolution
- If don't have mapping, computer asks local DNS server to resolve
- If don't have mapping, local name server asks root name server
- Root returns name server for a lower zone
- Local server continues down zones until name server can answer
DNS protocol runs on UDP (connectionless) port 53 -> if timeout, retransmit using TCP
-
Servers use iterated query between themselves, server-client use recursive query
-
-
-
-
HTTP
Introduction
A web page consists of objects (JPEG, applet, files, audio)
-
-
Model (diagram)
Client: browser that request, receives and displays web objects
-
HTTP Connections
-
Persistent HTTP: multiple objects can be sent over a single TCP connection between client and server
-
Pipelining: client sends request as soon as it encounters a referenced object -> only 1 RTT for all referenced objects -> slightly more than 3 RTT in total for response time
-
-
-
Cookies
-
Cookies save a small amount of memory and save info on the user's computer and reuse it deterministically
-
-
User-server interaction
- Initial HTTP request made from a cookie-enabled computer -> site creates unique ID + entry in backend DB
- Includes cookie ID in the HTTP response
- Browser appends the cookie ID to the cookie file that it manages
- Each subsequent request, cookie header line will be added
- Server will perform a cookie-specific action
-
Web caching
-
User sets browser to access via cache -> Proxy server checks if object in cache -> return object if in cache OR requests object from origin server, then return it to the client (diagram)
Cache acts as both client and server -> takes care of initial response; if object not stored then it will ask origin server
-
Typically installed by ISP (university, company, residential ISP)
Multimedia
Multimedia networks
Characteristics
-
-
-
Streaming multimedia service providers often separated and highly specialised compared to traditional web hosts
-
-
-
Handling Errors
-
-
Interleave media (diagram) - puts all odd frames in one packet, all even frames in one packet
-
-
-
Audio Compression
-
Temporal masking: human ears miss soft sounds immediately after loud sounds; decrease amount of data to encode
-
Voice over IP (VOIP)
-
-
VOIP Technologies
3 models
-
Virtual: Media gateways, virtual directories
-
-
-