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.

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.
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.
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
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 5 Introduction to DNS in Windows Server 2008.
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)
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Domain Name System (DNS) Shivkumar Kalyanaraman Rensselaer Polytechnic Institute
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.
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
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,
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.,
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.
Windows Server 2008 R2 Domain Name System Chapter 5.
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.
Chapter 17 Domain Name System
1 Application Layer Lecture 6 Imran Ahmed University of Management & Technology.
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
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.
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.
Configuring Name Resolution and Additional Services Lesson 12.
1 Internet Network Services. 2 Module - Internet Network Services ♦ Overview This module focuses on configuring and customizing the servers on the network.
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)
CSI 3125, Preliminaries, page 1 Networking. CSI 3125, Preliminaries, page 2 Networking A network represents interconnection of computers that is capable.
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
Basics of the Domain Name System (DNS) By : AMMY- DRISS Mohamed Amine KADDARI Zakaria MAHMOUDI Soufiane Oujda Med I University National College of Applied.
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.
Dynamic Host Configuration Protocol
Understand Names Resolution
Domain Name Systems Introduction
Security Issues with Domain Name Systems
Chapter 9: Domain Name Servers
Domain Name System (DNS)
IMPLEMENTING NAME RESOLUTION USING DNS
DNS.
Net 323 D: Networks Protocols
Chapter 19 Domain Name System (DNS)
EE 122: Domain Name Server (DNS)
NET 536 Network Security Lecture 8: DNS Security
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Domain Name System: DNS
Computer Networks Primary, Secondary and Root Servers
Computer Networks Presentation
Presentation transcript:

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 difficult to use without DNS Who can remember that google.com is

HISTORY 3

4 History Human-legible abstraction of numerical addresses predates TCP/IP All the way to 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>

5 History Growth of networking called for a more scalable system Record changes of 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 and their associated IP Addresses

6 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

7 History Four Berkeley students 1 wrote the first UNIX implementation , 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 1 Douglas Terry, Mark Painter, David Riggle and Songnian Zhou

DNS OVERVIEW 8

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

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 Method used to represent these IP addresses is known as “Dotted Decimal Notation“ AKA “dotted quad” Typical address format: Note: may also be in hex: 0c.0c.14.1e 10

Domain name Servers (DNS) Human Oriented Difficult to remember IP addresses of websites Who is ? Not easy to remember strings of numbers 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 11

NAMES AND NUMBERS 12

Getting IP addresses DNS converts machine names to IP addresses E.g.  Can translate: From a name to an address Main task From an address to a name Mapping from an IP address to a machine name is called reverse mapping 13

Example Browser need to access the web server at Need the IP address of Uses a directory service to look up the IP addresses DNS performs that service 14

Example To find First: contact a DNS server Asks it to find the IP address for 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 15

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 16

2 AND 3 LETTER TLD NAMES? 17

Domains DNS server Computer that's running the DNS software Most popular DNS software is BIND (Berkeley Internet Name Domain) 18

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 Two immediate “sub” domain types Organization types Historical Note: There were Seven original immediate sub domain nodes: 'com', 'org', 'gov', 'mil', 'net', 'edu', ‘int‘ 140+ country domains: ‘us’, ‘ca’, ‘uk’, etc. List_of_Internet_top-level_domains 19

COMPONENTS 20

Components Two basic components Name server Resolver 21

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 22

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 second level domains 23

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 24

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

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

Resolver: Caching name servers Only resolve name queries Do not maintain any DNS database files 27

CACHING 28

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 29

Caching Name servers don't cache forever caching has a component - 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 30

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 31

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 Typically operate in the 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 32

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 33

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 34

Caching A popular user interface - '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 35

EXPOSURES 36

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 37

DNS is required for the Internet to work Yes 2. No