14 DNS : The Domain Name System. 14 Introduction - Problem Computers are used to work with numbers Humans are used to work with names ==> IP addresses.

Slides:



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

Web Server Administration
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.
Guide to TCP/IP, Second Edition1 Guide To TCP/IP, Second Edition Chapter 7 Domain Name System.
DNS. DNS is a network service that enables clients to resolve names to IP address and vice-versa. Allows machines to be logically grouped by domain names.
1 DNS. 2 BIND DNS –Resolve names to IP address –Resolve IP address to names (reverse DNS) BIND –Berkeley Internet Name Domain system Version 4 is still.
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.
Domain Name System (DNS) Network Information Center (NIC) : HOSTS.TXT.
Domain Name System: DNS
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 5 Introduction to DNS in Windows Server 2008.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
CPSC 441: DNS1 Instructor: Anirban Mahanti Office: ICT Class Location: ICT 121 Lectures: MWF 12:00 – 12:50 Notes derived.
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
Domain Name Services Oakton Community College CIS 238.
11.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
Domain Name System (DNS) Ayitey Bulley Session-1: Fundamentals.
DNS. Introduction What is DNS? –Hierarchy or Tree –Dot used as a separator.
CS 4396 Computer Networks Lab
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts: – IP address (32 bit) - used for addressing datagrams – “name”, e.g.,
Netprog: DNS and name lookups1 Address Conversion Functions and The Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Domain Names System The Domain Name System (DNS) is a hierarchical distributed naming system for computers, services, or any resource connected to the.
CS640 Introduction to Computer Networks DNS Dec 1 st, 1999 Prof. Lawrence H. Landweber Prof. Jun Murai.
CN2140 Server II Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 17 Domain Name System (DNS)
DNS and C# SWE 344 Internet Protocols & Client Server Programming.
Petrozavodsk State University, Alex Moschevikin, 2003NET TECHNOLOGIES Domain Name System HISTORY File hosts (the size of Internet became more than 1000.
DNS: Domain Name System
1 DNS: Domain Name System People: many identifiers: m SSN, name, Passport # Internet hosts, routers: m IP address (32 bit) - used for addressing datagrams.
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
DNS Related Commands Sayed Ahmed Computer Engineering, BUET, Bangladesh (Graduated on 2001 ) MSc, Computer Science, U of Manitoba, Canada
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.
Module 8 DNS Tools & Diagnostics. Objectives Understand dig and nslookup Understand BIND toolset Understand BIND logs Understand wire level messages.
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.
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.
Domain Name System (DNS). DNS Server Service Overview of Domain Name System What Is a Domain Namespace? Standards for DNS Naming.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
Module 8 DNS Tools & Diagnostics. Dig always available with BIND (*nix) and windows Nslookup available on windows and *nix Dig on windows – unpack zip,
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.
Lecture 5: Web Continued 2-1. Outline  Network basics:  HTTP protocols  Studies on HTTP performance from different views:  Browser types [NSDI 2014]
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 18 Domain Name System (DNS)
AfNOG-2003 Domain Name System (DNS) Ayitey Bulley
Web Server Administration Chapter 4 Name Resolution.
1 CMPT 471 Networking II DNS © Janice Regan,
OPTION section It is the first section of the named.conf User can use only one option statement and many option-value pair under the section. Syntax is.
2/26/2003 Lecture 4 Computer System Administration Lecture 4 Networking Startup/DNS.
Domain Name System (DNS) Joe Abley AfNOG Workshop, AIS 2014, Djibouti Session-1: Fundamentals.
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.
COMP 431 Internet Services & Protocols
WHAT IS DNS??????????.
Domain Name System DPNM Lab. Seongho Cho
KAPLAN SCHOOL OF INFORMATION SYSTEMS AND TECHNOLOGY IT375 Window Enterprise Administration Course Name – IT Introduction to Network Security Instructor.
1 Internet Service DNS & BIND OPS335 Seneca College of Applied Technology.
Domain Name System (DNS)
Domain Name System: DNS
Chapter 19 Domain Name System (DNS)
Domain Name System (DNS)
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
DNS : Domain Name System
Domain Name System: DNS
Presentation transcript:

14 DNS : The Domain Name System

14 Introduction - Problem Computers are used to work with numbers Humans are used to work with names ==> IP addresses are NUMBERS :-/ ?

14 Introduction Hosts.txt Distributed Database Mapping between IP-address and Hostnames Mail routing Client-Server Resolver - Name servers

14 Naming convention Hierarchical wwwsnmp.cs.utwente.nl [0..9,a..z,A..Z,-] Not case sensitive hostname domain wwwsnmp cs utwente nl. Geography IP Subnet No Relation ?

14 DNS Tree. arpacomdenlbeorgnetmilintgoveduin-addr groeptmonsantoea country domainsgeneric domains TLD Root in-addr.arpa.FQDN

14 Basics Delegation by zone Primary Name Server Root Name Server

14 1. Connection initiated from web-browser or other service to request the name. RESOLVER Internet DNS Server Forward Lookup

14 Internet DNS Server 1. Connection initiated from web-browser or other service to request the ip address. RESOLVER 2. DNS replies with ip address Forward Lookup

14 Internet DNS Server 1. Connection initiated from web-browser or other service to request the ip address. RESOLVER 2. DNS replies with ip address 3. Web browser requests page using the ip address Forward Lookup

14 Internet DNS Server 1. Connection initiated from web-browser or other service to request the ip address. RESOLVER 2. DNS replies with ip address 3. Web browser requests page using the ip address 4. Web server replies with webpage Forward Lookup

14 Lookup to Internet groept.be Resolver issues a recursive lookup 2. Local nameserver issues an itterative lookup to root name server for.com Root name server.com..cisco.com. recursive itterative

14 Lookup to Internet groept.be Resolver issues a recursive lookup 2. Local nameserver issues an itterative lookup to root name server for.com Root name server.com..cisco.com. recursive itterative

14 Lookup to Internet groept.be Resolver issues a recursive lookup 2. Local nameserver issues an itterative lookup to root name server for.com Root name server.com..cisco.com. recursive itterative

14 Lookup to Internet groept.be Resolver issues a recursive lookup 2. Local nameserver issues an itterative lookup to root name server for.com 3. Local nameserver answers with the IP address Root name server.com..cisco.com. recursive itterative

14 Lookup to Internet groept.be Resolver issues a recursive lookup 2. Local nameserver issues an itterative lookup to root name server for.com 3. Local nameserver answers with the IP address 4. Browser request the page using the IP address Root name server.com..cisco.com. recursive itterative

14 Sequential Lookup to Internet groept.be Second machine issues the same recursive lookup Root name server.com..cisco.com. recursive

14 Sequential Lookup to Internet groept.be Second machine issues the same recursive lookup 2. Local nameserver provides a cached answer Root name server.com..cisco.com. recursive

14 Sequential Lookup to Internet groept.be Second machine issues the same recursive lookup 2. Local nameserver provides a cached answer 3. Browser request the page using the IP address Root name server.com..cisco.com. recursive

14 Name server types Root name server Primary name server Secondary name server Caching-only name server Slave servers – forwarding server

14 NSLOOKUP – Your tool ! Forward Lookup nslookup gateway.pharmacia.com  Name: gateway.pharmacia.com  Address: Reverse Lookup nslookup  Name: gateway.pharmacia.com  Address:

14 New developments DNS dynamic updates using Secure DNS Prompt notification of zone changes Incremental zone transfers

14 Resource records SOA-record NS-record A-record CNAME-record HINFO-record PTR-record MX-record

14 SOA-record # nslookup Default Server: bebrump001.bebru.eu.pnu.com Address: > set type=SOA > monsanto.com Server: bebrump001.bebru.eu.pnu.com Address: Non-authoritative answer: monsanto.com origin = srvsn0.monsanto.com mail addr = hostmaster.srvsn0.monsanto.com serial = refresh = 3600 (1H) retry = 1800 (30M) expire = (5D) minimum ttl = (1D) Authoritative answers can be found from: srvsn0.monsanto.com internet address =

14 NS-Record > set type=NS > groept.be Server: bebrump001.bebru.eu.pnu.com Address: Non-authoritative answer: groept.be nameserver = mail.groept.be groept.be nameserver = ns.eu.net groept.be nameserver = dns.eunet.be Authoritative answers can be found from: mail.groept.be internet address = ns.eu.net internet address = dns.eunet.be internet address = >

14 A-record > set type=A > Server: bebrump001.bebru.eu.pnu.com Address: Name: Address: > A

14 CNAME-record IN A chekov.Belgium.EU.net IN A relay.eunet.beIN CNAMEchekov.Belgium.EU.net > relay.eunet.be Server: bebrump001.bebru.eu.pnu.com Address: Name: relay.eunet.be Addresses: , ,

14 HINFO-record chekov.Belgium.EU.net IN HINFO“SUN E 450” “Solaris”

14 PTR-record > set type=PTR > Server: bebrump001.bebru.eu.pnu.com Address: in-addr.arpa name = jupiter.Belgium.EU.net in-addr.arpa nameserver = dns.eunet.be in-addr.arpa nameserver = ns.EU.net dns.eunet.be internet address = > in-addr.arpa IN PTR jupiter.Belgium.EU.net

14 MX-record > set type=MX > pharmacia.com Server: bebrump001.bebru.eu.pnu.com Address: Non-authoritative answer: pharmacia.com preference = 100, mail exchanger = gateway.pharmacia.com pharmacia.com preference = 200, mail exchanger = gateway3.pharmacia.com pharmacia.com preference = 100, mail exchanger = ns3.pharmacia.com Authoritative answers can be found from: gateway.pharmacia.com internet address = gateway3.pharmacia.com internet address = > pharmacia.com IN MX100 gateway.pharmacia.com pharmacia.com IN MX100 ns3.pharmacia.com pharmacia.com IN MX200 gateway3.pharmacia.com

14 DNS Message Format identification flags QR opcode AA TC RD RA zero rcode number of questions questions answers (variable number of resource records) number of answer RRs number of authority RRsnumber of additional RRs authority (variable number of resource records) additional information (variable number of resource records) 12 bytes

14 Question Portion of DNS Query Message query name query typequery class