Lecture 13: Name Services I CDK

Slides:



Advertisements
Similar presentations
Jan 17, 2001CSCI {4,6}900: Ubiquitous Computing1 Announcements.
Advertisements

Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
Computer Networks: Domain Name System. The domain name system (DNS) is an application-layer protocol for mapping domain names to IP addresses Vacation.
CDNs & Replication Prof. Vern Paxson EE122 Fall 2007 TAs: Lisa Fowler, Daniel Killebrew, Jorge Ortiz.
Application Layer At long last we can ask the question - how does the user interface with the network?
1 Web Content Delivery Reading: Section and COS 461: Computer Networks Spring 2007 (MW 1:30-2:50 in Friend 004) Ioannis Avramopoulos Instructor:
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.
DNS. Outline r Domain Name System r DNS Hierarchy r Resolution.
Chapter 25 Domain Name System
Domain Name Services Oakton Community College CIS 238.
Lecturer : Ms.Trần Thị Ngọc Hoa Chapter 2 Methods Configuring Name Resolution Methods.
11.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
ES 101. Module 3 Domain Name System (DNS). Last Lecture Routing and IP addressing.
NET0183 Networks and Communications Lecture 25 DNS Domain Name System 8/25/20091 NET0183 Networks and Communications by Dr Andy Brooks.
1 Content Distribution Networks. 2 Replication Issues Request distribution: how to transparently distribute requests for content among replication servers.
The Domain Name Service, Etc. Jeff Chase Duke University, Department of Computer Science CPS 212: Distributed Information Systems.
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.,
Internet Address and Domain Name Service (DNS) CS587x Lecture Department of Computer Science Iowa State University.
TELE 301 Lecture 11: DNS 1 Overview Last Lecture –Scheduled tasks and log management This Lecture –DNS Next Lecture –Address assignment (DHCP)
Ch-9: NAME SERVICES By Srinivasa R. Gudipati. To be discussed.. Fundamentals of Naming Services Naming Resolution The Domain Name System (DNS) Directory.
Chapter 16 – DNS. DNS Domain Name Service This service allows client machines to resolve computer names (domain names) to IP addresses DNS works at the.
Domain Names System The Domain Name System (DNS) is a hierarchical distributed naming system for computers, services, or any resource connected to the.
{ Content Distribution Networks ECE544 Dhananjay Makwana Principal Software Engineer, Semandex Networks 5/2/14ECE544.
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
Chapter 29 Domain Name System (DNS) Allows users to reference computer names via symbolic names translates symbolic host names into associated IP addresses.
October 8, 2015 University of Tulsa - Center for Information Security Microsoft Windows 2000 DNS October 8, 2015.
Domain Name System. CONTENTS Definitions. DNS Naming Structure. DNS Components. How DNS Servers work. DNS Organizations. Summary.
12-Oct-15Ubiquitous Computing1 Outline Applications –Central Server –Hierarchical –Peer-to-peer.
Netprog: DNS and name lookups1 Address Conversion Functions and The Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Internet and Intranet Protocols and Applications Lecture 5 Application Protocols: DNS February 20, 2002 Joseph Conron Computer Science Department New York.
Naming March 8, Networks What is naming?  Associations between some elements in a set of names and some elements in a set of values  Binding.
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)
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)
DNS DNS overview DNS operation DNS zones. DNS Overview Name to IP address lookup service based on Domain Names Some DNS servers hold name and address.
Internet Address and Domain Name Service (DNS) CS587x Lecture 5 Department of Computer Science Iowa State University.
Web Server Administration Chapter 4 Name Resolution.
1. Internet hosts:  IP address (32 bit) - used for addressing datagrams  “name”, e.g., ww.yahoo.com - used by humans DNS: provides translation between.
COMP 431 Internet Services & Protocols
Basics of the Domain Name System (DNS) By : AMMY- DRISS Mohamed Amine KADDARI Zakaria MAHMOUDI Soufiane Oujda Med I University National College of Applied.
System Administration(SAD622S) Name of Presenter: Shadreck Chitauro Lecturer 18 July 2016 Faculty of Computing and Informatics.
Security Issues with Domain Name Systems
Networking Applications
Introduction to Networks
Content Distribution Networks
Chapter 25 Domain Name System.
Chapter 9: Domain Name Servers
Domain Name System (DNS)
IMPLEMENTING NAME RESOLUTION USING DNS
Chapter 25 Domain Name System.
DNS.
Configuring and Managing the DNS Server Role
Net 323 D: Networks Protocols
EE 122: Domain Name Server (DNS)
General network terminology Chapter 9.1: DNS
Lecture 7: Name and Directory Servers
Hints on how to read systems papers Network Applications
Lecture 7: Name and Directory Servers
Domain Name System (DNS)
Lecture 8: Name and Directory Servers
Content Distribution Networks
Chapter 25 Domain Name System.
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Computer Networks Primary, Secondary and Root Servers
Computer Networks Presentation
Presentation transcript:

