CSEE W4140 Networking Laboratory Lecture 10: DNS Jong Yul Kim 04.12.2010.

Slides:



Advertisements
Similar presentations
INTERNET PROTOCOLS Class 9 CSCI 6433 David C. Roberts Entire contents copyright 2011, David C. Roberts, all rights reserved.
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.
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.
CSEE W4140 Networking Laboratory Lecture 12: Review Jong Yul Kim
20101 The Application Layer Domain Name System Chapter 7.
Domain Name System (DNS) Network Information Center (NIC) : HOSTS.TXT.
Domain Name System: DNS
CSEE W4140 Networking Laboratory Lecture 10: DNS Jong Yul Kim
W4140 Network Laboratory Lecture 11 Nov 27 - Fall 2006 Shlomo Hershkop Columbia University.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
The Domain Name System (DNS)
Domain Name Services Oakton Community College CIS 238.
The Domain Name System Presented by: Baolan Bo Bo Liangzhen LiangzhenShuguangWeihuaYujun Instructor: Dr. Sharon P. Hall.
Ch25 Ameera Almasoud 1 Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007.
Host Name Resolution. Overview Name resolution Name resolution Addressing a host Addressing a host Host names Host names Host name resolution Host name.
11.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
DNS (Domain Name System)
NET0183 Networks and Communications Lecture 25 DNS Domain Name System 8/25/20091 NET0183 Networks and Communications by Dr Andy Brooks.
Basic DNS Course Lecturer: Ron Aitchison. Module 1 DNS Theory.
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.,
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.
Computer Networks: Domain Name System. The domain name system (DNS) is an application-layer protocol for mapping domain names to IP addresses Vacation.
CSUF Chapter 6 1. Computer Networks: Domain Name System 2.
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.
DNS: Domain Name System
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Domain Name System (DNS)
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
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
COMT 6251 Network Layers COMT Overview IP and general Internet Operations Address Mapping ATM LANs Other network protocols.
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.
Domain Name System CH 25 Aseel Alturki
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.
Pharming Group 10: Phuc H. Dao Anita Lugonja. Motivation To give students an opportunity to learn about DNS poisoning To give students an opportunity.
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.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
Linux Operations and Administration
BZUPAGES.COM. Presented to: Sir. Muizuddin sb Presented by: M.Sheraz Anjum Roll NO Atif Aneaq Roll NO Khurram Shehzad Roll NO Wasif.
Domain Name System (DNS)
Web Server Administration Chapter 4 Name Resolution.
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
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.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
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.
1 Internet Service DNS & BIND OPS335 Seneca College of Applied Technology.
System Administration(SAD622S) Name of Presenter: Shadreck Chitauro Lecturer 18 July 2016 Faculty of Computing and Informatics.
Understand Names Resolution
Domain Name System (DNS)
Networking Applications
Domain Name System: DNS
Chapter 9: Domain Name Servers
Chapter 19 Domain Name System (DNS)
Chapter 25 Domain Name System
Chapter 25 Domain Name System
Domain Name System: DNS
Presentation transcript:

CSEE W4140 Networking Laboratory Lecture 10: DNS Jong Yul Kim

Domain Name System  Many RFCs describing the DNS  We’ll look at RFC 1034 “Domain Concepts and Facilities”

DNS Design Goals  “Consistent name space for referring to resources”  Distributed database, with local caching Data source is responsible for maintaining fresh, accurate information  Must be generally useful Associate names to sets of data, such as host addresses, mailbox data, host OS  Independent of communications system that carries the queries and responses

Elements of the DNS  Domain name space and resource records Specifications for a tree structured name space and data associated with the names.  Name servers Server programs which hold information about the domain tree’s structure and associated data  Resolvers Client programs that extract information by querying name servers

Domain name space  A tree structure Each node corresponds to a resource set  Each node has a label up to 63 octets in length (case-insensitive)  Domain name of the node is the list of labels on the path from the node to the root of the tree.. (root) edu columbia cs www eecc

Resource records (RR)  Resource information for a particular domain name is written as resource records.  Elements of an RR are: Owner : domain name where RR is found Type : shows which resource to query Class : IN = Internet TTL : time-to-live in seconds for caches RDATA : the actual data

Resource records (RR)  RR Types Ahost address CNAMEcanonical name HINFOOS / CPU info MXmail server info NSauthoritative name server PTR pointer to another node SOAstart of authority

DNS message format Queries and responses are sent using UDP port 53

Zones  Domain database is partitioned into zones.  Zones are formed by cutting the domain tree and then grouping the nodes that are still connected.  A zone is : Authoritative for all nodes within the zone Usually managed by one organization

