CS 6401 The Domain Name System Outline Domain Name System.

Slides:



Advertisements
Similar presentations
CSE331: Introduction to Networks and Security Lecture 8 Fall 2002.
Advertisements

Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
Spring 2003CS 4611 Naming Outline Terminology Domain Naming System Distributed File Systems.
Spring 2002CS 4611 Naming Outline Terminology Domain Naming System Distributed File Systems.
1 Higher level protocols Domain Naming System, DNS HTTP.
Spring 2006CS 3321 Name Service (DNS) Outline Terminology Domain Naming System.
Applications Outline Name Service (DNS) Traditional Applications.
CS440 Computer Networks 1 Domain Name System (DNS) Neil Tang 12/05/2008.
1 Naming Services (DNS) Name versus Address Name space –defines set of possible names –consists of a set of name to value bindings –flat (names are not.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved Naming (2) DISTRIBUTED.
Naming Computer Engineering Department Distributed Systems Course Asst. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2014.
1 Naming Outline Terminology Domain Naming System Distributed File Systems.
1 DNS. 2 BIND DNS –Resolve names to IP address –Resolve IP address to names (reverse DNS) BIND –Berkeley Internet Name Domain system Version 4 is still.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Domain Name System (or Service) (DNS) Computer Networks Computer Networks Spring 2012 Spring 2012.
20101 The Application Layer Domain Name System Chapter 7.
NamingCS-4513, D-Term Naming CS-4513 Distributed Computing Systems (Slides include materials from Operating System Concepts, 7 th ed., by Silbershatz,
Domain Name System (DNS) Network Information Center (NIC) : HOSTS.TXT.
Application Layer At long last we can ask the question - how does the user interface with the network?
NamingCS-4513, D-Term Naming CS-4513 Distributed Computing Systems (Slides include materials from Operating System Concepts, 7 th ed., by Silbershatz,
Naming Names in computer systems are used to share resources, to uniquely identify entities, to refer to locations and so on. An important issue with naming.
Module 12: Domain Name System (DNS)
Application Layer. Domain Name System Domain Name System (DNS) Problem – Want to go to but don’t know the IP addresswww.google.com Solution.
Domain Name Services Oakton Community College CIS 238.
CS 4396 Computer Networks Lab
NAME SERVICES. Names and addresses File names /etc/passwd URLS Internet domain names—dcs.qmw.ac.uk Identifiers- ROR, NFS.
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts: – IP address (32 bit) - used for addressing datagrams – “name”, e.g.,
ICS362 Distributed Systems Dr Ken Cosh Week 5. Review Communication – Fundamentals – Remote Procedure Calls (RPC) – Message Oriented Communication – Stream.
1 Naming with the Domain Name System. 2 Internet Applications Domain Name System Electronic mail IP telephony Remote login File transfer All use client-server.
Name Resolution Domain Name System.
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.
Computer Science Lecture 9, page 1 CS677: Distributed OS Today: Naming Names are used to share resources, uniquely identify entities and refer to locations.
Chapter 9 - Applications We will look at three main applications DNS (name services) SMTP ( ) HTTP (World Wide Web) Our main focus will be on DNS.
Chapter 31 - Naming with the Domain Name System IP addresses vs. symbolic names Structure of Computer names DNS naming structure DNS server hierarchy An.
DNS: Domain Name System
Module 2: Implementing DNS to Support Active Directory
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 17 Domain Name System
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 25 – April 15, 2010.
Chapter 29 Domain Name System (DNS) Allows users to reference computer names via symbolic names translates symbolic host names into associated IP addresses.
Domain Name System CH 25 Aseel Alturki
October 8, 2015 University of Tulsa - Center for Information Security Microsoft Windows 2000 DNS October 8, 2015.
Spring, 2001CS 6401 Addressing and Domain Name System Outline Addressing Subnetting Supernetting Domain Name System.
CSS432: Applications 1 CSS432 Domain Name System Textbook Instructor: Joe McCarthy (based on Prof. Fukuda’s slides)
1 TCP/IP Networking. 2 TCP/IP TCP/IP is the networking protocol suite most commonly used with UNIX, Windows, NT and most other OS’s. TCP/IP defines a.
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.
Configuring Name Resolution and Additional Services Lesson 12.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Chapter 9 Applications Giving user-friendly names (instead of router-friendly addresses) is often the 1 st application (middleware) implemented on a network.
Feb.2001C.Watters NAMES and ADDRESSES What’s in a name, anyway?
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.
BZUPAGES.COM. Presented to: Sir. Muizuddin sb Presented by: M.Sheraz Anjum Roll NO Atif Aneaq Roll NO Khurram Shehzad Roll NO Wasif.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Web Server Administration Chapter 4 Name Resolution.
Informatics Institute of Technology 3SFE611 Network Design 1 DNS (Domain Name System) RFC1035 Why names? Computers use addresses. Humans cannot remember.
1 10. DNS, HTTP, Unix Socket Programming DNS (Domain Name Service) Domain Name Name Resolution HTTP (Hyper Text Transfer Protocol) Request Response Persistent.
Naming CSCI 6900/4900. Mounting Mounting – Merging different namespaces transparently File system example –Directory node of one namespace stores identifier.
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.
Ch 2. Application Layer Myungchul Kim
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Understand Names Resolution
Module 5: Resolving Host Names by Using Domain Name System (DNS)
IMPLEMENTING NAME RESOLUTION USING DNS
DNS.
Applications Outline (SMTP) Web (HTTP) Network management (SNMP)
Presentation transcript:

CS 6401 The Domain Name System Outline Domain Name System

CS 6402 Domain Name System Overview What are names used for in general? –identify objects –locate objects –define membership in a group –… Basic Terminology –Name space defines set of possible names Consists of a set of name to value bindings –Resolution mechanism When invoked with a name returns corresponding value

CS 6403 DNS Properties Size of Internet demands well devised naming mechanism –Specified in RFC 1034, 1035 (Mockapetris ‘87) Names versus addresses –Human readable versus router readable –Location transparent versus location-dependent Flat versus hierarchical –Can names be divided into components? Global versus local –What is the scope of naming? DNS for other purposes –Determines where user requests are routed

CS 6404 Examples Hosts pluto.cs.wisc.edu :23:A8:33:5B:9F Files /usr/llp/tmp/foo (server, fileid) Users Paul Barford

CS 6405 Examples (cont) Mailboxes Services nearby ps printer with short queue and 2MB Name server Mail program User TCP IP 2 cs.wisc.edu cs.wisc.edu

CS 6406 Domain Naming System Hierarchical name space for Internet objects Names are read from right to left separated by periods –Each suffix in a domain name is a domain wail.cs.wisc.edu, cs.wisc.edu, wisc.edu, edu

CS 6407 Name Servers Partition hierarchy into zones (administrative authorities) educom princeton … mit csee ux01ux04 physics cisco … yahoonasa … nsfarpa … navyacm … ieee govmilorgnetukfr Root name server Princeton name server Cisco name server CS name server EE name server … … Each zone implemented by two or more name servers

CS 6408 Resource Records Each name server maintains a collection of resource records (Name, Value, Type, Class, TTL) –Each record is a translation based on type –Name/Value: not necessarily host names to IP addresses Type (some examples) –A: Name = full domain name, Value = IP address –NS: Value gives domain name for host running name server that knows how to resolve names within specified domain. –CNAME: Value gives canonical name for particle host; used to define aliases. –MX: Value gives domain name for host running mail server that accepts messages for specified domain. Class: allow other entities (other than NIC) to define types –IN is what is used by the Internet TTL: how long the resource record is valid

CS 6409 Root Server (princeton.edu, cit.princeton.edu, NS, IN) (cit.princeton.edu, , A, IN) (cisco.com, thumper.cisco.com, NS, IN) (thumper.ciscoe.com, , A, IN) …

CS Princeton Server (cs.princeton.edu, optima.cs.princeton.edu, NS, IN) (optima.cs.princeton.edu, , A, IN) (ee.princeton.edu, helios.ee.princeton.edu, NS, IN) (helios.ee.princeton.edu, , A, IN) (jupiter.physics.princeton.edu, , A, IN) (saturn.physics.princeton.edu, , A, IN) (mars.physics.princeton.edu, , A, IN) (venus.physics.princeton.edu, , A, IN)

CS CS Server (cs.princeton.edu, optima.cs.princeton.edu, MX, IN) (cheltenham.cs.princeton.edu, , A, IN) (che.cs.princeton.edu, cheltenham.cs.princeton.edu, CNAME, IN) (optima.cs.princeton.edu, , A, IN) (opt.cs.princeton.edu, optima.cs.princeton.edu, CNAME, IN) (baskerville.cs.princeton.edu, , A, IN) (bas.cs.princeton.edu, baskerville.cs.princeton.edu, CNAME, IN)

CS Name Resolution Strategies –forward –iterative –recursive Local server –need to know root at only one place (not each host) –site-wide cache Root name server Princeton name server CS name server Local name server Client 1 cicada.cs.princeton.edu cicada.cs.princeton.edu princeton.edu, cicada.cs.princeton.edu cicada.cs.princeton.edu, cicada.cs.princeton.edu cs.princeton.edu,

CS DNS Issues Top level domain names are tightly controlled Before an institution is granted authority for a second-level domain, it must agree to operate a DNS server that meets Internet standards. –Eg. all DNS info must be replicated on separate systems DNS is very important in the Internet –Security of this system is strict DNS lookups can affect performance In practice DNS is much more complicated than you might think

CS DNS Redirection and CDNs Up to now, we have assumed that there is a single mapping between a name and an IP Content delivery companies (Akamai) use DNS to direct client requests to mirror servers –Content Delivery Networks (CDN’s) attempt to push content closer to the edge of the network Distributed network of mirror servers (caches/proxies) –How do clients find the closest mirror? –CDN’s take over company’s name server

CS DNS Redirection contd. Local DNS request gets routed to company’s name server CDN assumes client is “near” their local DNS CDN responds with IP of server which is closest to client’s local DNS –Enables much –Makes many assumptions

CS Other Naming Protocols X.500 –Naming system designed to identify people –Each person is defined by attributes Name Title … –Too cumbersome Lightweight Directory Access Protocol (LDAP) –Evolved from X.500 –System for learning about users