Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Domain Name System (DNS) Shivkumar Kalyanaraman Rensselaer Polytechnic Institute

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

Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
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.
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.
Naming With the Domain Name System. Why Not Names? Requires more memory to store Requires more computation to manipulate.
20101 The Application Layer Domain Name System Chapter 7.
McGraw-Hill©The McGraw-Hill Companies, Inc., Chapter 25 Domain Name System.
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?
Domain Name System: DNS
CSEE W4140 Networking Laboratory Lecture 10: DNS Jong Yul Kim
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.
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
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.
DNS. Outline r Domain Name System r DNS Hierarchy r Resolution.
Chapter 25 Domain Name System
The Domain Name System Presented by: Baolan Bo Bo Liangzhen LiangzhenShuguangWeihuaYujun Instructor: Dr. Sharon P. Hall.
Host Name Resolution. Overview Name resolution Name resolution Addressing a host Addressing a host Host names Host names Host name resolution Host name.
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.,
DNS Domain Name System. Hostnames  IP Addresses are great for computers – IP address includes information used for routing.  IP addresses are tough.
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.
Netprog: DNS and name lookups1 Address Conversion Functions and The Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
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.
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 names and IP addresses Resolver and name server DNS Name hierarchy Domain name system Domain names Top-level domains Hierarchy of name servers.
(1 of 50) Domain Name System (DNS). (2 of 50) Outline: Domain Name System (DNS) Providing Readable Names Flat Namespace Hierarchical Names Subset Authority.
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.
Example applications Symbolic names and the Domain Name System (DNS)
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.
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.
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.
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.
Domain Name System (DNS). DNS Server Service Overview of Domain Name System What Is a Domain Namespace? Standards for DNS Naming.
24. DNS Domain Name System address 1. Name server domain name IP address ftp.cs.mit.eduxx.xx.xx.xx 24.2 Mapping Domain Names To.
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)
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
Informatics Institute of Technology 3SFE611 Network Design 1 DNS (Domain Name System) RFC1035 Why names? Computers use addresses. Humans cannot remember.
1. Internet hosts:  IP address (32 bit) - used for addressing datagrams  “name”, e.g., ww.yahoo.com - used by humans DNS: provides translation between.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 25 Domain Name System.
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.
Internet Naming Service: DNS* Chapter 5. The Name Space The name space is the structure of the DNS database –An inverted tree with the root node at the.
Domain Name System INTRODUCTION to Eng. Yasser Al-eimad
Basics of the Domain Name System (DNS) By : AMMY- DRISS Mohamed Amine KADDARI Zakaria MAHMOUDI Soufiane Oujda Med I University National College of Applied.
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.
Understand Names Resolution
Domain Name System (DNS)
Networking Applications
Chapter 9: Domain Name Servers
EE 122: Domain Name Server (DNS)
Domain Name System (DNS)
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Domain Name System: DNS
Presentation transcript:

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Domain Name System (DNS) Shivkumar Kalyanaraman Rensselaer Polytechnic Institute

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 2 q Naming hierarchy q Server hierarchy q Name resolution q Other information in name servers q Ref: Chap 14, RFC 1034 Overview

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 3 Why Names? q Computers use addresses  Humans cannot remember IP addresses  Need names Example, “shiva” for q Simplest Solution: Each computer has a unique name and has a built in table of name to address translation (mapping) q Problem: Not scalable q Solution: DNS (Adopted in 1983) q Hierarchical Names: shiv.ecse.rpi.edu

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 4 Name Hierarchy reston comedugovauus decrpinsfcova ecseiplhr cnri Unnamed root...

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 5 Name Hierarchy q Unique domain suffix is assigned by Internet Authority q The domain administrator has complete control over the domain q No limit on number of sub-domains or number of levels q computer.site.division.company.com q Domains within an organization do not have to be uniform in number of subdomains or levels

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 6 Name Hierarchy (Continued) q Name space is not related to physical interconnection, e.g., ecse.rpi.edu and ipl.rpi.edu could be on the same floor or in different cities q Geographical hierarchy is also allowed, e.g., cnri.reston.va.us q A name could be a subdomain (eg: ecse.rpi.edu) or an individual object (eg: cortez.rpi.edu)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 7 Top Level Domains Domain Name/Assignment comCommercial eduEducational govGovernment milMilitary netNetwork orgOther organizations arpaAdvanced Research Project Agency country codeau, uk, ca

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 8 Server Hierarchy q Servers are organized in a hierarchy q Each server has an authority over a part of the naming hierarchy q It needs to know other servers who are responsible for other subdomains q A single node in the naming tree cannot be split among multiple servers q A given level of hierarchy can be partitioned into multiple servers

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 9 Server Hierarchy (Example) peanutalmondwalnut candy soap foobar com peanutalmondwalnut candy soap foobar com

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 10 Server Hierarchy (Continued)  Authority  has the name to address translation table  Responsible  Either has the name to address translation table or knows the server who has q But such a reply is called “non-authoritative” reply q Root server knows about servers for top-level domains, e.g., com q Each server knows the root server

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 11 Server Hierarchy: Example Server for com Server for edu Server for gov Server for au Server for us Server for dec.com Server for rpi.edu Server for nsf.gov server for co.au Server for va.us Root Server

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 12 Server Hierarchy: Better q Fewer servers q More entries/links per server q Fewer levels to traverse before resolving a name Server for dec.com Server for rpi.edu Server for nsf.gov server for co.au Server for va.us Root Server

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 13 Name Resolution q Each computer has a name resolver routine, e.g., gethostbyname & gethostbyaddr in UNIX q Each resolver knows the IP address of a local DNS server q Resolver sends a DNS request to the server q DNS server either gives the answer, forwards the request to another server, or gives a referral q Referral = Next server to whom request should be sent q Recursive Query: Give me an answer (Don't give me a referral)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 14 User Name Resolver Name Server Cache Query Response Query Response Query Response Data- base Name Server Cache Data- base Query Response Recursion!

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 15 Name Resolution (Continued) User Name Resolver Name Server Cache Query Referral Query Response Query Response Data- base Name Server Cache Data- base Query Response

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 16 DNS Optimization q Spatial Locality: Local computers referenced more often than remote  Temporal Locality: Same set of domains referenced repeatedly  Caching q Each entry has a time to live (TTL) q Replication: Multiple servers. Multiple roots. Ask the geographically closest server.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 17 DNS Message Format Number of AuthorityNumber of Additional Question Section... Answer Section... Authority Section... Additional Information Section... Number of QuestionsNumber of AnswersIdentificationParameter

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 18 Format (Continued) q Format of the query section entries: q Format of other section entries: Query TypeQuery Class Query Domain Name... Time to live Resource Data Length Resource Domain Name TypeClass Resource Data

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 19 DNS Message Format (Continued) BitMeaning 0Operation: 0=Query, 1=Response 1-4Query type: 0=Standard, 1=Inverse, 2,3 obsolete 5Set if answer authoritative 6Set if message truncated 7Set if recursion desired 8Set if recursion available 9-11Reserved 12-15Response type: 0=No error, 1=Format error, 2=Server Failure, 3=Name does not exist

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 20 Types of DNS Entries q DNS used other types of resolution q Eg: also for finding mail server, pop server, responsible person, etc for a computer q DNS database has multiple “types”  Record type A  Address of X  Record type MX  Mail exchanger of X

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 21 Types of DNS Entries (Continued) q DNS database may also have multiple “classes” q Can support name resolution for multiple protocols eg: IP, SNA, DECbit etc q Pointer queries: given IP address find name

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 22 Resource Record Types TypeMeaning AHost Address CNAMECanonical Name (alias) HINFOCPU and O/S MINFOMailbox Info MXMail Exchanger NSAuthoritative name server for a domain PTRPointer to a domain name (link) RPResponsible person SOAStart of zone authority (Which part of naming hierarchy implemented) TXTArbitrary Text

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 23 Summary q DNS: Maps names to addresses q Names are hierarchical. Administration is also hierarchical. q No standard for number of levels q Replication and caching is used for performance optimization.