Lecture 13: Name Services I CDK 91.-9.2 CIS 505: Software Systems Lecture 13: Name Services I CDK 91.-9.2 9/19/2018 CIS 505

Design space What do you do when change your phone number? Email/call friend ASAP < 400 friends? White page updated once a year Changes are infrequent 9/19/2018 CIS 505

Design space 2 Design considerations Challenges Size of local directory Delay and cost of update propagation Challenges Scale Frequency of change 9/19/2018 CIS 505

What is in a name? Pure name Address Un interpreted bit patterns Always have to be looked up May refer to a service instead of a single object Address Identifies the location of an object Efficient for accessing objects But inadequate as ID 9/19/2018 CIS 505

Domain Name Service (DNS) A planetary name service that translates Internet domain names maps <node name> to <IP address> (mostly) independent of location, routing etc. Use of hierarchy for scalability decentralized administration of the name space hierarchical authority and trust 9/19/2018 CIS 505

DNS 101 Domain names are the basis for the Web’s global URL space. provides a symbolic veneer over the IP address space names for autonomous naming domains, e.g., cis.upenn.edu names for specific nodes, e.g., codex.cis.upenn.edu names for service aliases (e.g., www, mail servers) 9/19/2018 CIS 505

Domain Name Hierarchy - fully qualified names are “little endian” DNS name space is hierarchical: - fully qualified names are “little endian” - scalability - decentralized administration - domains are naming contexts replaces primordial flat hosts.txt namespace com gov org net top-level domains (generic TLDs) firm shop arts web us fr country-code TLDs .edu upenn washington drexel ee cis wharton cs cs www (C1K) central How is this different from hierarchical directories in distributed file systems? Do we already know how to implement this? 9/19/2018 CIS 505

“lookup www.nhc.noaa.gov” DNS Implementation 101 DNS protocol/implementation: UDP-based client/server client-side resolvers typically in a library gethostbyname, gethostbyaddr cooperating servers query-answer-referral model forward queries among servers common implementation: BIND WWW server for nhc.noaa.gov (IP 140.90.176.22) “www.nhc.noaa.gov is 140.90.176.22” DNS server for nhc.noaa.gov “lookup www.nhc.noaa.gov” local DNS server 9/19/2018 CIS 505

DNS Name Server Hierarchy DNS servers are organized into a hierarchy that mirrors the name space. Specific servers are designated as authoritative for portions of the name space. com Root servers list servers for every TLD. gov org net firm shop arts web us .edu fr Servers may delegate management of subdomains to child name servers. drexel ... Subdomains correspond to organizational (admininstrative) boundaries, which are not necessarily geographical. upenn wharton Parents refer subdomain queries to their children. cis Servers are bootstrapped with pointers to selected peer and parent servers. ee Resolvers are bootstrapped with pointers to one or more local servers; they issue recursive queries. 9/19/2018 CIS 505

DNS: The Big Issues 1. Naming contexts I want to use short, unqualified names like central instead of central.cis.upenn.edu when I’m in the cis.upennedu domain. 2. What about trust? How can we know if a server is authoritative, or just an impostor? What happens if a server lies or behaves erratically? What denial-of-service attacks are possible? What about privacy? 3. What if an “upstream” server fails? 4. Is the hierarchical structure sufficient for scalability? more names vs. higher request rates 9/19/2018 CIS 505

