Domain Name System. CS 571 Fall 2006. 2006, Kenneth L. Calvert University of Kentucky, USA All rights reserved



Similar documents
Lecture 2 CS An example of a middleware service: DNS Domain Name System

Motivation. Domain Name System (DNS) Flat Namespace. Hierarchical Namespace

DNS : Domain Name System

DNS Domain Name System

The Domain Name System

Application Protocols in the TCP/IP Reference Model. Application Protocols in the TCP/IP Reference Model. DNS - Concept. DNS - Domain Name System

Application Protocols in the TCP/IP Reference Model

The Domain Name System

CS 348: Computer Networks. - DNS; 22 nd Oct Instructor: Sridhar Iyer IIT Bombay

The Domain Name System

The Domain Name System (DNS)

THE DOMAIN NAME SYSTEM DNS

Distributed Systems. 09. Naming. Paul Krzyzanowski. Rutgers University. Fall 2015

DNS Domain Name System

Introduction to the Domain Name System

Understanding DNS (the Domain Name System)

Distributed Systems. 22. Naming Paul Krzyzanowski. Rutgers University. Fall 2013

The Domain Name System (DNS)

DNS. Computer networks - Administration 1DV202. fredag 30 mars 12

Application Protocols in the TCP/IP Reference Model. Application Protocols in the TCP/IP Reference Model. DNS - Domain Name System

Hostnames. HOSTS.TXT was a bottleneck. Once there was HOSTS.TXT. CSCE515 Computer Network Programming. Hierarchical Organization of DNS

Domain Name System Richard T. B. Ma

Domain Name System. DNS is an example of a large scale client-server application. Copyright 2014 Jim Martin

Internet-Praktikum I Lab 3: DNS

DNS and BIND. David White

19 Domain Name System (DNS)

Internetworking with TCP/IP Unit 10. Domain Name System

CS3600 SYSTEMS AND NETWORKS

CS3250 Distributed Systems

Automated domain name registration: DNS background information

Introduction to DNS CHAPTER 5. In This Chapter

HTG XROADS NETWORKS. Network Appliance How To Guide: DNS Delegation. How To Guide

Chapter 23 The Domain Name System (DNS)

netkit lab dns Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group Version Author(s)

Domain Name System (DNS) RFC 1034 RFC

DNS - Domain Name System

Domain Name Servers. Domain Types WWW host names. Internet Names. COMP476 Networked Computer Systems. Domain Name Servers

Domain Name System (DNS) Fundamentals

CS640: Computer Networks. Naming /ETC/HOSTS

Names & Addresses. Names & Addresses. Names vs. Addresses. Identity. Names vs. Addresses. CS 194: Distributed Systems: Naming

1 DNS Packet Structure

DNS: Domain Name System

Computer Networks: Domain Name System

More Internet Support Protocols

Domain Name Server. Training Division National Informatics Centre New Delhi

DNS. Some advanced topics. Karst Koymans. (with Niels Sijm) Informatics Institute University of Amsterdam. (version 2.6, 2013/09/19 10:55:30)

Domain Name System WWW. Application Layer. Mahalingam Ramkumar Mississippi State University, MS. September 15, 2014.

Applications and Services. DNS (Domain Name System)

Chapter 24 The Domain Name System (DNS)

Domain Name System Security

3. The Domain Name Service

INTERNET DOMAIN NAME SYSTEM

Goal of this session

Naming. Name Service. Why Name Services? Mappings. and related concepts

Domain Name System (DNS) Session-1: Fundamentals. Ayitey Bulley

How To Map Between Ip Address And Name On A Domain Name System (Dns)

Forouzan: Chapter 17. Domain Name System (DNS)

Part 5 DNS Security. SAST01 An Introduction to Information Security Martin Hell Department of Electrical and Information Technology

Domain Name System (DNS)

The Use of DNS Resource Records

The Application Layer: DNS

KB Windows 2000 DNS Event Messages 1 Through 1614

Vorlesung Kommunikationsnetze Domain Name System

Domain Name System. 188lecture12.ppt. Pirkko Kuusela, Markus Peuhkuri, Jouni Karvo

