Domain Name Systems Introduction

Slides:



Advertisements
Similar presentations
Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
Advertisements

The Domain Name System. CeylonLinux DNS concepts using BIND 2 Hostnames IP Addresses are great for computers –IP address includes information used for.
Application Layer At long last we can ask the question - how does the user interface with the network?
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)
1 DNS,NFS & RPC Rizwan Rehman, CCS, DU. Netprog: DNS and name lookups 2 Hostnames IP Addresses are great for computers –IP address includes information.
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.
Domain Name Services Oakton Community College CIS 238.
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.
Host Name Resolution. Overview Name resolution Name resolution Addressing a host Addressing a host Host names Host names Host name resolution Host name.
ES 101. Module 3 Domain Name System (DNS). Last Lecture Routing and IP addressing.
NET0183 Networks and Communications Lecture 25 DNS Domain Name System 8/25/20091 NET0183 Networks and Communications by Dr Andy Brooks.
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.
Windows Server 2008 R2 Domain Name System Chapter 5.
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
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.
Netprog: DNS and name lookups1 Address Conversion Functions and The Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
1 Kyung Hee University Chapter 18 Domain Name System.
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
CPSC 441: DNS 1. DNS: Domain Name System Internet hosts: m IP address (32 bit) - used for addressing datagrams m “name”, e.g., - used by.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
Web Server Administration Chapter 4 Name Resolution.
1. Internet hosts:  IP address (32 bit) - used for addressing datagrams  “name”, e.g., ww.yahoo.com - used by humans DNS: provides translation between.
COMP2322 Lab 3 DNS Steven Lee Feb. 19, Content Understand the Domain Name System (DNS). Analyze the DNS protocol with Wireshark. 2.
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
THE LARGEST NAME SERVICE ACTING AS A PHONE BOOK FOR THE INTERNET The Domain Name System click here to next page 1.
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.
LESSON Networking Fundamentals Understand IPv4.
Dynamic Host Configuration Protocol
Understand Names Resolution
Security Issues with Domain Name Systems
IP and MAC Addresses, DNS Servers
CS 372 COMPUTER COMMUNICATION AND NETWORKS
IS1500: Introduction to Web Development
Chapter 25 Domain Name System.
Chapter 9: Domain Name Servers
DNS (Domain Name System)
Domain Name System Tony Kombol ITIS 3110.
Domain Name System (DNS)
IMPLEMENTING NAME RESOLUTION USING DNS
DNS.
SUBMITTED BY: NAIMISHYA ATRI(7TH SEM) IT BRANCH
Unit 5: Providing Network Services
Net 323 D: Networks Protocols
Chapter 19 Domain Name System (DNS)
EE 122: Domain Name Server (DNS)
Domain Name System (DNS)
Application layer Lecture 7.
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
NET 536 Network Security Lecture 8: DNS Security
Chapter 25 Domain Name System
NET 536 Network Security Lecture 6: DNS Security
Web Server Technology Unit 10 Website Design and Development.
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Chapter 25 Domain Name System
Domain Name System: DNS
Computer Networks Primary, Secondary and Root Servers
Windows Name Resolution
Computer Networks Presentation
Domain Name Server Presented By: Mahesh Venkat Adusumelli
Exceptions and networking
Presentation transcript:

Domain Name Systems Introduction DNS Domain Name Systems Introduction

DNS DNS is not needed for the Internet to work IP addresses are all that is needed Computers have no problems remembering numbers The internet would be extremely difficult for humans to use without DNS Who can remember 74.125.138.105 is Google 54.239.25.200 is Amazon 173.252.120.68 is Facebook etc…

History

History Human-legible abstraction of numerical addresses predates TCP/IP Even before the ARPAnet era DNS invented in 1983, shortly after TCP/IP was deployed Original system: Hosts file Each computer on the network retrieved a file called HOSTS.TXT From a computer at SRI (now SRI International). The HOSTS.TXT file mapped numerical addresses to names. Hosts files still exists on most modern operating systems By default or through configuration Users can specify an IP address to use for a hostname without checking DNS Today Hosts file serves primarily for Troubleshooting DNS errors Mapping local addresses to more organic names Systems based on a hosts file have inherent limitations Every time a given computer's address changed Every computer accessing it would need an update to its hosts file On Windows: C:\WINDOWS\system32\drivers\etc>

History Growth of networking called for a more scalable system Record changes of a host's address in one place only Other hosts would learn about the change dynamically through a notification system Completes a globally accessible network of: all hosts' names associated IP Addresses

History At the request of Jon Postel: Paul Mockapetris invented the Domain Name System in 1983 Wrote the first implementation Original specifications appear in RFC 882 and 883 In 1987 RFC 1034 and RFC 1035 updated the DNS specification Made RFC 882 and RFC 883 obsolete Several more-recent RFCs have proposed various extensions to the core DNS protocols

History Four Berkeley students1 wrote the first UNIX implementation 1984 1985 Kevin Dunlap (DEC) significantly re-wrote the DNS implementation Renamed it BIND (Berkeley Internet Name Domain) BIND ported to Windows NT platform early 1990s BIND has a history of security issues and exploits Several alternative nameserver/resolver programs have been written and distributed in recent years 1Douglas Terry, Mark Painter, David Riggle and Songnian Zhou

DNS Overview

Domain name Servers (DNS) Important but invisible part of the internet Might even say it is critical Forms one of the largest databases

