EE 122: Lecture 20 (Domain Name Server - DNS) Ion Stoica Nov 15, 2001 (* based on the some on-line slides of J. Kurose & K. Rose and of Raj Jain)

Slides:



Advertisements
Similar presentations
EECS122 - UCB 1 CS 194: Distributed Systems: Naming Computer Science Division Department of Electrical Engineering and Computer Sciences University of.
Advertisements

 This Class  Chapter 9  Next Class  Wrap up this semester  Demo/discuss programming assignments  Review what we have learned  Questionnaire/Feedback.
DNS Domain Name System. Domain names and IP addresses People prefer to use easy-to-remember names instead of IP addresses Domain names are alphanumeric.
Domain Name System (or Service) (DNS) Computer Networks Computer Networks Term B10.
Domain Name System (or Service) (DNS) Computer Networks Computer Networks Spring 2012 Spring 2012.
EEC-484/584 Computer Networks Lecture 5 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
2: Application Layer1 FTP, SMTP and DNS. 2: Application Layer2 FTP: separate control, data connections r FTP client contacts FTP server at port 21, specifying.
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts, routers: –IP address (32 bit) - used for addressing datagrams –“name”, e.g., gaia.cs.umass.edu.
McGraw-Hill©The McGraw-Hill Companies, Inc., Chapter 25 Domain Name System.
2: Application Layer1 Chapter 2 Application Layer Computer Networking: A Top Down Approach, 4 th edition. Jim Kurose, Keith Ross Addison-Wesley, July 2007.
Application Layer session 1 TELE3118: Network Technologies Week 12: DNS Some slides have been taken from: r Computer Networking: A Top Down Approach.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Domain Name System (DNS) Shivkumar Kalyanaraman Rensselaer Polytechnic Institute
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Domain Name System (DNS) Shivkumar Kalyanaraman Rensselaer Polytechnic Institute
CPSC 441: DNS1 Instructor: Anirban Mahanti Office: ICT Class Location: ICT 121 Lectures: MWF 12:00 – 12:50 Notes derived.
1 DNS,NFS & RPC Rizwan Rehman, CCS, DU. Netprog: DNS and name lookups 2 Hostnames IP Addresses are great for computers –IP address includes information.
DOMAIN NAME SYSTEM. Introduction  There are several applications that follow client server paradigm.  The client/server programs can be divided into.
Domain Name System ( DNS )  DNS is the system that provides name to address mapping for the internet.
DNS. Outline r Domain Name System r DNS Hierarchy r Resolution.
Chapter 25 Domain Name System
Name Resolution and DNS. Domain names and IP addresses r People prefer to use easy-to-remember names instead of IP addresses r Domain names are alphanumeric.
Electronic Mail Three major components: SMTP user agents mail servers
2: Application Layer1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
NET0183 Networks and Communications Lecture 25 DNS Domain Name System 8/25/20091 NET0183 Networks and Communications by Dr Andy Brooks.
CS 4396 Computer Networks Lab
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts: – IP address (32 bit) - used for addressing datagrams – “name”, e.g.,
Domain Name System (DNS)
Internet Address and Domain Name Service (DNS) CS587x Lecture Department of Computer Science Iowa State University.
Ch-9: NAME SERVICES By Srinivasa R. Gudipati. To be discussed.. Fundamentals of Naming Services Naming Resolution The Domain Name System (DNS) Directory.
CS 471/571 Domain Name Server Slides from Kurose and Ross.
Domain names and IP addresses Resolver and name server DNS Name hierarchy Domain name system Domain names Top-level domains Hierarchy of name servers.
DNS: Domain Name System
1 DNS: Domain Name System People: many identifiers: m SSN, name, Passport # Internet hosts, routers: m IP address (32 bit) - used for addressing datagrams.
Chapter 2 Application Layer Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April A note on the use.
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 17 Domain Name System
1 Application Layer Lecture 6 Imran Ahmed University of Management & Technology.
DNS: Domain Name System People: many identifiers: – SSN, name, Passport # Internet hosts, routers: – IP address (32 bit) - used for addressing datagrams.
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 29 Domain Name System (DNS) Allows users to reference computer names via symbolic names translates symbolic host names into associated IP addresses.
TCP/IP Protocol Suite 1 Chapter 17 Upon completion you will be able to: Domain Name System: DNS Understand how the DNS is organized Know the domains in.
Fall 2006Computer Networks25-1 Chapter 25. Domain Name System 25.1 Name Space 25.2 Domain Name Space 25.3 Distribution of Name Space 25.4 DNS in the Internet.
Domain Name System CH 25 Aseel Alturki
Internet and Intranet Protocols and Applications Lecture 5 Application Protocols: DNS February 20, 2002 Joseph Conron Computer Science Department New York.
1 Kyung Hee University Chapter 18 Domain Name System.
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
CPSC 441: DNS 1. DNS: Domain Name System Internet hosts: m IP address (32 bit) - used for addressing datagrams m “name”, e.g., - used by.
Internet Address and Domain Name Service (DNS)
CS 3830 Day 10 Introduction 1-1. Announcements r Quiz #2 this Friday r Program 2 posted yesterday 2: Application Layer 2.
Lecture 5: Web Continued 2-1. Outline  Network basics:  HTTP protocols  Studies on HTTP performance from different views:  Browser types [NSDI 2014]
Internet Address and Domain Name Service (DNS) CS587x Lecture 5 Department of Computer Science Iowa State University.
2: Application Layer 1 Chapter 2: Application layer r 2.1 Principles of network applications r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail  SMTP,
1. Internet hosts:  IP address (32 bit) - used for addressing datagrams  “name”, e.g., ww.yahoo.com - used by humans DNS: provides translation between.
TCP/IP Protocol Suite 1 Chapter 17 Upon completion you will be able to: Domain Name System: DNS Understand how the DNS is organized Know the domains in.
COMP 431 Internet Services & Protocols
Application Layer, 2.5 DNS 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.
Networking (Cont’d). Congestion Control l Is achieved by informing nodes along a route that congestion has occurred and asking them to reduce their packet.
So DNS is A client-server application that maps domain names into their corresponding IP addresses with the help of name servers. Mapping domain names.
Spring 2006 CPE : Application Layer_DNS 1 Special Topics in Computer Engineering Application layer: Domain Name System Some of these Slides are.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
Domain Name System. McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 So what is DNS Resolution? DNS Resolution is the procedure used to resolve a IP.
Domain Name System: DNS To identify an entity, TCP/IP protocols use the IP address, which uniquely identifies the Connection of a host to the Internet.
Introduction to Networks
Chapter 9: Domain Name Servers
Cookies, Web Cache & DNS Dr. Adil Yousif.
EE 122: Domain Name Server (DNS)
DNS: Domain Name System
16, May, 2010 Baseer Ahmad Baheer
The Application Layer: Sockets, DNS
FTP, SMTP and DNS 2: Application Layer.
Presentation transcript:

