1. Domain Name System



Similar documents
19 Domain Name System (DNS)

Chapter 25 Domain Name System Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Domain Name System Submitted in partial fulfillment of the requirement for the award of degree of Computer Science

DNS Domain Name System

Domain Name System (DNS)

Domain Name System CHAPTER 25. Figure 25.1

Domain Name System. DNS is an example of a large scale client-server application. Copyright 2014 Jim Martin

Forouzan: Chapter 17. Domain Name System (DNS)

Internetworking with TCP/IP Unit 10. Domain Name System

Domain Name System. CS 571 Fall , Kenneth L. Calvert University of Kentucky, USA All rights reserved

THE DOMAIN NAME SYSTEM DNS

The Domain Name System

Domain Name System Richard T. B. Ma

Chapter 23 The Domain Name System (DNS)

Lecture 2 CS An example of a middleware service: DNS Domain Name System

Teldat Router. DNS Client

Application Note. SIP Domain Management

Understand Names Resolution

The Domain Name System (DNS) Jason Hermance Nerces Kazandjian Long-Quan Nguyen

Introduction to the Domain Name System

INTERNET DOMAIN NAME SYSTEM

Motivation. Domain Name System (DNS) Flat Namespace. Hierarchical Namespace

IP Phone Presence Setup

Names & Addresses. Names & Addresses. Names vs. Addresses. Identity. Names vs. Addresses. CS 194: Distributed Systems: Naming

Installing and Setting up Microsoft DNS Server

DNS Domain Name System

Application Protocols in the TCP/IP Reference Model

How to Configure the Windows DNS Server

Implementing Domain Name Service (DNS)

Domain Name Resolver (DNR) Configuration

Domain Name System (DNS)

Application Protocols in the TCP/IP Reference Model. Application Protocols in the TCP/IP Reference Model. DNS - Concept. DNS - Domain Name System

How to Add Domains and DNS Records

DNS : Domain Name System

Understanding DNS (the Domain Name System)

Outline. Definition. Name spaces Name resolution Example: The Domain Name System Example: X.500, LDAP. Names, Identifiers and Addresses

Domain Name Service (DNS) Training Division, NIC New Delhi

Domain Name Server. Training Division National Informatics Centre New Delhi

Configuring Sponsor Authentication

The Domain Name System (DNS)

Automated domain name registration: DNS background information

The Domain Name System (DNS)

DNS & IPv6. Agenda 4/14/2009. MENOG4, 8-9 April Raed Al-Fayez SaudiNIC CITC rfayez@citc.gov.sa, DNS & IPv6.

DNS and issues in connecting UNINET-ZA to the Internet

Integrating PISTON OPENSTACK 3.0 with Microsoft Active Directory

Classifying DNS Heavy User Traffic by using Hierarchical Aggregate Entropy. 2012/3/5 Keisuke Ishibashi, Kazumichi Sato NTT Service Integration Labs

Introduction to DNS CHAPTER 5. In This Chapter

2 HDE Controller X DNS Server Manual

ICS 351: Today's plan. DNS WiFi

Computer Networks Prof. S. Ghosh Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture - 34 DNS & Directory

Use Domain Name System and IP Version 6

Domain Name Auto-Registration for Plugged-in IPv6 Nodes. <draft-kitamura-ipv6-name-auto-reg-00.txt>

Hostnames. HOSTS.TXT was a bottleneck. Once there was HOSTS.TXT. CSCE515 Computer Network Programming. Hierarchical Organization of DNS

Fig 1A portion of the Internet domain name space.

DHCP and DNS Protocols

Network Layers. CSC358 - Introduction to Computer Networks

Networking Domain Name System

- Domain Name System -

It should be noted that the installer will delete any existing partitions on your disk in order to install the software required to use BLËSK.

Domain Name System. Heng Sovannarith

Configuring and Using the TMM with LDAP / Active Directory

CS 348: Computer Networks. - DNS; 22 nd Oct Instructor: Sridhar Iyer IIT Bombay

