Professional Documents
Culture Documents
clients:
communicate with server
client/server may be intermittently
connected
may have dynamic IP
addresses
do not communicate directly
with each other
application underlying
application layer protocol transport protocol
URL method:
uses GET method
input is uploaded in URL
field of request line:
www.somesite.com/animalsearch?monkeys&banana
Control
connection
Data
connection
26.15
Electronic mail outgoing
message queue
user mailbox
Three major components: user
agent
user agents
mail servers mail user
server
simple mail transfer protocol: agent
SMTP SMTP mail user
server agent
User Agent SMTP
a.k.a. “ mail reader” user
composing, editing, reading
SMTP agent
mail
mail messages server
e.g., Outlook, Thunderbird, user
agent
iPhone mail client, gmail
outgoing, incoming messages user
agent
stored on server
Application Layer 2-16
Electronic mail: mail servers
mail servers: user
agent
mailbox contains incoming
messages for user mail user
server agent
message queue of outgoing
(to be sent) mail messages SMTP mail user
SMTP protocol between server agent
mail servers to send email SMTP
messages user
client: sending mail SMTP agent
mail
server server
user
“ server” : receiving mail agent
server
user
agent
The Internet needs to have a directory system that can map a name to
an address. This is analogous to the telephone network. Figure 26.28
shows how TCP/IP uses a DNS client and a DNS server to map a
name to an address.
26.21
Figure 26.28: Purpose of DNS
26.22
Name Space
26.23
Figure 26.29: Domain name space
26.24
Figure 26.30: Domain names and labels
26.25
Figure 26.31: Domains
26.26
Figure 26.32: Hierarchy of name servers
26.27
DNS in the Internet
26.28
Figure 26.34: Generic domains
26.29
Table 26.12: Generic domain labels
26.30
Figure 26.35: Country domains
26.31
Resolution
26.32
Figure 26.36: Recursive resolution
7
6
1 4
8
26.33
Figure 26.37: Iterative resolution
2
1
8 4
5
6 7
26.34