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.

Slides:



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

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.
Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
The Domain Name System Overview Introduction DNS overview How DNS helps us? Summary.
The Domain Name System. CeylonLinux DNS concepts using BIND 2 Hostnames IP Addresses are great for computers –IP address includes information used for.
20101 The Application Layer Domain Name System Chapter 7.
McGraw-Hill©The McGraw-Hill Companies, Inc., Chapter 25 Domain Name System.
Domain Name System (DNS) Network Information Center (NIC) : HOSTS.TXT.
Application Layer At long last we can ask the question - how does the user interface with the network?
Domain Name System: DNS
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 5 Introduction to DNS in Windows Server 2008.
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.
Presented by Neeta Jain CISC 856 TCP/IP and Upper Layer Protocols RFC 1034 & RFC 1035.
Module 12: Domain Name System (DNS)
DNS Domain Name Service References: Wikipedia 1.
Domain Name Services Oakton Community College CIS 238.
Configuring and Managing the DNS Server Role Lesson 4.
11.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
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.
CN2140 Server II Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
DNS and C# SWE 344 Internet Protocols & Client Server Programming.
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.
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
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 6: Name Resolution.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network, Enhanced Chapter 6: Name Resolution.
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.
Domain Name System. CONTENTS Definitions. DNS Naming Structure. DNS Components. How DNS Servers work. DNS Organizations. Summary.
Deploying a Web Application Presented By: Muhammad Naveed Date:
Netprog: DNS and name lookups1 Address Conversion Functions and The Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
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.
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.
Linux Operations and Administration
Domain Name System (DNS)
Web Server Administration Chapter 4 Name Resolution.
1 CMPT 471 Networking II DNS © Janice Regan,
1. Internet hosts:  IP address (32 bit) - used for addressing datagrams  “name”, e.g., ww.yahoo.com - used by humans DNS: provides translation between.
Domain Name System INTRODUCTION to Eng. Yasser Al-eimad
WHAT IS DNS??????????.
4343 X2 – The Application Layer Tanenbaum Chapter 7.
Basics of the Domain Name System (DNS) By : AMMY- DRISS Mohamed Amine KADDARI Zakaria MAHMOUDI Soufiane Oujda Med I University National College of Applied.
Configuring and Managing the DNS Server Role Lesson 4.
WHAT IS THE DOMAIN NAME SYSTEM (DNS) ?. Overview 1. Introduction to the DNS. 2. How big is the Domain Name System (DNS) ? 3. Components of the DNS. 4.
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.
DNS and Inbound Load Balancing
Understand Names Resolution
Networking Applications
CS 372 COMPUTER COMMUNICATION AND NETWORKS
Chapter 25 Domain Name System.
Principles of Computer Security
IMPLEMENTING NAME RESOLUTION USING DNS
LINUX ADMINISTRATION 1
Configuring and Managing the DNS Server Role
Net 323 D: Networks Protocols
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Computer Networks Primary, Secondary and Root Servers
Apache : Installation, Configuration, Basic Security
Presentation transcript:

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 top Each node has a label –The root node has a null label, written as “”

An Analogy – E.164 Root node maintained by the ITU (call it “+”) Top level nodes = country codes (1, 81, etc) Second level nodes = regional codes (1-402, 81-3, etc.)

Domain Names A domain name is the sequence of labels from a node to the root, separated by dots (“.”s), read left to right –The name space has a maximum depth of 127 levels –Domain names are limited to 255 characters in length A node’s domain name identifies its position in the name space

Subdomains One domain is a subdomain of another if its domain name ends in the other’s domain name –So sales.nominum.com is a subdomain of nominum.com & com –nominum.com is a subdomain of com

Delegation Administrators can create subdomains to group hosts –According to geography, organizational affiliation etc. An administrator of a domain can delegate responsibility for managing a subdomain to someone else The parent domain retains links to the delegated subdomains

