DOMAIN NAME SYSTEM. Introduction  There are several applications that follow client server paradigm.  The client/server programs can be divided into.

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

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.
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.
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.
TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Network Protocols Domain Name System (DNS) largely based on slides from D. Comer.
McGraw-Hill©The McGraw-Hill Companies, Inc., Chapter 25 Domain Name System.
Application Layer At long last we can ask the question - how does the user interface with the network?
Domain Name System: DNS
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.
DNS. Outline r Domain Name System r DNS Hierarchy r Resolution.
Chapter 25 Domain Name System
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.
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.
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.
Domain names and IP addresses Resolver and name server DNS Name hierarchy Domain name system Domain names Top-level domains Hierarchy of name servers.
Chapter 31 - Naming with the Domain Name System IP addresses vs. symbolic names Structure of Computer names DNS naming structure DNS server hierarchy An.
Example applications Symbolic names and the Domain Name System (DNS)
COMP210 DNS Module Domain Name Service Dr Ahmad Al-Zubi.
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
1 Application Layer Lecture 6 Imran Ahmed University of Management & Technology.
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Computer Communication & Networks Lecture 26 Application Layer: Domain Name System Waleed Ejaz.
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.
Domain Name System CH 25 Aseel Alturki
DNS & BIND Chapter 24. This Chapter DNS Overview.
1 Kyung Hee University Chapter 18 Domain Name System.
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)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 18 Domain Name System (DNS)
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)
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.
Basics of the Domain Name System (DNS) By : AMMY- DRISS Mohamed Amine KADDARI Zakaria MAHMOUDI Soufiane Oujda Med I University National College of Applied.
Lec- 26 Domain Name System (DNS) Muhammad Waseem Iqbal.
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.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Internet Protocol Version4 (IPv4)
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.
System Administration(SAD622S) Name of Presenter: Shadreck Chitauro Lecturer 18 July 2016 Faculty of Computing and Informatics.
Understand Names Resolution
Networking Applications
CS 372 COMPUTER COMMUNICATION AND NETWORKS
Application layer Lecture 7.
Chapter 25 Domain Name System.
DNS By: Muhammad Hanif.
Domain Name System (DNS)
Net 323 D: Networks Protocols
Chapter 19 Domain Name System (DNS)
Subject Name: Computer Communication Networks Subject Code: 10EC71
EE 122: Domain Name Server (DNS)
Application layer Lecture 7.
Chapter 25 Domain Name System
Chapter 25 Domain Name System
Domain Name System: DNS
COMPUTER NETWORKS PRESENTATION
Computer Networks Primary, Secondary and Root Servers
Computer Networks Presentation
Q/ Compare between HTTP & HTTPS? HTTP HTTPS
Presentation transcript:

DOMAIN NAME SYSTEM

Introduction  There are several applications that follow client server paradigm.  The client/server programs can be divided into two categories:  Those that can be directly used by the user, such as e- mail.  and those that support other application programs. The Domain Name System (DNS) is a supporting program that is used by other programs such as .

Introduction  A user of an program may know the address of the recipient; however, the IP protocol needs the IP address.  The DNS client program sends a request to a DNS server to map the address to the corresponding IP address.

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.  However, people prefer to use names instead of numeric addresses.  Therefore, we need a system that can map a name to an address or an address to a name.

Design of Mapping  Local host file:  When the Internet was small, mapping was done by using a host file. The host file had only two columns: name and address.  Centralized host file:  Store the entire host file in a single computer and allow access to this centralized information to every computer that needs mapping.  Domain name system (DNS):  Divide this huge amount of information into smaller parts and store each part on a different computer.  The host that needs mapping can contact the closest computer holding the needed information.

Name Space  To be unambiguous, the names assigned to machines must be carefully selected from a name space.  A name space that maps each address to a unique name can be organized in two ways: flat or hierarchical.

Flat Name Space  A name in this space is a sequence of characters without structure.  The names may or may not have a common section.  The main disadvantage of a fiat name space is:  It cannot be used in a large system such as the Internet  because it must be centrally controlled to avoid duplication.

Hierarchical Name Space  Each name is made of several parts.  The first part can define the nature of the organization. The second part can define the name of an organization. The third part can define departments in the organization, and so on.  The authority to assign and control the name spaces can be decentralized.

Example  Three organizations assign the name worker to one of their computers:     The names are unique without the need for assignment by a central authority.  The central authority controls only part of the name, not the whole.

Domain Name Space  To have a hierarchical name space, a domain name space was designed. In this design the names are defined in an inverted-tree structure with the root at the top. The tree can have only 128 levels: level 0 (root) to level 127.

Domain Name

Domain Name Space  Label :  Each node in the tree has a label, which is a string with a maximum of 63 characters.  Domain Name  Each node in the tree has a domain name. A full domain name is a sequence of labels separated by dots (.).  The domain names are always read from the node up to the root.

Domain Names and Labels

Domain Name Space  Fully Qualified Domain Name:  An FQDN is a domain name that contains the full name of a host. It contains all labels, from the most specific to the most general.  Example: challenger.ate.tbda.edu.  Partially Qualified Domain Name:  A PQDN starts from a node, but it does not reach the root. It is used when the name to be resolved belongs to the same site as the client.

Distribution of Name Space  Information contained in the domain name space must be stored.  However, it is very inefficient and also unreliable to have just one computer store such a huge amount of information.  It is inefficient because responding to requests from all over the world places a heavy load on the system.  It is not unreliable because any failure makes the data inaccessible.

Hierarchy of Name Servers  The solution is to distribute the information among many computers called DNS servers.  One way to do this is to divide the whole space into many domains based on the first level.  Domain Name Servers allows domains to be divided further into smaller domains (sub-domains), and each server can be responsible (authoritative) for its sub-domain.

Hierarchy of Domain Server

DNS in The Internet  DNS is a protocol that can be used in different platforms. In the Internet.  The domain name space (tree) is divided into three different sections: generic domains, country domains, and the inverse domain.

DNS In The Internet

Generic/Country Domains  Generic Domains  It define registered hosts according to their generic behavior.  Each node in the tree defines a domain, which is an index to the domain name space database.  Country Domains  The country domains section uses two-character country abbreviations (e.g., us for United States).

Generic Domains

Generic Domain Labels

Resolution  Mapping a name to an address or an address to a name is called name-address resolution.  Resolver:  DNS is designed as a client/server application.  A host that needs to map a name to an address calls a DNS client called a resolver.  The resolver accesses the closest DNS server with a mapping request.  If the server has the information, it satisfies the resolver; otherwise, it either refers the resolver to other servers or asks other servers to provide the information.

Mapping Names to Addresses  The resolver gives a domain name to the server and asks for the corresponding address. In this case, the server checks the generic domains or the country domains to find the mapping.  If the domain name is from the generic domains section, the resolver receives a domain name such as "chal.atc.jhda.edu.".  The query is sent by the resolver to the local DNS server for resolution.  If the local server cannot resolve the query, it either refers the resolver to other servers or asks other servers directly.  If the domain name is from the country domains section, the resolver receives a domain name such as "ch.jhda.cu.ca.us.". The procedure is the same

Recursive Resolution

Iterative Resolution