The Domain Name System. Computer Center, CS, NCTU 2 History of DNS  Before DNS ARPAnet  HOSTS.txt contains all the hosts’ information  Maintained by.

Slides:



Advertisements
Similar presentations
2.1 Installing the DNS Server Role Overview of the Domain Name System Role Overview of the DNS Namespace DNS Improvements for Windows Server 2008 Considerations.
Advertisements

SENG2220 Web Development II Mohammed A. Saleh 29 th October
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.
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.
70-294: MCSE Guide to Microsoft Windows Server 2003 Active Directory, Enhanced Chapter 2: Name Resolution and DNS.
COS 420 DAY 23. Agenda Assignment 4 Corrected 2 B’s Assignment 5 posted Chap Due May 4 Final exam will be take home and handed out May 4 and Due.
McGraw-Hill©The McGraw-Hill Companies, Inc., Chapter 25 Domain Name System.
Domain Name System (DNS) Network Information Center (NIC) : HOSTS.TXT.
Hands-On Microsoft Windows Server 2003 Networking Chapter 6 Domain Name System.
The Domain Name System (DNS) J. C. Allen March 14, 2004.
The Domain Name System Unix System Administration Download PowerPoint Presentation.
COMS/CSEE 4140 Networking Laboratory Lecture 09 Salman Abdul Baset Spring 2008.
W4140 Network Laboratory Lecture 11 Nov 27 - Fall 2006 Shlomo Hershkop Columbia University.
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.
CompSci 356: Computer Network Architectures Lecture 20: Domain Name System and Content distribution networks Chapter Xiaowei Yang
Domain Name System ( DNS )  DNS is the system that provides name to address mapping for the internet.
Chapter 25 Domain Name System
The Domain Name System (DNS)
DNS Domain Name Service References: Wikipedia 1.
Domain Name Services Oakton Community College CIS 238.
The Domain Name System Presented by: Baolan Bo Bo Liangzhen LiangzhenShuguangWeihuaYujun Instructor: Dr. Sharon P. Hall.
Name Resolution and DNS. Domain names and IP addresses r People prefer to use easy-to-remember names instead of IP addresses r Domain names are alphanumeric.
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)
DNS. Introduction What is DNS? –Hierarchy or Tree –Dot used as a separator.
Domain Name Service (DNS) at Colorado State University
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.
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.
Arthur Harris Gennadiy Kofman James Mendoza Domain Name System.
Domain Name System (DNS)
Module 5: Planning a DNS Strategy. Overview Planning DNS Servers Planning a Namespace Planning Zones Planning Zone Replication and Delegation Integrating.
Chapter 17 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.
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.
Chapter 16 – The Domain Name System (DNS) Presented by Shari Holstege Tuesday, June 18, 2002.
Lecture – DNS How to find things…. Domain Name System Associate human-friendly names with machine- friendly IP addresses Resolution of a given hostname.
Pharming Group 10: Phuc H. Dao Anita Lugonja. Motivation To give students an opportunity to learn about DNS poisoning To give students an opportunity.
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.
Domain Name System (DNS). DNS Server Service Overview of Domain Name System What Is a Domain Namespace? Standards for DNS Naming.
1 Internet Network Services. 2 Module - Internet Network Services ♦ Overview This module focuses on configuring and customizing the servers on the network.
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.
Domain Name System (DNS)
UsTLD Stakeholders Council Bryan Britt Beltane Web Services Delegated Domain Manager since 1996 ~500 Domain Delegations.
AfNOG-2003 Domain Name System (DNS) Ayitey Bulley
Web Server Administration Chapter 4 Name Resolution.
1 CMPT 471 Networking II DNS © Janice Regan,
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 25 Domain Name System.
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.
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 DPNM Lab. Seongho Cho
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.
Module 5: Resolving Host Names by Using Domain Name System (DNS)
IMPLEMENTING NAME RESOLUTION USING DNS
DNS.
Net 323 D: Networks Protocols
The Domain Name System.
Presentation transcript:

The Domain Name System

Computer Center, CS, NCTU 2 History of DNS  Before DNS ARPAnet  HOSTS.txt contains all the hosts’ information  Maintained by SRI’s Network Information Center –In SRI-NIC host Problems: Not scalable!  Traffic and Load  Name Collision  Consistency  Domain Name System Administration decentralization 1984  Paul Mockapetris (University of Southern California)  RFC 882, 883  1034, 1035 –1034: Concepts –1035: Implementation and Specification RFC Sourcebook:

Computer Center, CS, NCTU 3 DNS Introduction – DNS Specification  Make domain name system as Tree architecture  Each subtree  “domain”  Domain can be divided in to “subdomain” Distributed database  Each site maintains segment of DB  Each site open self information via network Client-Server architecture  Name servers provide information (Name Server)  Clients make queries to server (Resolver)

Computer Center, CS, NCTU 4 DNS Introduction – Domain and Subdomain  DNS Namespace A tree of domains  Domain and subdomain Each domain has a “domain name” to identify its position in database  EX: nctu.edu.tw  EX: cs.nctu.edu.tw domain subdomain

