Professional Documents
Culture Documents
Intro To Web Extensions
Intro To Web Extensions
Intro To Web Extensions
3
A Brief Summary of the
Evolution of the Internet
Age of
eCommerce
Mosaic Begins
WWW Created 1995
Internet Created 1993
Named 1989
and
Goes
TCP/IP TCP/IP
Created 1984
ARPANET 1972
1969
Hypertext
Invented
Packet 1965
Switching
First Vast Invented
Computer 1964
Network
Silicon Envisioned
A Chip 1962
Mathematical 1958
Theory of
Memex Communication
Conceived 1948
1945
1945 1995
1. What is the IP
address of
udel.edu ?
It is 128.175.13.92
1. What is the
host name of
128.175.13.74
It is strauss.udel.edu
11
Domain Name System (DNS)
A hierarchical way of identifying domain names and
their addresses.
Query Query
Foreign
User Name
Resolver
Program Server
Response
Response
Reference
Addition
Cache
13
DNS Components
There are 3 components:
Name Space:
Specifications for a structured name space and data
associated with the names
Resolvers:
Client programs that extract information from
Name Servers.
Name Servers:
Server programs which hold information about the
structure and the names.
14
The Name Space
The name space is the structure of the DNS database
◦ An inverted tree with the root node at the top
Each node has a label
◦ The root node has a null label, written as “”
second-level node second-level node second-level node second-level node second-level node
""
nominum.com
zone
Query
Response
18
Name Servers and Zones
128.8.10.5 serves Name Servers Zones
data for both
nominum.com
and isc.org zones 128.8.10.5
nominum.com
202.12.28.129
serves data for
nominum. com 202.12.28.129
zone only
isc.org
204.152.187.11
serves data for
204.152.187.11
isc.org zone only
Name Resolution
annie.west.sprockets.com
ping www.nominum.com.
The Resolution Process
The workstation annie asks its configured name
server, dakota, for www.nominum.com’s address
dakota.west.sprockets.com
annie.west.sprockets.com
ping www.nominum.com.
The Resolution Process
The name server dakota asks a root name server,
m, for www.nominum.com’s address
m.root-servers.net
dakota.west.sprockets.com
annie.west.sprockets.com
ping www.nominum.com.
The Resolution Process
The root server m refers dakota to the com name servers
This type of response is called a “referral”
m.root-servers.net
dakota.west.sprockets.com Here’s a list of the
com name servers.
Ask one of them.
annie.west.sprockets.com
ping www.nominum.com.
The Resolution Process
The name server dakota asks a com name
server, f, for www.nominum.com’s address
m.root-servers.net
dakota.west.sprockets.com
f.gtld-servers.net
annie.west.sprockets.com
ping www.nominum.com.
The Resolution Process
The com name server f refers dakota to the
nominum.com name servers
Here’s a list of the
nominum.com
name servers.
Ask one of them.
m.root-servers.net
dakota.west.sprockets.com
f.gtld-servers.net
annie.west.sprockets.com
ping www.nominum.com.
The Resolution Process
The name server dakota asks a nominum.com name server,
ns1.sanjose, for www.nominum.com’s address
m.root-servers.net
dakota.west.sprockets.com
ns1.sanjose.nominum.net
f.gtld-servers.net
annie.west.sprockets.com
ping www.nominum.com.
The Resolution Process
The nominum.com name server ns1.sanjose
responds with www.nominum.com’s address
m.root-servers.net
dakota.west.sprockets.com
annie.west.sprockets.com
ping www.nominum.com.
The Resolution Process
The name server dakota responds to annie with
www.nominum.com’s address
Here’s the IP
address for
www.nominum.com
m.root-servers.net
dakota.west.sprockets.com
ns1.sanjose.nominum.net
f.gtld-servers.net
annie.west.sprockets.com
ping www.nominum.com.
The Resolution Process
(Caching)
After the previous query, the name server dakota now
knows:
◦ The names and IP addresses of the com name servers
◦ The names and IP addresses of the nominum.com
name servers
◦ The IP address of www.nominum.com
Let’s look at the resolution process again
annie.west.sprockets.com
ping ftp.nominum.com.
The Resolution Process (Caching)
The workstation annie asks its configured
name server, dakota, for ftp.nominum.com’s
address
m.root-servers.net
dakota.west.sprockets.com
f.gtld-servers.net
annie.west.sprockets.com
ping ftp.nominum.com.
The Resolution Process (Caching)
dakota has cached a NS record indicating ns1.sanjose
is an nominum.com name server, so it asks it for
ftp.nominum.com’s address
m.root-servers.net
dakota.west.sprockets.com
ns1.sanjose.nominum.net
f.gtld-servers.net
annie.west.sprockets.com
ping ftp.nominum.com.
The Resolution Process (Caching)
The nominum.com name server ns1.sanjose
responds with ftp.nominum.com’s address
m.root-servers.net
dakota.west.sprockets.com
Here’s the IP
address for ns1.sanjose.nominum.net
ftp.nominum.com
f.gtld-servers.net
annie.west.sprockets.com
ping ftp.nominum.com.
The Resolution Process (Caching)
The name server dakota responds to annie
with ftp.nominum.com’s address
Here’s the IP
address for
ftp.nominum.com
m.root-servers.net
dakota.west.sprockets.com
ns1.sanjose.nominum.net
f.gtld-servers.net
annie.west.sprockets.com
ping ftp.nominum.com.
The Use of Ports
Carriage return,
line feed (extra carriage return, line feed)
indicates end
of message
HTTP request message:
general format
Uploading form input
Post method:
Web page often
includes form input URL method:
Uses GET method
Input is uploaded to
server in entity body Input is uploaded in
URL field of request
line:
www.somesite.com/animalsearch?monkeys&banana
Method types
HTTP/1.0 HTTP/1.1
GET GET, POST, HEAD
POST PUT
HEAD
◦ uploads file in
entity body to path
◦ asks server to leave specified in URL
requested object field
out of response DELETE
◦ deletes file
specified in the
URL field
HTTP response message
status line
(protocol
status code HTTP/1.1 200 OK
status phrase) Connection close
Date: Thu, 06 Aug 1998 12:00:15 GMT
Server: Apache/1.3.0 (Unix)
header
Last-Modified: Mon, 22 Jun 1998 …...
lines
Content-Length: 6821
Content-Type: text/html
1 mail
mail user
user server server
2 6 agent
agent 3 4 5
Mail message format
SMTP: protocol for
exchanging email msgs
header
RFC 822: standard for text blank
message format: line
header lines, e.g.,
◦ To:
body
◦ From:
◦ Subject:
different from SMTP
commands!
body
◦ the “message”, ASCII
characters only
Message format: multimedia extensions
MIME: multimedia mail extension, RFC 2045, 2056
additional lines in msg header declare MIME content
type
From: alice@crepes.fr
MIME version To: bob@hamburger.edu
Subject: Picture of yummy crepe.
method used MIME-Version: 1.0
to encode data Content-Transfer-Encoding: base64
Content-Type: image/jpeg
multimedia data
type, subtype, base64 encoded data .....
parameter declaration .........................
......base64 encoded data
encoded data
Mail access protocols
SMTP SMTP access
user user
agent
protocol agent
STOR filename
connection
stores (puts) file onto 452 Error writing file
remote host
FTP
W3C Validator - Test your XHTML /
HTML