ES 101. Module 3 Domain Name System (DNS). Last Lecture Routing and IP addressing.

Slides:



Advertisements
Similar presentations
Web Server Administration
Advertisements

Web Server Administration Chapter 4 Name Resolution.
Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 13: Troubleshoot TCP/IP.
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.
The Internet Useful Definitions and Concepts About the Internet.
TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Network Protocols Domain Name System (DNS) largely based on slides from D. Comer.
Application Layer At long last we can ask the question - how does the user interface with the network?
Hands-On Microsoft Windows Server 2003 Networking Chapter 6 Domain Name System.
Domain Name System: DNS
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
Naming Names in computer systems are used to share resources, to uniquely identify entities, to refer to locations and so on. An important issue with naming.
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
DOMAIN NAME SYSTEM. Introduction  There are several applications that follow client server paradigm.  The client/server programs can be divided into.
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.
1 Chapter Overview Understanding Windows Name Resolution Using WINS.
Ch25 Ameera Almasoud 1 Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007.
DNS Domain Name Systems Introduction 1. DNS DNS is not needed for the internet to work IP addresses are all that is needed The internet would be extremely.
Windows Server 2008 Chapter 8 Last Update
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
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,
Module 7: Configuring TCP/IP Addressing and Name Resolution.
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.
Name Resolution Domain Name System.
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.
Computer Networks. IP Addresses Before we communicate with a computer on the network we have to be able to identify it. Every computer on a network must.
DNS (Domain Name System) Protocol On the Internet, the DNS associates various sorts of information with domain names. A domain name is a meaningful and.
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.
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.
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.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 2: Configuring Network Protocols.
1 TCP/IP Networking. 2 TCP/IP TCP/IP is the networking protocol suite most commonly used with UNIX, Windows, NT and most other OS’s. TCP/IP defines a.
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.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
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
BZUPAGES.COM. Presented to: Sir. Muizuddin sb Presented by: M.Sheraz Anjum Roll NO Atif Aneaq Roll NO Khurram Shehzad Roll NO Wasif.
Introduction to Active Directory
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.
Domain Name System INTRODUCTION to Eng. Yasser Al-eimad
Windows Vista Configuration MCTS : Advanced Networking.
MAN-IN-THE-MIDDLE ATTACK STEGANOGRAPHY Lab# MAC Addresses and ARP  32-bit IP address:  network-layer address  used to get datagram to destination.
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
CS 372 COMPUTER COMMUNICATION AND NETWORKS
Chapter 25 Domain Name System.
Domain Name System (DNS)
IMPLEMENTING NAME RESOLUTION USING DNS
DNS.
Net 323 D: Networks Protocols
Domain Name System: DNS
Windows Name Resolution
Presentation transcript:

ES 101. Module 3 Domain Name System (DNS)

Last Lecture Routing and IP addressing

This Lecture Domain Name System

Domain Name System History DNS provides host IP address to mnemonic name mapping Originally this was accomplished by a set of configuration files on each client and server –/etc/hosts –/etc/networks These files at first were manually configured by the System Administrator using a text editor –Highly subject to typographical errors

DNS History (cont’d) In the early days of the Internet, the Network Information Center (NIC) maintained a single etc/hosts file, which could be downloaded for host configuration –HOSTS.TXT –ftp’d by all hosts (RFC 952 and 953) The bandwidth consumed by this process is proportional to the square of the number of hosts –Outgoing ftp load on the NIC host was very high –Made worse by the astronomical number of hosts on the Internet

DNS History (cont’d) This situation caused the development of a network-wide, distributed database system which did this host name to IP address mapping –Originally known as Berkeley Internet Domain Server, or BIND –Later renamed to Domain Name System (DNS) We will study the host configuration files to gain insight into the operation of the DNS –Host files are still used for small private networks on both Unix and Microsoft networks

Internet Hosts vs. Time DateNo. Hosts , , > 1.0 Million Million Today????

Internet Names With millions of Hosts on the Internet, how do you easily specify the host that you want to interact with? –IP addresses are very hard to memorize for humans –DNS was developed to provide an easy to remember addressing scheme Originally specified in RFCs 1032, 1033, 1034, and 1035 Checkout the following web site for access to all RFCs:

/etc/hosts File Every computer on a TCP/IP network has an IP address, canonical host name, and zero or more host name aliases The /etc/hosts file is the classical method for mapping IP addresses to host names Format of the hosts file consists of one IP address per line –Note that the address is the local loopback IP address

Host File Example

/etc/networks File Networks and subnets are also named The handling of network address to network name mapping is accomplished by the /etc/networks file

Network File Example

Introduction to DNS DNS is essentially a hierarchical, distributed local hosts database The DNS name provides an easily recognized structure DNS can be conceptually divided into three parts –Domain name space –Name servers –Resolvers Each of these will be discussed in the following charts