Delegation Creates Zones Each time an administrator delegates a subdomain, a new unit of administration is created –The subdomain and its parent domain can now be administered independently –These units are called zones –The boundary between zones is a point of delegation in the name space Delegation is good: it is the key to scalability

Dividing a Domain into Zones nominum.com domain nominum.com zone ams.nominum.com zone rwc.nominum.com zone

Overview Introduction to the DNS DNS Components –The name space –The servers –The resolvers DNS Structure and Hierarchy The DNS in Context

Name Servers Name servers store information about the name space in units called “zones” –The name servers that load a complete zone are said to “have authority for” or “be authoritative for” the zone Usually, more than one name server are authoritative for the same zone –This ensures redundancy and spreads the load Also, a single name server may be authoritative for many zones

Name Servers and Zones nominum.com Name Servers isc.org Zones serves data for both nominum.com and isc.org zones serves data for nominum.com zone only serves data for isc.org zone only

Types of Name Servers Two main types of servers –Authoritative – maintains the data Master – where the data is edited Slave – where data is replicated to –Caching – stores data obtained from an authoritative server No special hardware necessary

Name Server Architecture You can think of a name server as part of: –database server, answering queries about the parts of the name space it knows about (i.e., is authoritative for), –cache, temporarily storing data it learns from other name servers, and –agent, helping resolvers and other name servers find data

Name Server Architecture Master server Zone transfer Zone data file From disk Authoritative Data (primary master and slave zones) Agent (looks up queries on behalf of resolvers) Cache Data (responses from other name servers) Name Server Process

Authoritative Data Resolver Query Response Authoritative Data (primary master and slave zones) Agent (looks up queries on behalf of resolvers) Cache Data (responses from other name servers) Name Server Process

Using Other Name Servers Another name server Response Resolver Query Authoritative Data (primary master and slave zones) Agent (looks up queries on behalf of resolvers) Cache Data (responses from other name servers) Name Server Process Response

Cached Data Query Response Authoritative Data (primary master and slave zones) Agent (looks up queries on behalf of resolvers) Cache Data (responses from other name servers) Name Server Process Resolver

Overview Introduction to the DNS DNS Components –The name space –The servers –The resolvers DNS Structure and Hierarchy The DNS in Context

Name Resolution Name resolution is the process by which resolvers and name servers cooperate to find data in the name space Closure mechanism for DNS? –Starting point: the names and IP addresses of the name servers for the root zone (the “root name servers”) –The root name servers know about the top-level zones and can tell name servers whom to contact for all TLDs

Name Resolution A DNS query has three parameters: –A domain name (e.g., Remember, every node has a domain name! –A class (e.g., IN), and –A type (e.g., A) – Upon receiving a query from a resolver, a name server –1) looks for the answer in its authoritative data and its cache –2) If step 1 fails, the answer must be looked up

ping The Resolution Process Let’s look at the resolution process step-by- step: annie.west.sprockets.com

What’s the IP address of The Resolution Process The workstation annie asks its configured name server, dakota, for address ping annie.west.sprockets.com dakota.west.sprockets.com

The Resolution Process The name server dakota asks a root name server, m, for address ping annie.west.sprockets.com m.root-servers.net dakota.west.sprockets.com What’s the IP address of

The Resolution Process The root server m refers dakota to the com name servers This type of response is called a “referral” ping annie.west.sprockets.com m.root-servers.net dakota.west.sprockets.com Here’s a list of the com name servers. Ask one of them.

The Resolution Process The name server dakota asks a com name server, f, for address ping annie.west.sprockets.com m.root-servers.net dakota.west.sprockets.com What’s the IP address of f.gtld-servers.net

The Resolution Process The com name server f refers dakota to the nominum.com name servers ping annie.west.sprockets.com f.gtld-servers.net m.root-servers.net dakota.west.sprockets.com Here’s a list of the nominum.com name servers. Ask one of them.

The Resolution Process The name server dakota asks a nominum.com name server, ns1.sanjose, for address ping annie.west.sprockets.com f.gtld-servers.net m.root-servers.net dakota.west.sprockets.com ns1.sanjose.nominum.net What’s the IP address of