Applications & Application-Layer Protocols: The Domain Name System and Peerto-Peer

Domain Name System (DNS)

Names vs. Addresses. Flat vs. Hierarchical Space. Domain Name System (DNS) Computer Networks. Lecture 5: Domain Name System

- Domain Name System -

Domain Name System. Heng Sovannarith

Understand Names Resolution

1. Domain Name System

DNS: Domain Name System

Agenda. Network Services. Domain Names. Domain Name. Domain Names Domain Name System Internationalized Domain Names. Domain Names & DNS

DNS Conformance Test Specification For Client

Section 1 Overview Section 2 Home... 5

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

How to Add Domains and DNS Records

ECE 4321 Computer Networks. Network Programming

The Application Layer. CS158a Chris Pollett May 9, 2007.

what s in a name? taking a deeper look at the domain name system mike boylan penn state mac admins conference

Introduction BIND. The DNS Protocol. History (1) DNS. History (2) Agenda

CS 43: Computer Networks Naming and DNS. Kevin Webb Swarthmore College September 17, 2015

THE MASTER LIST OF DNS TERMINOLOGY. v 2.0

Domain Name System. Overview. Domain Name System. Domain Name System

My Services Online Service Support. User Guide for DNS and NTP services

Table of Contents DNS. How to package DNS messages. Wire? DNS on the wire. Some advanced topics. Encoding of domain names.

NET0183 Networks and Communications

IPv6 Support in the DNS. Workshop Name Workshop Location, Date

DNS at NLnet Labs. Matthijs Mekking

Domain Name System :49:44 UTC Citrix Systems, Inc. All rights reserved. Terms of Use Trademarks Privacy Statement

Domain Name System (or Service) (DNS) Computer Networks Term B10

DNS & IPv6. Agenda 4/14/2009. MENOG4, 8-9 April Raed Al-Fayez SaudiNIC CITC rfayez@citc.gov.sa, DNS & IPv6.

Chapter 9: Name Services. 9.1 Introduction 9.2 Name services and the DNS 9.3 Directory services 9.6 Summary

Domain Name System with Security Extensions

Naming and the DNS. Focus. How do we name hosts etc.? Application Presentation Topics. Session Domain Name System (DNS) /URLs

How do I get to

DATA COMMUNICATOIN NETWORKING

Chapter 25 Domain Name System Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Domain Name System (DNS) Reading: Section in Chapter 9

DNS Session 4: Delegation and reverse DNS. Joe Abley AfNOG 2006 workshop

Transcription:

Domain Name System CS 571 Fall 2006 2006, Kenneth L. Calvert University of Kentucky, USA All rights reserved

DNS Specifications Domain Names Concepts and Facilities RFC 1034, November 1987 Introduction to the system and its components Explains the concept of the Domain Name Space and zones Domain Names Implementation and Specification RFC 1035, November 1987 Details of protocols and algorithms 2

Domain Name System Structure Probably the world's largest distributed database system Purpose: map human-readable names to other information (especially addresses) Major components: Domain Namespace Resource Records (RRs) Resolvers Name Servers 3

Domain Name Space Tree-structured namespace with a single root The root's name is "" (the empty string) Tree structure provides: Scalability (in the usual way) Distributed authority: control over subtrees can be delegated Each Fully-Qualified Domain Name (FQDN) is a node in the tree Each branch in the tree has a label (e.g. "com") Labels no more than 64 bytes long currently subset of ASCII-only FQDN represented by sequence of labels from node to root: e.g. "protocols.netlab.uky.edu." 4

