Spring 2006CS 3321 Name Service (DNS) Outline Terminology Domain Naming System.

Slides:



Advertisements
Similar presentations
Sergei Komarov. DNS  Mechanism for IP hostname resolution  Globally distributed database  Hierarchical structure  Comprised of three components.
Advertisements

Web Server Administration
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.
CS 6401 The Domain Name System Outline Domain Name System.
Spring 2002CS 4611 Naming Outline Terminology Domain Naming System Distributed File Systems.
1 Higher level protocols Domain Naming System, DNS HTTP.
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.
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.
Domain Name System (or Service) (DNS) Computer Networks Computer Networks Spring 2012 Spring 2012.
Domain Name System (DNS) Network Information Center (NIC) : HOSTS.TXT.
Domain Name System: DNS
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 5 Introduction to DNS in Windows Server 2008.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
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.
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chabot College ELEC Name Resolution.
Networking Basics: DNS IP addresses are usually paired with more human-friendly names: Domain Name System (DNS). internet.rutgers.edu HostnameOrganizationTop-level.
Name Resolution Domain Name System.
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.
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.
Petrozavodsk State University, Alex Moschevikin, 2003NET TECHNOLOGIES Domain Name System HISTORY File hosts (the size of Internet became more than 1000.
DNS: Domain Name System
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Network Protocols Chapter 25 (Data Communication & Networking Book): Domain Name System (DNS) 1.
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.
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.
Configuring Name Resolution and Additional Services Lesson 12.
1 Internet Network Services. 2 Module - Internet Network Services ♦ Overview This module focuses on configuring and customizing the servers on the network.
Chapter 9 Applications Giving user-friendly names (instead of router-friendly addresses) is often the 1 st application (middleware) implemented on a network.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
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.
Web Server Administration Chapter 4 Name Resolution.
OPTION section It is the first section of the named.conf User can use only one option statement and many option-value pair under the section. Syntax is.
1 10. DNS, HTTP, Unix Socket Programming DNS (Domain Name Service) Domain Name Name Resolution HTTP (Hyper Text Transfer Protocol) Request Response Persistent.
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.
Basics of the Domain Name System (DNS) By : AMMY- DRISS Mohamed Amine KADDARI Zakaria MAHMOUDI Soufiane Oujda Med I University National College of Applied.
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.
1 Internet Service DNS & BIND OPS335 Seneca College of Applied Technology.
Understand Names Resolution
Networking Applications
Chapter 25 Domain Name System.
Chapter 9: Domain Name Servers
DNS.
Net 323 D: Networks Protocols
Chapter 19 Domain Name System (DNS)
Applications Outline (SMTP) Web (HTTP) Network management (SNMP)
Chapter 25 Domain Name System
Chapter 25 Domain Name System
Computer Networks Primary, Secondary and Root Servers
Presentation transcript:

Spring 2006CS 3321 Name Service (DNS) Outline Terminology Domain Naming System

Spring 2006CS 3322 Why A Name Service? Fundamental property of name: identify object Fundamental property of an address: locate object Using name service allows us to decouple these two different functions (though often times naming conventions can help with location, and vice versa) –Name can help locate objects, define membership in a group, specify a role, etc. Differences (related to Internet): –Names more user friendly than IP addresses –Names can have variable length

Spring 2006CS 3323 Name Properties Location transparent or location-dependent Flat or hierarchical Global versus local Absolute versus relative

Spring 2006CS 3324 Terminology Name space: defines set of possible names –Flat: names not divisible into components –Hierarchical (e.g. Unix file names, Internet domain names) Naming system maintains a collection of bindings of names to values –Value can be anything we want naming system to return when presented with a name Resolution mechanism: a procedure that, when invoked with a name, returns the corresponding value Name server: specific implementation of a resolution mechanism that can be queried via a network

Spring 2006CS 3325 In The Beginning… Network Information Center (NIC) maintained a flat table of name-to-address bindings (called hosts.txt ) To add host to Internet, NIC with new name/address pair, which NIC manually added to table Modified table was mailed to every site every few days; sysadmins installed hosts.txt on every host

Spring 2006CS 3326 Domain Name System (DNS) Went online in mid 1980s Hierarchical name space –Names processed from right to left (though humans read them from left to right) with periods as field separators –Ex. cleopatra.richmond.edu

Spring 2006CS 3327 Domain Name System (DNS) Distributed database of domain name bindings –Each site (university department, campus, company, etc.) maintains its own part of database, along with a server –Mapping is not necessarily host name to address Apps presented with host names query DNS to find address –Accessed through a resolver, which in Unix is primarily reached via gethostbyname() and gethostbyaddress() –resolver opens UDP connection to pass name service packets (IP address of server(s) in /etc/resolve.conf) –resolver is not part of TCP implementation (or kernel)

Spring 2006CS 3328 Example Name server Mail program User TCP IP 2 cs.princeton.edu cs.princeton.edu

Spring 2006CS 3329 DNS Implementation Partition hierarchy into zones educom princeton … mit csee ux01ux04 physics cisco … yahoonasa … nsfarpa … navyacm … ieee govmilorgnetukfr Zones correspond to administrative authority (NIC gets top) –Each zone implemented by two or more name servers Primary: get its info from disk files Secondary: get their info from the primary (called a zone-transfer)

Spring 2006CS DNS Implementation (cont.) DNS is really a hierarchy of name servers, rather than hierarchy of domains Servers respond either with info requested or with IP address of another name server All primary servers must know IP addresses of all root servers Root name server Princeton name server Cisco name server CS name server EE name server … …

Spring 2006CS Resource Records Each name server maintains a collection of resource records (Name, Value, Type, Class, TTL) Name/Value: not necessarily host names to IP addresses Type: tells how value should be interpreted –A: Value is an IP address (gives the name-to-address mapping) –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 a particular host; used to define aliases (e.g. indirection for web server). –MX: Value gives domain name for host running mail server that accepts messages for specified domain. Class: allow other entities to define types (Internet class is IN) TTL: how long the resource record is valid (when TTL expires, this record must be removed from cache)

Spring 2006CS 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) …

Spring 2006CS 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)

Spring 2006CS 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) ( optima.cs.princeton.edu, CNAME, IN) (baskerville.cs.princeton.edu, , A, IN) (bas.cs.princeton.edu, baskerville.cs.princeton.edu, CNAME, IN)

Spring 2006CS Name Resolution Client sends request to a root server for cleopatra.mathcs.richmond.edu Root server returns the best info it has, which includes all information relating to richmond.edu (which should contain the name and address of a richmond.edu name server) Client queries richmond.edu name server, which returns name and address of mathcs.richmond.edu name server Client queries mathcs.richmond.edu name server and gets IP address of cleopatra.mathcs.richmond.edu

Spring 2006CS How It Really Works Client queries local name server, and name server goes through resolution process on client’s behalf –Hosts must be configured with address of local name server –Only local name server needs to know addresses of root server(s) –Local server sees all DNS responses, and can thus cache these (removing record when TTL expires) Partial names (e.g. cleopatra ): client program is configured with local domain and appends this to incomplete names before query

Spring 2006CS Example 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,