Computer Center, CS, NCTU 5 The DNS Namespace (1)  A inverted tree (Rooted tree) Root with label “.”  Domain level Top-level or First level  Child of the root Second-level  Child of a First-level domain  Domain name limitation 63-characters in each component and Up to 255-characters in a complete name

Computer Center, CS, NCTU 6 The DNS Namespace (2)  gTLDs generic Top-Level Domains, including: com:commercial organization, such as ibm.com edu:educational organization, such as purdue.edu gov:government organization, such as nasa.gov mil:military organization, such as navy.mil net:network infrastructure providing organization, such as hinet.net org:noncommercial organization, such as x11.org int:International organization, such as nato.int ICANN – Internet Corporation for Assigned Names and Numbers

Computer Center, CS, NCTU 7 The DNS Namespace (3)  New gTLDs launched in year 2000: aero:for air-transport industry biz:for business coop:for cooperatives info:for all uses museum:for museum name:for individuals pro:for professionals

Computer Center, CS, NCTU 8 The DNS Namespace (4)  Other than US, ccTLD country code TLD (ISO 3166)  Taiwan  tw  Japan  jp Follow or not follow US-like scheme  US-like scheme example –edu.tw, com.tw, gov.tw  Other scheme –co.jp, ac.jp

Computer Center, CS, NCTU 9 DNS Namespace (5)

Computer Center, CS, NCTU 10 How DNS Works – DNS Delegation  Administration delegation Each domain can delegate responsibility to subdomain

Computer Center, CS, NCTU 11  Recursive query process Ex: query lair.cs.colorado.edu  vangogh.cs.berkeley.edu, name server “ns.cs.colorado.edu” has no cache data How DNS Works – DNS query process

Computer Center, CS, NCTU 12 DNS Delegation – Administrated Zone  Zone Autonomously administered piece of namespace  Once the subdomain becomes a zone, it is independent to it ’ s parent –Even parent contains NS’s A record

Computer Center, CS, NCTU 13 DNS Delegation – Administrated Zone  Zone Autonomously administered piece of namespace  Two kinds of zone files Forward Zone files  Hostname-to-Address mapping  Ex: –bsd1 IN A Reverse Zone files  Address-to-Hostname mapping  Ex: – IN PTR bsd1.cs.nctu.edu.tw. Forward zone is necessary

Computer Center, CS, NCTU 14 The Name Server Taxonomy (1)  Categories of name servers Based on a name server’s source of data  Authoritative: official representative of a zone –Master: get zone data from disk –Slave: copy zone data from master  Nonauthoritative: answer a query from cache –caching: cashes data from previous queries Based on the type of data saved  Stub: a slave that copy only name server data (no host data) Based on the type of answers handed out  Recursive: do query for you until it return an answer or error  Nonrecursive: refer you to the authoritative server Based on the query path  Forwarder: performs queries on behalf of many clients with large cache

Computer Center, CS, NCTU 15 The Name Server Taxonomy (2)  Nonrecursive referral Hierarchical and longest known domain referral with cache data of other zone’s name servers’ addresses Ex:  Query lair.cs.colorado.edu from a nonrecursive server  Whether cache has –Name servers of cs.colorado.edu, colorado.edu, edu, root The resolver libraries do not understand referrals mostly. They expect the local name server to be recursive

Computer Center, CS, NCTU 16 The Name Server Taxonomy (3)  Caching Positive cache Negative cache  No host or domain matches the name queried  The type of data requested does not exist for this host  The server to ask is not responding  The server is unreachable of network problem  Negative cache 60% DNS queries are failed To reduce the load of root servers, the authoritative negative answers must be cached

Computer Center, CS, NCTU 17 The Name Server Taxonomy (4)  Caching and forwarder DNS server

Computer Center, CS, NCTU 18  How to arrange your DNS servers? Ex: The Name Server Taxonomy (5)

Computer Center, CS, NCTU 19 The Name Server Taxonomy (6)  Root name servers List in named.root file of BIND IN NS A.ROOT-SERVERS.NET. A.ROOT-SERVERS.NET A NS B.ROOT-SERVERS.NET. B.ROOT-SERVERS.NET A NS C.ROOT-SERVERS.NET. C.ROOT-SERVERS.NET A NS D.ROOT-SERVERS.NET. D.ROOT-SERVERS.NET A NS E.ROOT-SERVERS.NET. E.ROOT-SERVERS.NET A NS F.ROOT-SERVERS.NET. F.ROOT-SERVERS.NET A NS G.ROOT-SERVERS.NET. G.ROOT-SERVERS.NET A NS H.ROOT-SERVERS.NET. H.ROOT-SERVERS.NET A NS I.ROOT-SERVERS.NET. I.ROOT-SERVERS.NET A NS J.ROOT-SERVERS.NET. J.ROOT-SERVERS.NET A NS K.ROOT-SERVERS.NET. K.ROOT-SERVERS.NET A NS L.ROOT-SERVERS.NET. L.ROOT-SERVERS.NET A NS M.ROOT-SERVERS.NET. M.ROOT-SERVERS.NET A

Computer Center, CS, NCTU 20 DNS Client  /etc/resolv.conf nameserver, domain, search  /etc/hosts