Domain Name Space com edu net org gov mil arpa int... ad al... zw "generic" Top-level Domains (gtld's) 2-letter ISO standard ountry codes 5

Domain Name Space com edu net org gov mil arpa int... ad al... zw uky netlab cs cslab ozark rose 6

Delegation of Naming Authority For each node in the namespace tree there is one (and only one) authority The authority controls what goes in the subtree A subtree for which authority has been delegated is called a zone The boundary between the containing zone and the subzone is called a "cut" E.g. netlab.uky.edu zone is delegated from uky.edu The authority for a zone is responsible for: Maintaining the authoritative database information (RRs) that describe the zone Providing for at least two independent nameservers 7

Resource Records (RRs) The database is viewed as a logical set of Resource Records Each RR defines a binding between a FQDN and some other information Each RR has a TYPE according to the kind of information in the binding A: the information is a four-byte IPv4 Address NS: the information is the FQDN of a Name Server MX: the information is the FQDN of a server that accepts mail for the domain SOA: the information marks the beginning and end of a ZONE etc. FQDN (variable) Type (2) Class (2) TTL (4) Data Len (2) Type-specific info 8

Resource Records (RRs) The standard defines details of representation of the information in the RR's (i.e. how it is stored in the database)! This ensures it is simple to go back and forth between database and wire format Example: A record has 32-bit IP address in network byte order ozark.netlab.uky.edu A IN TTL 4 128 163 140 219 9

General DNS Message Format Query ID Flags etc. # Questions # Answer RRs # Authority RRs # Add'l Info RRs Query/Answer flag Opcode Authoritative Answer flag Recursion Desired flag Recursion available flag Return code Questions Answers Authorities (NS RRs for above Answers) Additional Info (A records for Nameserver RRs) 10

DNS Zone RRs - Example netlab.uky.edu SOA tosh.netlab.uky.edu [marks beginning of zone] serial = 2006110301 ttl = 3600... netlab.uky.edu NS tosh.netlab.uky.edu netlab.uky.edu NS peter.netlab.uky.edu netlab.uky.edu NS ncc.uky.edu netlab.uky.edu NS nic.net.uky.edu tosh.netlab.uky.edu A 128.163.140.42 peter.netlab.uky.edu A 128.163.140.33 ncc.uky.edu A 128.163.1.6 nic.net.uky.edu A 128.163.3.10 protocols.netlab.uky.edu CNAME yosemite.netlab.uky.edu yosemite.netlab.uky.edu A 128.163.140.43 yosemite.netlab.uky.edu MX mail-protocols.netlab.uky.edu emulab.netlab.uky.edu NS peter.netlab.uky.edu emulab.netlab.uky.edu NS ns1.emulab.netlab.uky.edu peter.netlab.uky.edu A 128.163.140.33 ns1.emulab.netlab.uky.edu A 128.163.140.99 netlab.uky.edu SOA [marks end of zone] 11

Model of Operation - Iterative Host in "netlab.uky.edu" domain application 1 "munnari.oz.au, A" resolver x 2 cache DNS Query: domain: munnari.oz.au type: A 3 5 DNS Response: domain: munnari.oz.au type: A Answer: (nothing) Authority:. (root) NS C.ROOT-SERVERS.NET Additional Info: C.ROOT-SERVERS.NET A 192.33.4.12 nameserver 4 x DB tosh.netlab.uky.edu 128.163.140.42 12

Model of Operation - Iterative Host in "netlab.uky.edu" domain application resolver "munnari.oz.au, A" cache 6 7 DNS Response: Domain: munnari.oz.au type: A Answer: (nothing) Authority: au NS dns1.telstra.net Add'l Info: dns1.telstra.net A 203.50.5.200 nameserver DNS Query: Domain: munnari.oz.au type = a DB root C.ROOT-SERVERS.NET 192.33.4.12 13

Model of Operation - Iterative Host in "netlab.uky.edu" domain application "munnari.oz.au, A" 8 resolver cache DNS Query: Domain: munnari.oz.au type = a DNS Response: Domain: munnari.oz.au type: A Answer: (nothing) Authority: oz.au NS au2ld.csiro.au Add'l Info: au2ld.csiro.au A 130.116.2.21 9 nameserver DB au DNS1.TELSTRA.NET 203.50.5.200 14

Model of Operation - Iterative Host in "netlab.uky.edu" domain application 10 "munnari.oz.au, A" 11 resolver cache DNS Query: Domain: munnari.oz.au type = a DNS Response: Domain: munnari.oz.au type: A Answer: munnari.oz.au A 202.12.74.196 Authority: oz.au NS au2ld.csiro.au Add'l Info: au2ld.csiro.au A 130.116.2.21 nameserver DB oz.au au2ld.csiro.ua 130.116.2.21 15