Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to...

23
Domain Name System • A heirarchial, distributed database •A service primarily aimed at mapping names to IP addresses • Partitioned for ease of administration
  • date post

    20-Dec-2015
  • Category

    Documents

  • view

    213
  • download

    0

Transcript of Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to...

Page 1: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

Domain Name System

• A heirarchial, distributed database

• A service primarily aimed at mapping names to IP addresses

• Partitioned for ease of administration

Page 2: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

DNS Structure (partial).

edu comgov

utexas tamu ibm

cs austin

mac1 mac1solar

Page 3: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

DNS -- How it Works

• DNS Servers in a logical tree

• DNS clients on every host

• Iterative Queries

• Recursive Queries

Page 4: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

ARP

• Address Resolution Protocol {translate network layer address to physical address}

• Part of general resolution procedure:

name {e.g., neuron.cs.tamu.edu}

IP Address {e.g., 128.194.133.1}

Ethernet address {e.g., 08:00:20:08:58:78}

DNS

ARP

Page 5: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

Application Layer• File Transfer, Access and Management

– virtual file store– file servers and requesting clients

• Electronic Mail– process to process traffic expected to dominate Internet– actually email dominates the Internet

• Virtual Terminals– representing the abstract state of the real terminal

• Remote Job Execution– JTM: Job Transfer and Manipulation

Page 6: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

ISO Applications

• FTAM ~ FTP File Transfer, Access & Manipulation• VTS ~ TELNET Virtual Terminal Service• JTM ~ ??? Job Transfer & Manipulation {maybe rsh, RPC?}• MHS ~ SMTP Message Handling System (X.400)

Page 7: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

ISO Terminology

SASE SASE

CASE

“applications”

[Specific|Common] Application Service Elements

“think of them as programming libraries or APIs”

Page 8: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

ISO Service Elements(examples)

• Association Control Service Element (primitives)

• Commitment, Concurrency and Recovery– atomic actions– two phase commit

Page 9: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

File Servers

• 1. File Structure

• 2. File Attributes– e.g. identifier, size of storage, access control

• 3. File Operations– create, delete move– OSI has defined virtual filestore operations

Page 10: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

Replicated Files

• Why multiple file servers?– 1. To split the workload over multiple servers.

– 2. To allow file access to occur even if one file server is down

– 3. To increase reliability by having independent backups of each file

• Updates

• Voting

Page 11: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

Electronic Mail

• Motis and X.400CCITT has aligned them for compatibilityMay replace SMTP

• The user agentuser interface

• Message transfer agentpost office

Page 12: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

Virtual Terminals

• Scroll mode terminalsno local resources; dumb display and transmission

• Page mode terminals25 x 80 character displayscreen editing via termcap

• Form mode terminalslocal processing enabled

• Bitmapped terminals

like X stations

Page 13: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

Case Study: Internet

• File Transfer

• Electronic Mail

• Virtual Terminals

Page 14: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

Getting Started

• RARP

• BOOTP

• TFTP

• DHCP

Page 15: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

File Transfer Protocol

• FTP recognizes four file types:• 1. Image

– bit by bit transfer

• 2. ASCII• 3. EBCDIC• 4. Logical Byte files

– binary files which use byte size other than 8 bits

Page 16: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

Electronic Mail

• Pioneered by ARPANET

• RFC 822 (widely used)

• Simple Mail Transfer Protocol (SMTP)

• Supports only ASCII text

• name@domain addressing

Page 17: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

Virtual Terminals - TELNET

• Designed for scroll mode terminals

• Hit a key , 8-bit bytes are sent

• 95 ASCII and 7 control characters legal

Page 18: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

USENET--HOW TO AVOID GRADUATION

• Internet compatible (now)

• Variety of newsgroups

• Moderated newsgroups

• NNTP, Network News Transfer Protocol, allows selective downloading of messagesto multiple sites

Page 19: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

The Web

• “the” killer application for the Internet

• Two components for popularity– http combines multiple access (gopher, ftp, etc)

methods– hypertext interface supports point-and-click interface

• Who will organize the information?– No one...– Database experts– Librarians (!)

Page 20: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

Web Terminology• Web Browsers

– Netscape– Mosaic

• Web Servers– http daemon

• httd.conf - main server config file

• srm.con - server resource config file• access.conf - global access control file

• Home Page– Eg., www.cs.tamu.edu

• HTML– HyperText Markup Language

Page 21: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

HTML Document<HTML>

<HEAD>

<TITLE>Willis Marti’s Homepage</TITLE>

<LINK REV=“OWNER” HREF=“mailto:[email protected]”>

</HEAD>

<BODY>

<IMG SRC=“my-logo.gif” ALT=“logo”>

<H1> Sample HTML Document</H1>

<EM> To demonstrate HTML </EM>

<HR>

....

Page 22: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

Web Future Directions

• HTML Enhancements

• Secure Transactions

• Uniform Naming

• Librarians & Brokers

• Information “push” or “pull”

Page 23: Domain Name System A heirarchial, distributed database A service primarily aimed at mapping names to IP addresses Partitioned for ease of administration.

Layer 7 Summary

• Service Element Model

• Not all Apps belong here...

• Common Network Services