The Resolution Process The nominum.com name server ns1.sanjose responds with address ping annie.west.sprockets.com f.gtld-servers.net m.root-servers.net dakota.west.sprockets.com ns1.sanjose.nominum.net Here’s the IP address for

The Resolution Process The name server dakota responds to annie with address ping annie.west.sprockets.com f.gtld-servers.net m.root-servers.net dakota.west.sprockets.com ns1.sanjose.nominum.net

ping ftp.nominum.com. Resolution Process (Caching) After the previous query, the name server dakota now knows: –The names and IP addresses of the com name servers –The names and IP addresses of the nominum.com name servers –The IP address of Let’s look at the resolution process again annie.west.sprockets.com

ping ftp.nominum.com. What’s the IP address of ftp.nominum.com? Resolution Process (Caching) The workstation annie asks its configured name server, dakota, for ftp.nominum.com’s address annie.west.sprockets.com f.gtld-servers.net m.root-servers.net dakota.west.sprockets.com ns1.sanjose.nominum.net

ping ftp.nominum.com. What’s the IP address of ftp.nominum.com? Resolution Process (Caching) dakota has cached a NS record indicating ns1.sanjose is an nominum.com name server, so it asks it for ftp.nominum.com’s address annie.west.sprockets.com f.gtld-servers.net m.root-servers.net dakota.west.sprockets.com ns1.sanjose.nominum.net

ping ftp.nominum.com. Here’s the IP address for ftp.nominum.com Resolution Process (Caching) The nominum.com name server ns1.sanjose responds with ftp.nominum.com’s address annie.west.sprockets.com f.gtld-servers.net m.root-servers.net dakota.west.sprockets.com ns1.sanjose.nominum.net

ping ftp.nominum.com. Here’s the IP address for ftp.nominum.com Resolution Process (Caching) The name server dakota responds to annie with ftp.nominum.com’s address annie.west.sprockets.com f.gtld-servers.net m.root-servers.net dakota.west.sprockets.com ns1.sanjose.nominum.net

DNS Records Explained DNS records are basically mapping files that tell the DNS server which IP address each domain is associated with, and how to handle requests sent to each domain. When someone visits a web site, a request is sent to the DNS server and then forwarded to the web server provided by a web hosting company, which contain the data contained on the site. Various strings of letters are used as commands that dictate the actions of the DNS server, and these strings of commands are called DNS syntax. Some DNS records syntax that are commonly used in nearly all DNS record configurations are A, AAAA, CNAME, MX, PTR, NS, SOA, SRV, TXT, and NAPTR. The following paragraph details the meaning and usage of each of these syntax.

DNS Syntax Types Explained An “A” record, which stands for “address” is the most basic type of syntax used in DNS records, indicating the actual IP address of the domain. The “AAAA” record is an IPV6 address record that maps a hostname to a 128-bit Ipv6 address. Regular DNS addresses are mapped for 32-bit IPv4 addresses. The “CNAME” record stands for “canonical name” and serves to make one domain an alias of another domain. CNAME is often used to associate new subdomains with an existing domain's DNS records. The “MX” record stands for “mail exchange” and is basically a list of mail exchange servers that are to be used for the domain. The “PTR” record stands for “pointer record” and maps an Ipv4 address to the CNAME on the host.

The “NS” record stands for “name server” and indicates which Name Server is authoritative for the domain. An “SOA” record stands for “State of Authority” and is easily one of the most essential DSN records because it stores important information like when the domain was last updated and much more. An “SRV” record stands for “service” and is used to define a TCP service on which the domain operates. A “TXT” record lets the administrator insert any text they'd like into the DNS record, and it is often used for denoting facts about the domain.

Conclusion DNS records are an important, yet unseen aspect of how the internet works. If you're studying internet technology or training to become a server administrator, you will definitely need to learn more information about all of the aforementioned DNS record types and their uses.

Questions?