EE 122: Lecture 20 (Domain Name Server - DNS) Ion Stoica Nov 15, 2001 (* based on the some on-line slides of J. Kurose & K. Rose and of Raj Jain)

Names & Addresses  What is a name?  What is an address?  What is an identifier?  What is the difference between name, addresses, and identifiers?

Internet Centric View  Addresse: -Says how to reach an object  it has location semantics associated to it -It’s in a format easy to process by computers  Name: -Does not have any location semantics associated to it -It’s in a format easier to understand/read/remember by people  Examples: -IP address: Name: amber.berkeley.edu

General View  Differentiating between names and addresses introduces several consistency problems: -What is a multicast IP address? -What is the IP address of a mobile host? -What is cnri.reston.va.us?  Solution: interpret an address as just another name (that may happen to have location semantics)

Name Service  Name space: define the set of possible names -Hierarchical (e.g., Unix and Windows file names) -Flat  Bindings: the mapping between names and values (e.g., bindings can be implemented by using tables)  Resolution: procedure that, when invoked with a name, returns the corresponding value  Name server: specific implementation of a resolution mechanism that is available on the network and that can be queried by sending messages

General View  In general there are multiple mappings Host name: amber.berkeley.edu IP address: Ethernet MAC address: DNS resolution ARP (Address Resolution Protocol)

