the application layer chapter 7. dns – the domain name system a)the dns name space b)resource...

36
The Application Layer Chapter 7

Upload: whitney-shields

Post on 27-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

The Application Layer

Chapter 7

Page 2: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

DNS – The Domain Name System

a) The DNS Name Spaceb) Resource Recordsc) Name Servers

Page 3: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Domain Name System

Goal: Convert host names to IP addresses.

Provides a hierarchical naming system of domains. There are currently about 200 top-level-domains.

Each domain is managed by a registrar.

netlab.cis.temple.edu has edu as the top-level domain, temple and cis are subdomains and netlab is the host.

So Temple University registered the temple domain name with the edu registrar. Then network services created a subdomain for CIS called cis. Finally we chose netlab as the name within cis.

Page 4: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

The DNS Name Space

A portion of the Internet domain name space.

Page 5: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Resource RecordsMapping from host or domain name to IP addresses is stored as resource record in the DNS.

Resource records also store other information about a host or domain

A resolver is one that given a name queries the DNS server and returns the resource records associated with that name.

Page 6: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Resource Records

The principal DNS resource records types.

Page 7: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Resource Records (2)

A portion of a possible DNS database for cs.vu.nl.

Page 8: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Name Servers

Part of the DNS name space showing the division into zones.

Having one big DNS server will all records is not a good idea

Page 9: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Name Servers (2)

How a resolver looks up a remote name in eight steps.

flits.cs.vu.nl looking for IP address of linda.cs.yale.edu

Page 10: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Multimediaa) Introduction to Audiob) Audio Compressionc) Voice over IPd) Video over IP

Page 11: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Introduction to Audio

(a) A sine wave. (b) Sampling the sine wave. (c) Quantizing the samples to 4 bits.

CD quality audio requires 44,100 samples/sec with 16 bits per sample. That is a bit rate of 1.411 Mbps for stereo transmission. Clearly compression is required.

Page 12: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Audio compressionWaveform codingFourier transform audio and minimally encode components.

Perceptual codingExploit flaws in human hearing. Based on psychoacoustics.MP3 (MPEG audio layer 3) is the most popular example.

Key property is: Some sounds can mask other sounds.

Frequency masking: Loud Jackhammers will mask a soft flute.Temporal masking: After a loud masking sound stops, the ear will take some time to recover and tune into the soft sound.

Idea is then to encoding only sounds that are not masked.

Page 13: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Audio Compression

(a) The threshold of audibility as a function of frequency.(b) The masking effect.

Page 14: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Streaming Audio

A straightforward way to implement clickable music on a Web page.

Page 15: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Streaming Audio (2)

When packets carry alternate samples, the loss of a packet reduces the temporal resolution rather than creating a gap in time.

Page 16: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Streaming Audio (3)

The media player buffers input from the media server and plays from the buffer rather than directly from the network.

Page 17: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Streaming Audio (4)

RTSP commands from the player to the server.

Page 18: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Internet Radio

A student radio station.

Page 19: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Voice over IP

The H323 architectural model for Internet telephony.

Page 20: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Voice over IP (2)

The H323 protocol stack.

Page 21: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Voice over IP (3)

Logical channels between the caller and callee during a call.

Page 22: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

SIP – The Session Initiation Protocol

The SIP methods defined in the core specification.

Page 23: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

SIP (2)

Use a proxy and redirection servers with SIP.

Page 24: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Comparison of H.323 and SIP

Page 25: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Video Analog Systems

The scanning pattern used for NTSC video and television.

Page 26: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

The JPEG Standard

The operation of JPEG in lossy sequential mode.

Page 27: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

The JPEG Standard (2)

(a) RGB input data.(b) After block preparation.

Page 28: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

The JPEG Standard (3)

(a) One block of the Y matrix.(b) The DTC coefficients.

(a) (b)

Page 29: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

The JPEG Standard (4)

Computation of the quantized DTC coefficients.

Page 30: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

The JPEG Standard (5)

The order in which the quantized values are transmitted.

Page 31: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

The MPEG Standard

Synchronization of the audio and video streams in MPEG-1.

Page 32: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

The MPEG Standard (2)

Three consecutive frames.

Page 33: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Video on Demand

Overview of a video-on-demand system.

Page 34: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Video Servers

A video server storage hierarchy.

Page 35: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

Video Servers (2)

The hardware architecture of a typical video server.

Page 36: The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers

The MBone – The Multicast Backbone

MBone consists of multicast islands connected by tunnels.