DOC PREVIEW
Berkeley ELENG 122 - DNS, HTTP and the WWW

This preview shows page 1-2-3-19-20-39-40-41 out of 41 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 41 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 41 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 41 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 41 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 41 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 41 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 41 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 41 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 41 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Applications: DNS, HTTP and the WWW EECS 122: Lecture 6What we’ve covered so far..ApplicationsTodayDomain Name ServiceDNS: HistoryDNS FeaturesHost names are organized hierarchicallyHost names are administered hierarchicallyServer HierarchyDNS Example: Recursive QueryDNS Example: : Recursive QueryDNS: Iterated QueriesRobustness and SecurityExamplesDNS and MailDNS and Virtual IP addressesExample: www.akamai.comDNS SummaryThe WWWUniform Record LocatorHyper Text Transfer ProtocolHyper Text Transfer Protocol CommandsClient RequestServer ResponseResponse CodesExample (from Kurose and Ross)HTTP/1.0 ExampleHHTP/1.0 PerformanceHTTP/1.0 CachingWeb ProxiesWeb Proxies (cont’d)HTTP/1.1 (1996)Persistent ConnectionsPipelined Requests/ResponsesSupport for Virtual HostingHTTP/1.1 - CachingHTTP/1.1 - Caching (cont’d)HTTP/1.1 – Caching (cont’d)SummaryConclusionApplications: DNS, HTTP and the WWWEECS 122: Lecture 6Department of Electrical Engineering and Computer SciencesUniversity of CaliforniaBerkeleyLecture 6, Spring 2003A. Parekh, EE122: Revised and updated F2002 Lecture by Ion Stoica2What we’ve covered so far..Basic BackgroundGeneral Overview of different kinds of networksGeneral Design PrinciplesArchitecturePerformanceHow to write a network applicationNow let’s get into how things really work!February 5, 2003Abhay Parekh, EE122 S2003:Updated from Stoica EE122 F20023ApplicationsMust separate the application processing from the application protocolsExample:WWW Browser & ServerHTTPAlso, applications can be run on the end hosts or inside the network cloudWWW on end hostsDNS in the network cloudNetworkIPTCP UDPApplicationHTTPDNSTCP UDPIPEthernet FDDI Token Etc.February 5, 2003Abhay Parekh, EE122 S2003:Updated from Stoica EE122 F20024TodayDNSWWWHTTPBoth are client – server applicationshave decentralized managementenable access to vast amounts of distributed informationare based on open protocolsare distributed databasesFebruary 5, 2003Abhay Parekh, EE122 S2003:Updated from Stoica EE122 F20025Domain Name ServiceResolves a host name names into an IP addressWhy host names?To organize machinesEg. robotics.eecs.berkeley.eduThis conveys more information to humans than 128.32.48.234Why IP addresss?The network needs an address to routeHost Names yield information to people and IP addresses yield information to routersFebruary 5, 2003Abhay Parekh, EE122 S2003:Updated from Stoica EE122 F20026DNS: HistoryInitially all host-addess mappings were in a file called hosts.txt (in /etc/hosts)Changes were submitted to SRI by emailNew versions of hosts.txt were ftp’d periodically from SRIAn administrator could pick names at their discretionAs the internet grew this system broke down becauseSRI couldn’t handled the loadThe system was unreliable since there was a single point of contactNames were not uniqueMany hosts had inaccurate copies of hosts.txtInternet growth was threatened!February 5, 2003Abhay Parekh, EE122 S2003:Updated from Stoica EE122 F20027DNS FeaturesHierarchical NamespaceDistributed architecture for storing names Nameservers assigned zones of the hierarchical namespaceBackup servers available for redundancyAdministration divided along the same hierarchyDNS client is simple: ResolverClient server interaction on UDP Port 53 (but can use TCP if desired)February 5, 2003Abhay Parekh, EE122 S2003:Updated from Stoica EE122 F20028Host names are organized hierarchicallyThe first level names are called “Top Level Domains”Depth of tree is arbitrary (limit 128)Domains are subtreesE.g. berkeley.edu and eecs.berkeley.eduName collision avoidedE.g. berkeley.edu and berkeley.comrooteducomgov milorgnet uk frberkeleymiteecssimsargusFebruary 5, 2003Abhay Parekh, EE122 S2003: Version draws from Stoica EE122 F20029Host names are administered hierarchicallyrooteducomgov milorgnet uk frberkeleymiteecssimsargusrooteducomgov milorgnet uk frberkeleyeecssimsA zone corresponds to an administrative authority that is responsible for that portion of the hierarchyFebruary 5, 2003Abhay Parekh, EE122 S2003:Updated from Stoica EE122 F200210Server HierarchyServers are organized in hierarchiesEach server has authority over a portion of the hierarchyA server maintains only a subset of all namesEach server contains all the records for the hosts in its zoneEach server needs to know other servers that are responsible for the other portions of the hierarchyEvery server knows the rootRoot server knows about all top-level domainsFebruary 5, 2003Abhay Parekh, EE122 S2003:Updated from Stoica EE122 F200211DNS Example: Recursive QueryHost whistler.cs.cmu.edu wants IP address of www.berkeley.edu1. Contacts its local DNS server, mango.srv.cs.cmu.edu2. mango.srv.cs.cmu.edu contacts root name server, if necessary3. Root name server contacts authoritative name server, ns1.berkeley.edu, if necessary requesting hostwhistler.cs.cmu.eduwww.berkeley.eduroot name serverauthorititive name serverns1.berkeley.edulocal name servermango.srv.cs.cmu.edu123456February 5, 2003Abhay Parekh, EE122 S2003:Updated from Stoica EE122 F200212DNS Example: : Recursive QueryRoot name server:May not know authoritative name serverMay know intermediate name server: who to contact to find authoritative name server?Recursive query:Puts burden of name resolution on contacted name serverHeavy load?requesting hostwhistler.cs.cmu.eduwww.berkeley.eduroot name serverlocal name servermango.srv.cs.cmu.edu123456authoritative name serverns1.berkeley.eduintermediate name server(edu server)78February 5, 2003Abhay Parekh, EE122 S2003:Updated from Stoica EE122 F200213DNS: Iterated QueriesIterated query:Contacted server replies with name of server to contact“I don’t know this name, but ask this server”requesting hostwhistler.cs.cmu.eduwww.berkeley.eduroot name serverlocal name servermango.srv.cs.cmu.edu123467authoritative name serverns1.berkeley.eduintermediate name server(edu server)58iterated queryFebruary 5, 2003Abhay Parekh, EE122 S2003:Updated from Stoica EE122 F200214Robustness and SecurityFor non-root severs multiple servers are common as wellCaching provides another form of redundancy and quicker response timeDOS attack in October 2002Secure DNS{A,..,M}.Root-Servers.NetFebruary 5, 2003Abhay Parekh, EE122 S2003:Updated from Stoica EE122


View Full Document

Berkeley ELENG 122 - DNS, HTTP and the WWW

Documents in this Course
Lecture 6

Lecture 6

22 pages

Wireless

Wireless

16 pages

Links

Links

21 pages

Ethernet

Ethernet

10 pages

routing

routing

11 pages

Links

Links

7 pages

Switches

Switches

30 pages

Multicast

Multicast

36 pages

Switches

Switches

18 pages

Security

Security

16 pages

Switches

Switches

18 pages

Lecture 1

Lecture 1

56 pages

OPNET

OPNET

5 pages

Lecture 4

Lecture 4

16 pages

Ethernet

Ethernet

65 pages

Models

Models

30 pages

TCP

TCP

16 pages

Wireless

Wireless

48 pages

Load more
Download DNS, HTTP and the WWW
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view DNS, HTTP and the WWW and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view DNS, HTTP and the WWW 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?