Domain name Servers (DNS) Every machine on a network is assigned a unique address  every machine on the Internet has a unique address IP addresses IPv4 32 bit number and is expressed as 4 octets IPv4 addresses a.k.a. “Dotted Decimal Notation“ AKA “dotted quad” Typical address format: 199.249.150.4 Note: may also be written in hex: c7.f9.96.04

Domain name Servers (DNS) Human Oriented Difficult to remember IP addresses of websites Who is 66.135.221.10? Not easy to remember strings of numbers www.ebay.com Humans more easily remember words or names Domain names help To connect to a particular site: Enter its URL (Universal Resource Locator) DNS gets the mappings of the IP addresses and the corresponding names

Names and Numbers

Getting IP addresses Basically, DNS converts machine names to IP addresses E.g. www.xyz.com  199.249.150.9 Host and domain name to an IP address Overall translates: Given a name it returns an IP address Main task Given an IP address it returns a name Mapping from an IP address to a machine name is called reverse mapping

Example Browser needs to access the web server at http://www.xyz.com Need the IP address of www.xyz.com Uses a directory service to look up the IP addresses DNS performs that service

Example To find www.xyz.com First: contact a DNS server Asks it to find the IP address for www.xyz.com DNS server has the address - or - DNS server might need to contact other DNS servers on the internet Etc., etc., etc…. DNS is considered as a global network of servers

Side note One great advantage of DNS is that no single organization is responsible for updating/maintaining it Owners of the domain are responsible for maintaining proper IP addresses for their machines It is truly a distributed database

Resume 2/13

TLD – Top Level Domain 2 and 3 letter TLD names?

Domains DNS server Computer that's running the DNS software Dozens of DNS programs https://en.wikipedia.org/wiki/Comparison_of_DNS_server_software Most popular DNS software is BIND (Berkeley Internet Name Domain) BIND9 “latest” BIND 10 currently an unsupported open source project

Domains DNS is hierarchical, tree-structured system Top domain is denoted by '.' That is: a single period or dot Known as the root of the system Major “sub” domain types Top Level Domains (TLD) Original Top Level Domains Seven generic domains: ‘.com', ‘.org', ‘.gov', ‘.mil', ‘.net', ‘.edu', ‘.int‘ 140+ country domains: ‘.us’, ‘.ca’, ‘.uk’, ‘.tv’, etc… Others (ICANN era) ‘.biz’, ‘.bio’, ‘.cash’, ‘.pizza’, … List_of_Internet_top-level_domains

Components

Components Two basic components Name server Resolver

Name server Looks up the names Usually one name server for a cluster of machines If the name server does not contain the requested information it will contact another name server

Nameserver It is not required for every server to know how to contact every other server Every name server will know how to contact the root name server ( . ) In turn will know the location of every authoritative name server for all the top level domains

Resolver: Runs on a client machine Initiates DNS lookups Contains a list of name servers to use Function of each of these name servers is to resolve name queries

Resolver: Three types of name servers Primary name server Secondary name server Caching name server

Resolver: Primary name servers own the database records Changes are propagated via a 'zone transfer‘ Secondary name servers are configured for backup purposes Any changes to primary name servers needs to be propagated to secondary name servers

Resolver: Caching name servers Only resolve name queries Remember the results of previous queries Do not maintain any DNS database files

Caching

Caching DNS uses principle of 'caching' for its operation When a name server receives information about a mapping It caches this information Further queries for the same mapping will use this cached result For a set time Reducing the search cost

Caching Name servers don't cache forever Caching has a time to live (TTL) TTL determines how long a server will cache a piece of information When a name servers cache receive an IP address It receives the TTL with it Name server caches the IP address for the period of time then discards it Note: this TTL is different than the routing TTL you see in a ping

Caching When a process needs to determine an IP address given a DNS address It calls upon the local host to resolve the address This can be done in variety of ways: Table look up On UNIX hosts: /etc/hosts Process communicates with a local name servers named on a UNIX system By sending a massage to the remote system that is identified from the information in the file /etc/resolv.conf

Caching When a name server receives a query for a domain that is does not serve It may send back a referral to the client by specifying better name servers It also may operate in a recursive manner Any DNS server passes requests it cannot handle to higher level server and so on, until either the request can be handled or until the root of the DNS name space is reached

Caching Name servers contain pointers to other name servers with the help of which it is possible to traverse the entire domain naming hierarchy A host with the initial name server addresses has to be configured After this, it is able to use DNS protocols to locate the name server responsible for any part or the DNS naming hierarchy

Caching When a name server receives a request, it can do one of the following: Answer the request with an IP address Iterative method Client simply asks the server to resolve a domain name Server accesses its database Address found Address sent back Address not found Sends back an error “DNS not found” Contact another name server and try to find the IP address for the requested name Send back a referral to the client specifying the IP address of better name servers

Caching A popular user interface - 'nslookup' Using nslookup Available on the UNIX systems Can perform any DNS function Also displays the result to the user Using nslookup Can obtain a listing of all the hosts in a zone To do this, first need to identify the nameserver for the zone

Exposures

Threats Lack of integrity and authenticity checking of the data held within the DNS Other protocols can use host names as an access control mechanism Internet engineering task force (IETF) has come up with DNS security (DNSSEC) extensions to DNS protocol Main objective is to provide authentication and integrity to the DNS Provided through the use of cryptographic

DNS is required for the Internet to work Yes No