Appendix D: Configuring Firewalls and Network Address Translation

1. INTRODUCTION TO RDBMS

Detecting Search Lists in Authoritative DNS

How to speed up IDENTIKEY DNS lookup of the Windows Logon DAWL client on Windows 7?

Names vs. Addresses. Flat vs. Hierarchical Space. Domain Name System (DNS) Computer Networks. Lecture 5: Domain Name System

ni6 v1.3 manual pages

Subverting BIND s SRTT algorithm Derandomizing NS selection

Module 4: Resolving Host Names by Using Domain Name System

Domain Name System :49:44 UTC Citrix Systems, Inc. All rights reserved. Terms of Use Trademarks Privacy Statement

DNS Root NameServers

The Domain Name System

KB Windows 2000 DNS Event Messages 1 Through 1614

Application. Transport. Network. Data Link. Physical. Network Layers. Goal

The Domain Name System

ECE 4321 Computer Networks. Network Programming

DNS. The Root Name Servers. DNS Hierarchy. Computer System Security and Management SMD139. Root name server. .se name server. .

Coordinación. The background image of the cover is desgned by GUIDE TO DNS SECURITY 2

DNS. Computer Networks. Seminar 12

Networking Domain Name System

1 DNS Packet Structure

2- Electronic Mail (SMTP), File Transfer (FTP), & Remote Logging (TELNET)

Naming. Name Service. Why Name Services? Mappings. and related concepts

Presented by Greg Lindsay Technical Writer Windows Server Information Experience. Presented at: Seattle Windows Networking User Group April 7, 2010

Computer Networks: Domain Name System

DNS Conformance Test Specification For Client

Protection of DNS using HAVAL

The Application Layer. CS158a Chris Pollett May 9, 2007.

An XML Based Data Exchange Model for Power System Studies

2- Electronic Mail (SMTP), File Transfer (FTP), & Remote Logging (TELNET)

Copyright International Business Machines Corporation All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure

Lightweight DNS for Multipurpose and Multifunctional Devices

LDAP Directory Integration with Cisco Unity Connection

Basic DNS Course. Module 1. DNS Theory. Ron Aitchison ZYTRAX, Inc. Page 1 of 24

Distributed Systems. 09. Naming. Paul Krzyzanowski. Rutgers University. Fall 2015

November X.500 and Domains

Application Layer. CMPT Application Layer 1. Required Reading: Chapter 2 of the text book. Outline of Chapter 2

SMTP-32 Library. Simple Mail Transfer Protocol Dynamic Link Library for Microsoft Windows. Version 5.2

More Internet Support Protocols

Transcription:

1.1 Domain Name System (DNS) 1. Domain Name System To identify an entity, the Internet uses 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. When the Internet was small, mapping was done using a host file. The host file had only two columns: one for the name and one for the address. Every host could store the host file on its disk and update it periodically from a master host file. When a program or user wanted to map a name to an address, the host consulted the host file and found the mapping. Today, it is impossible to have one single host file relate every address to a name, and vice versa. The host file would be too large to store in every host. In addition, it would be impossible to update all the host files in the world every time there is a change. One solution would be to store the entire host file in a single computer and allow access to this centralized information to every computer that needs a mapping, but we know that this would create a huge amount of traffic on the Internet. Another solution, the one used today, is to divide this huge amount of information into smaller parts and store each part on a different computer. In this method, the host that needs mapping can contact the closest computer holding the needed information. This method is used by the Domain Name System (DNS). 1.2 Name Space The names assigned to machines must be carefully selected from a name space with complete control over the binding between the names and IP addresses. The names must be unique because the addresses are unique. A name space that maps each address to a unique name can be organized in two ways: flat or hierarchical. 1.3 Flat Name Space In a flat name space, a name is assigned to an address. A name in this space is a sequence of characters without structure. The names may or may not have a common section; if they do, it has no meaning. The main disadvantage of a flat name space is that it cannot be used in a large system such as the Internet because it must be centrally controlled to avoid ambiguity and duplication. 1