DNS Hierarchy  Root and top-level domains are administered by Internet central name registration authority (ICANN)  Below top-level domain, administration of name space is delegated to organizations  Each organization can delegate further

Root servers  Root zone is at the very top of the domain tree The root servers are statically entered into resolvers and name servers  13 logical root servers in the world Named with letters A ~ M  171 physical root servers 

Root Servers  Redundancy Redundant hardware that takes over failed one with or without human intervention  At least 3 recommended, with one in a remote site [3] Backups of the zone file stored at off-site locations Connectivity to the internet  Diversity Geographically located in 130 places in 53 countries  Topological diversity matters more Hardware, software, operating system of servers Diverse organizations, personnel, operational processes Distribution of zone files within root server operator 1 Bush et al. Root Name Server Operational Requirements. RFC IETF Elz et al. Selection and Operation of Secondary DNS Servers. RFC IETF 1997.

The use of anycast  Basic anycast Announce identical IP address Routing system takes client request to closest node  Hierarchical anycast Global vs. local nodes If any node fails, stop announcement Global node takes over automatically 1 Abley, Hierarchical Anycast for Global Service Distribution. ISC Technical Note

Is anycast good for everyone? [1]  Not really …  Packets for long sessions may go to another node if the routing dynamics change Service time and stability of routing  A lot of routing considerations Aggregated prefixes Multiple services from a prefix Consideration of route propagation radius 1 Abley and Lindqvist, Operation of Anycast Services. RFC IETF 2006.

Top Level Domain (TLD)  Country code TLD (ccTLD) TLDs with two letters .cn,.in,.kr Each country manages their own TLD  Generic TLD (gTLD) TLDs with three or more letters .com,.net,.org,.edu,.gov,.aero Management is delegated to organizations Sponsored gTLD is one where the domain is limited to ‘approved’ organizations. (.aero) .arpa TLD Used to convert IP addresses to domain names

Registry Listings from ICANN Registry Listing.com1985UnsponsoredUnrestricted (but intended for commercial registrants) VeriSign, Inc. Registry Customer Service Registry Customer Service VeriSign Naming Services Ridgetop Circle Dulles, Virginia United States Tel : Fax: grs.com grs.com.edu1985SponsoredUnited States educational institutions EDUCAUSE Becky Granger Becky Granger EDUCAUSE 4772 Walnut Street, Suite 206 Boulder, Colorado United States Tel: Fax: edudomain edudomain TLDIntroduced Sponsored/ Unsponsored Purpose Sponsor/ Operator Contact.net 1985UnsponsoredUnrestricted (but intended for network providers, etc.) VeriSign, Inc. Registry Customer Service Registry Customer Service VeriSign Naming Services Ridgetop Circle Dulles, Virginia United States Tel: Fax: grs.com grs.com

Recursive and Iterative Queries  There are two types of queries: Recursive queries Iterative (non-recursive) queries  The type of query is determined by a bit in the DNS query  Recursive query: When the name server of a host cannot resolve a query, the server issues a query to resolve the query  Iterative queries: When the name server of a host cannot resolve a query, it sends a referral to another server to the resolver.

Recursive Queries  In a recursive query, the resolver expects the response from the name server  If the server cannot supply the answer, it will send the query to the “closest known” authoritative name server (here: In the worst case, the closest known server is the root server)  The root sever sends a referral to the “edu” server. Querying this server yields a referral to the server of “virginia.edu”  … and so on

Iterative Queries  In an iterative query, the name server sends a closest known authoritative name server a referral to the root server.  This involves more work for the resolver

Caching  To reduce DNS traffic, name servers caches information on domain name/IP address mappings  When an entry for a query is in the cache, the server does not contact other servers  Note: If an entry is sent from a cache, the reply from the server is marked as “unauthoritative”  Authoritative servers can dictate how long the record is cached using the TTL value

Sample zone file Max. age of cached data in seconds * Start of authority (SOA) record. Means: “This name server is authoritative for the zone Mylab.com” * PC4.mylab.com is the name server * is the address of the person in charge Name server (NS) record. One entry for each authoritative name server Address (A) records. One entry for each hostaddress Slave refresh time Slave retry time Slave expiration time Cache time for RR

Main Points of Lab 8  DNS Configuring a server Queries and responses Caching Hierarchy of the domain name system  Note: You need to download files from web and bring it to the lab

Homework  Prelab 9 due this Friday Please write your own answers!  Lab report 8 due next week before labs