Mapping  Multiple names can map onto the same name at the underlying level -Example: and amber.berkeley.edu can map to the same machine (I.e., the same IP address)  One name can map onto multiple names at the underlying level -Example: can be mapped to multiple machines

Name Hierarchy root edu com govmil org netukfr berkeley cmu eecs sims divine

Name Hierarchy  Unique domain suffix is assigned by the Internet Authority  The domain administrators have complete control over the domain  No limit on the number of subdomains or number of levels  Name space is not related with the physical interconnection  Geographical hierarchy is allowed (e.g., cnri.reston.va.us)  A name could be a domain or an individual objects

Top Level Domains Domain NameAssignment comCommercial eduEducational govGovernment milMilitary netNetwork OrgOther organizations ArpaAdvances research project agency country codeau, uk, ca

DNS Name Servers  Why not centralize DNS? -Single point of failure -Traffic volume -Distant centralized database -Maintenance  Doesn’t scale!

Server Hierarchy: Zones  A zone corresponds to an administrative authority that is responsible for that portion of the hierarchy root edu com govmil org netukfr berkeley cmu eecs sims divine

Server Hierarchy  Server are organized in hierarchies  Each server has authority over a portion of the hierarchy -A single node in the name hierarchy cannot be split -A server maintains only a subset of all names -It needs to know other servers that are responsible for the other portions of the hierarchy

Server Hierarchy  Authority: each server has the name to address translation table for all names in the name space it controls  Every server knows the root  Root server knows about all top-level domains

DNS Name Servers  No server has all name-to-IP address mappings  Local name servers: -Each ISP (company) has local (default) name server -Host DNS query first go to local name server  Authoritative name servers: -For a host: stores that host’s IP address, name -Can perform name/address translation for that host’s name

DNS: Root Name Servers  Contacted by local name server that can not resolve name  Root name server: -Contacts authoritative name server if name mapping not known -Gets mapping -Returns mapping to local name server  ~ Dozen root name servers worldwide

Simple DNS Example Host whsitler.cs.cmu.edu wants IP address of 1. Contacts its local DNS server, mango.srv.cs.cmu.edu 2. mango.srv.cs.cmu.edu contacts root name server, if necessary 3. Root name server contacts authoritative name server, ns1.berkeley.edu, if necessary requesting host whistler.cs.cmu.edu root name server authorititive name server ns1.berkeley.edu local name server mango.srv.cs.cmu.edu

DNS Example Root name server:  May not know authoritative name server  May know intermediate name server: who to contact to find authoritative name server? requesting host whistler.cs.cmu.edu root name server local name server mango.srv.cs.cmu.edu authoritative name server ns1.berkeley.edu intermediate name server (edu server) 7 8

DNS: Iterated Queries Recursive query:  Puts burden of name resolution on contacted name server  Heavy load? Iterated query:  Contacted server replies with name of server to contact  “I don’t know this name, but ask this server” requesting host whistler.cs.cmu.edu root name server local name server mango.srv.cs.cmu.edu authoritative name server ns1.berkeley.edu intermediate name server (edu server) 5 8 iterated query

DNS Records DNS: distributed database storing resource records (RR)  Type=NS -name is domain (e.g. foo.com) -value is IP address of authoritative name server for this domain RR format: (name, value, type,ttl)  Type=A -name is hostname -value is IP address  Type=CNAME -name is an alias name for some “cannonical” (the real) name -value is cannonical name  Type=MX -value is hostname of mailserver associated with name

DNS protocol, messages DNS protocol : query and reply messages, both with same message format msg header  identification: 16 bit # for query, reply to query uses same #  flags: -query or reply -recursion desired -recursion available -reply is authoritative

DNS protocol, messages Name, type fields for a query RRs in reponse to query Records for authoritative servers Additional “helpful” info that may be used

Discussion  Robustness -Use multiple replicas, but… -…what if someone mounts a denial of service attack to all root servers?  Performance: -Use caching to speed-up subsequent queries to the same name  What about update/notify? -Mechanisms under design by IETF (RFC 2136;

Summary  Address: just another form of name that may have location semantics  DNS: maps names onto IP address  Name space and the administration are both hierarchical  Replication: used to increase robustness  Caching: used to increase the performance