Domain Name Space DNS is partitioned into different “Domains” It is organized hierarchically Top level domain names are globally specified Second-level domain names are unique to each organization, and must be registered with via a “registrar” –Domain names are not associated with a location –You can search for a unique name using the “whois” utility of the registrar –When you find no match, the name is available –You can then register the name with a registrar to reserve it

Top Level Domain Names

Fully Qualified Domain Names The highest level of the hierarchical structure (root) is “dot” The proper syntax for a fully qualified domain name includes the trailing period –Standard practice is not to include it, since it is understood

Domain Name Hierarchy

Second Level Domain Names These names are registered by qualified registrars – originally –Many other registrars are now available, for example: Domain Direct ( Each domain is given its own authority to create subdomains –Example: A (sub)domain may contain an entire network, or only parts of a network

Domain Physical Representation

Domain Name Tree The easiest representation of the DNS name is as a “tree” Each domain represents a “branch” of the tree The “leafs” of the tree are individual host machines

DNS Servers The DNS database is distributed among a number of servers –These servers perform the DNS name to IP address mapping –They are referred to as name servers Each domain is responsible for maintaining a minimum of one primary and secondary DNS servers –This function can be subcontracted to others –No single DNS server could hold the database for the entire Internet

DNS Servers (cont’d) DNS servers that are in different locations operate cooperatively to resolve the name to IP address mapping request Distributed databases have the advantage that they are efficient If the names that are accessed most frequently are in a local cache (DNS server), the DNS lookup traffic across the Internet is greatly reduced

DNS Servers (cont’d) Distributed databases are also more reliable than a single machine –One failure cannot “take down” the network

DNS Forwarding If you do not wish to host your own DNS server, you can pay for a service known as “DNS Forwarding” –Typically provided by the registrar What happens is that the registrar maintains the redundant DNS servers The URL of interest is locally controlled by the registrar A table entry is made into the registrar’s DNS database to go to the IP address of a server that is specified by you –This is done by a “control panel” Name resolution requests can then be referred to any IP address on the Internet –Even your dorm PC, assuming that it has a static IP address

Static IP Addresses You may request a “static” IP address from your ISP However, this is becoming more difficult, since ISPs like to manage their own IP address space –This is because IP addresses are in short supply When this is done, your PC requests an IP address from a “Dynamic Host Configuration Protocol” (DHCP) server –Your machine is then assigned an IP address This address “ages” and is changed periodically –However, Vanderbilt does not change this often

Dynamic Address Determination How would you determine your DHCP assigned IP address? –“ipconfig” command –“What’s my IP” web site If your IP address does not change often, you can DNS forward to it –If the IP changes, you simply log onto the registrar’s control panel and repoint the URL to the new IP address

Assignment Those of you willing to spend ~$30/year should register a domain name of your choosing

Web Servers Note that the DNS only points to an IP address A server that hosts many web sites, must still resolve the URL to the proper “index.htm” file for the web site of interest This is done by a local DNS server process that only points to the internal folders –No updates from the Internet –This information is not distributed out to the Internet An example is the Helios server here at Vanderbilt

DNS Name Resolution Each client executes a DNS client software process known as a “(DNS) name resolver” This software communicates with the DNS Server established in the client by the network administrator Name servers are arranged in a tree structure that corresponds to the naming hierarchy Each lower-level server knows what the higher- level servers are by their IP address

DNS Name Server Registration An organization registers for a second-level domain name It is required to provide and maintain a two name servers for that sub-domain –These servers are known as the “Authority Name Servers” for the domain The name server must be linked into the DNS server tree If you use an ISP, you can use their DNS servers.

Name Server Modes Depending on the client request, the name server operates in one of two modes When the resolver queries a name server, the message contains the following information –Name to be resolved –Class code of the name Protocol group to be used, ie. IP, IPX, etc. For IP, the class code is IN –Type of response desired, ie. IP address –Action code that specifies whether the name server should translate the name completely

Object Types DNS servers can be used for multiple functions –Translation of a host name to an IP address –Look up a mail server address This information is differentiated by Object Types –Also known as resource record types

Common DNS Resource Record Types

DNS Query Processing When a domain name server receives a query from a client, it checks to see if the name is within its subdomain –If so, it sends back the information to the resolver If the name server cannot resolve the name completely, it checks the “action code” to see what the client specified –Recursive resolution (complete lookup) –Iterative resolution (non-recursive lookup)

Recursive Resolution Schematic Name server asks for assistance from other higher level name servers

Iterative Resolution Name server generates an error if it cannot resolve the name Client is informed of the name server that it should query next

Non-Recursive Resolution Schematic

Name Caching Name resolution is performed from left to right –Local authority up to higher levels –Most efficient path for name resolution Each name server also keeps a cache of recently resolved names and the mapping information –This information “ages off” the name server It is up to the clientsoftware to decide if the returned information is good enough

Name Resolution Sequence Client queries the name server Name server first checks for local resolution Next checks its name cache to see if the name was recently resolved If found, the name server reports back to the resolver If not, the name server follows the “action code” provided –Recursive resolution –Non-recursive resolution

Next Lecture Basic Network Troubleshooting and Utilities