DNS Caching TLD root .edu Local server caches .edu, upenn.edu, cis.upenn.edu, and c1k.cis.upenn.edu. .edu Caching of query responses allows subsequent queries to bypass the roots of the server hierarchy. upenn Each response is stamped with a time-to-live (TTL) to limit damage from stale cache entries. cis What about negative caching: is it worthwhile to cache negative responses? response query C1k.cis.upenn.edu 9/19/2018 CIS 505

DNS Replication Every DNS domain has or should have at least one secondary name server replica. - configure peers to offload queries from primary - serve as authoritative backup .edu domain admin updates primary upenn Secondary replicas keep themselves up to date by periodically fetching/refreshing the entire naming database via zone transfer (TCP). ee cis The primary database is timestamped with a “serial number” to short-circuit if no updates have occurred since last zone transfer. How to load-balance the secondaries? query zone transfer primary secondary query (backup) 9/19/2018 CIS 505

The Server Selection Problem server array A server farm B Which server? Which network site? “Contact the weather service.” 9/19/2018 CIS 505

“lookup www.nhc.noaa.gov” DNS Round Robin a b c d Brisco (Rutgers), RFC 1794 What about DNS caching? How to handle server failures? How effective is the load-balancing? “www.nhc.noaa.gov is IP address a” (or {b,c,d}) DNS server for nhc.noaa.gov “lookup www.nhc.noaa.gov” local DNS server 9/19/2018 CIS 505

Generalized Cache/CDN (External View) Origin Servers {push, request, reply} Content Distribution Networks Web Caches {request, reply} Clients 9/19/2018 CIS 505

Generalized Cache/CDN (Internal View) Interior Caches root caches reverse proxies CDN caches Request Routing Function ƒ ƒ Leaf Caches (e.g., ISP proxies) bound client populations 9/19/2018 CIS 505

DNS-based Request Routing How to apply the request routing function ƒ? Some intermediary intercepts the request, and directs it to a selected site. Smart proxies or switches? E.g., look at URL or server IP address. Or, interpose on the binding procedure, before the client sends the request itself. Smart clients, Active Names, RPC binding, or DNS lookup Third-party CDNs are based on DNS servers that select the cache/replica site on DNS lookup for the request. Akamai, Digital Island, Web hosting providers (e.g., Exodus), etc. Like DNS-RR....but smarter... 9/19/2018 CIS 505

Using DNS for Third-party CDNs Intelligent DNS-based request routing has some tricky parts: Third-party CDNs contract with content providers (e.g., Web sites such as cnn.com) to serve a subset of their content. Resource-rich content, e.g., images, audio, video. To use DNS request routing, the CDN must assume DNS duties for the URLs that reference the content it serves. The content provider does not want to designate the CDN as the authoritative DNS server for its domain (e.g., cnn.com). Solution: make up new DNS domains for the client provider’s content served by the CDN. 9/19/2018 CIS 505

Domain Granularity and “Akamaizing” CDN (e.g., Akamai) creates new domain names for each client content provider. e.g., a128.g.akamai.net The CDN’s DNS servers are authoritative for the new domains. The client content provider modifies its content so that embedded URLs reference the new domains. “Akamaize” content, e.g.: http://www.cnn.com/image-of-the-day.gif becomes http://a128.g.akamai.net/image-of-the-day.gif. Using multiple domain names for each client allows the CDN to further subdivide the content into groups. DNS sees only the requested domain name, but it can route requests for different domains independently. 9/19/2018 CIS 505

The Akamai et. al. DNS Hook akamai.net DNS servers www.nhc.noaa.gov “Akamaizes” its content. Akamai servers store/cache secondary content for “Akamaized” services. a lookup a128.g.akamai.net b DNS server for nhc.noaa.gov c get http://www.nhc.noaa.gov local DNS server “Akamaized” response object has inline URLs for secondary content at a128.g.akamai.net and other Akamai-managed DNS names. 9/19/2018 CIS 505

Wide-Area Request Routing What information does a DNS-based request routing function ƒ have available to it? client’s or proxy’s DNS resolver’s IP address Gives the best guess at where the client is...can we do better? domain name embedded in URL content domain NOT the rest of the URL other information about server load or network state The CDN decides where to cache/replicate each content domain, and which cache/replica to serve each request. 9/19/2018 CIS 505

DNS summary A domain has naming authority Iterative lookup and caching Infrequent <name, address> changes 9/19/2018 CIS 505