1.4 Hierarchical Name Space In a 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, the third part can define departments, and so no. In this case, the authority to assign and control the name spaces can be decentralized. A central authority can assign the part of the name that defines the nature of the organization and the name. The responsibility for the rest of the name can be given to the organization itself. Suffixes can be added to the name to define host or resources. The management of the organization need not worry that the prefix chosen for a host is taken by another organization because even if part of an address is the same, the whole address is different. For example, assume two colleges and a company call one of their computers challenger, the first college is given a name by the central authority such as fhda.edu, the second college is given the name berkeley.edu, and the company is given the name smart.com. When these organizations add the name challenger to the name they have already been given, the end result is three distinguishable names: challenger.fhda.edu, challenger.berkeley.edu, and challenger.smart.com. The central authority controls only part of the name, not the whole name. 1.5 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. Whereas the root glues the whole tree together, each level of the tree defines a hierarchical level (see Fig. 1). 1.6 Label Each node in the tree has a label, which is a string with a maximum of 63 characters. The root label is a null string (empty string). DNS requires that children of a node (nodes that branch from the same node) have different labels, which guarantees the uniqueness of the domain names. Fig. 1.1 Domain Name Space 2

1.7 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. The last label is the label of the root (null). This means that a full domain name always ends in a null label, which means the last character is a dot because the null string is nothing. Fig.2 shows some domain names. Fig.1.2 Domain Names and Labels 1.7.1 Full Qualified Domain Name (FQDN) If a label is terminated by a null string, it is called a fully qualified domain name (FQDN). 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, that uniquely define the name of the host. challenger.atc.fhda.edu. For example, the domain name is the FQDN of a computer named challenger and installed at the Advanced Technology Center (ATC) at De Anza College. A DNS server can only match an FQDN to an address. Note that the name must end with a null label, but because null here means nothing, the label ends with a dot (.). 3

1.7.2 Partially Qualified Domain Name (PQDN) If a label is not terminated by a null string, it is called a partial qualified domain name (PQDN). 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. Here the resolver can supply the missing part, called the suffix, to create an FQDN. For example, if a user at the fhda.edu. site wants to get the IP address of the challenger computer, he or she can define the partial name Challenger The DNS client adds the suffix atc.fhda.edu. before passing the address to the DNS server. The DNS client normally holds a list of suffixes. The following can be some of the list of suffixes at De Anza College. Fig. 3 shows some FQDNs and PQDN Fig.1.3 FQDN and PQDN 1.8 Domain A domain is a subtree of the domain name space. The name of the domain is the domain name of the node at the top of the subtree. Fig.4 shows some domains. Fig.1.4 Domains 4

1.9 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 inverse domain as in Fig.5. Fig.1.5 DNS In The Internet 1.9.1 Generic Domains The generic domains 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 as in Fig.6. The first level in the generic domains section allows seven possible three-character labels describing the organization types as shown in table 1. Recently a few first level labels have been approved as shown in table 2. Fig.1.6 Generic Domains 5

Table 1.1 Generic Domain Labels 1.9.2 Country Domains Table 1.2 New Generic Domain Labels The country domains section uses two-character country abbreviations (e.g., iq for Iraq). Fig.7 shows the country domains section. Fig.1.7 Country domains 6

1.9.3 Inverse DomainThe inverse domain is used to map an address to a name. 1.10 Mapping Names to Addresses Most of the time, 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 is from the generic domains section, the resolver receives a domain name such as tech.atc.edu, if the domain name is from the country domains section, the resolver receives a domain name such as tech.atc.iq. 1.11 Mapping Addresses to Names A client can send an IP address to a server to be mapped to a domain name. This is called pointer query (PTR). Here DNS uses the inverse domain. 1.12 DNS Messages DNS has two types of messages: query and response. Both types have the same format. The query message consists of a header and the question records; the response message consists of a header, question records, answer records, authoritative records, and additional records as in Fig.8. Fig.1.8 Query and response messages 7