The Domain Name System



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

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

DNS : Domain Name System

IP addresses have hierarchy (network & subnet) Internet names (FQDNs) also have hierarchy. and of course there can be sub-sub-!!

Understand Names Resolution

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

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

Application Protocols in the TCP/IP Reference Model

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

Use Domain Name System and IP Version 6

Understanding DNS (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

3. The Domain Name Service

Teldat Router. DNS Client

Talk-101 User Guide. DNSGate

DNS. Computer Networks. Seminar 12

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

Introduction to the Domain Name System

The Domain Name System

DNS at NLnet Labs. Matthijs Mekking

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

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

NET0183 Networks and Communications

THE MASTER LIST OF DNS TERMINOLOGY. First Edition

Domain Name System (DNS)

Copyright

The Domain Name System (DNS)

Configuring DNS. Finding Feature Information

The Use of DNS Resource Records

Introduction to DNS CHAPTER 5. In This Chapter

Domain Name System (DNS) Fundamentals

- Domain Name System -

DNS Domain Name System

DNS and BIND. David White

IPv6 support in the DNS

DNS. The Root Name Servers. DNS Hierarchy. Computer System Security and Management SMD139. Root name server. .se name server. .

THE MASTER LIST OF DNS TERMINOLOGY. v 2.0

Networking Domain Name System

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

Computer Networks: Domain Name System

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

Internet-Praktikum I Lab 3: DNS

DNS and BIND Primer. Pete Nesbitt linux1.ca. April 2012

How to set up the Integrated DNS Server for Inbound Load Balancing

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

Local DNS Attack Lab. 1 Lab Overview. 2 Lab Environment. SEED Labs Local DNS Attack Lab 1

CS 355. Computer Networking. Wei Lu, Ph.D., P.Eng.

Networking Domain Name System

The Domain Name System

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

Internetworking with TCP/IP Unit 10. Domain Name System

Networking Domain Name System

Advanced DNS Course. Module 4. DNS Load Balancing

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

Domain Name System DNS

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

Domain Name System (DNS) RFC 1034 RFC

The Domain Name System (DNS)

Glossary of Technical Terms Related to IPv6

ECE 4321 Computer Networks. Network Programming

DNS (Domain Name System) is the system & protocol that translates domain names to IP addresses.

How to Add Domains and DNS Records

THE DOMAIN NAME SYSTEM DNS

DNS Conformance Test Specification For Client

Copyright International Business Machines Corporation All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure

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

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

INTERNET DOMAIN NAME SYSTEM

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

Domain Name System (DNS)

Domain Name System Richard T. B. Ma

How to Configure the Windows DNS Server

CS3600 SYSTEMS AND NETWORKS

Response Policy Zones for the Domain Name System (DNS RPZ) By Paul Vixie, ISC (et.al.) 2010 World Tour

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

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

CS3250 Distributed Systems

Wireshark Lab: DNS v6.01

Network Working Group. Category: Best Current Practice S. Bradner Harvard University M. Patton Consultant July 1997

DNS Domain Name System

How do I get to

1 DNS Packet Structure

Presented by Greg Lindsay Technical Writer Windows Server Information Experience. Presented at: Seattle Windows Networking User Group April 7, 2010

KB Windows 2000 DNS Event Messages 1 Through 1614

LinkProof DNS Quick Start Guide

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

Chapter 23 The Domain Name System (DNS)

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

Lab - Observing DNS Resolution

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

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

Transcription:

Internet Engineering 241-461 Robert Elz kre@munnari.oz.au kre@coe.psu.ac.th http://fivedots.coe.psu.ac.th/~kre DNS The Domain Name System Kurose & Ross: Computer Networking Chapter 2 (2.5) James F. Kurose & Keith W. Ross Computer Networking A Top-Down Approach Featuring the Internet (2nd, 3rd or 4th Edition) Addison Wesley Contents The Domain Name System Domains Zones The DNS Database DNS Protocols DNS Message Formats DNS Limits Zone Transfer Mapping Addresses to Names

Domain Name System Translates Names to Addresses (Finds where something is located) Also translates Addresses to Names (Finds what is located there) Does not discover names We have to know what name we want The DNS is NOT a directory service Does provide other information about known names DNS Terminology Domain Fully Qualified Domain Name The DNS Name (the Tree database) Resource Record Resource Record Set DNS Software DNS DNS Cache DNS Resolver Stub Resolver Back End Resolver The DNS Name Tree Zone Delegation IBM COM NET AU CN AIT A tree of domains The root at the top of the tree AC GO OR CHULA PSU WWW mail CC There is exactly one The root has no name - empty label Read from the bottom up CS COE Produces Left -> Right answer Insert a. each time a link is crossed Name that ends in. (and empty root domain) Fully Qualified Domain Name (FQDN)

A Domain COM NET AU CN IBM AC GO OR AIT CHULA PSU WWW mail CC CS COE Each domain is A sub-domain of some other domain Except the root domain That other domain is called its parent Any domain can have sub-domains Sub-domains are part of the domain Domain named by name of its highest node All subdomain names end.domain.name. Zone COM NET AU CN IBM AC GO OR AIT CHULA PSU WWW mail CC CS COE Domains can be divided into Zones Division at any sub-domain boundary If domain is excluded Entire domain is excluded Cannot cross existing zone boundaries But zone division can be removed Domain is either in a zone of its own or in same zone as its parent Zones are independant DNS units Zones and Domains A Zone is almost a Domain Both named by domain name Of highest node in tree contained If no sub-domains are split Domain and Zone are the same thing But if a new zone is formed Domain remains unchanged The two zones are independant Every node is in exactly one zone Usually in many domains

Contents The Domain Name System The DNS Database Resource Records RR Sets DNS Protocols DNS Message Formats DNS Limits Zone Transfer Mapping Addresses to Names Keyed by domain name DNS database Contains Resource Records (RRs) RRs have a Type and a Class Class is not used much INternet Class is almost everything Type specifies what kind of data is in the RR A - Address (IPv4) AAAA - 128 bit (IPv6) address MX - Mail Exchange LOC - Location (many) RRSets Group of RRs with same class type & domain name are an RRset RRset has a Time to Live measured in seconds DNS Query gives domain name required type (& class) Gets RRset and its TTL Or gets No Such Name Or gets No Data of that Type Answer can be remembered until TTL expires Saves on DNS queries

DNS s COM NET AU CN IBM AC GO OR AIT CHULA PSU WWW mail CC CS COE Each zone has servers to answer queries about it Each server has information about its zone(s) There are redundant servers for reliability s can serve many zones Related or unrelated zones Contents The Domain Name System The DNS Database DNS Protocols DNS Message Formats DNS Limits Zone Transfer Mapping Addresses to Names DNS Protocols UDP based (in general) Mostly lookup protocol Don t care if transactions are repeated Don t need to deal with duplicate packets Lost packets handled by retransmit Not necessarily to same server

A DNS Query Given a Domain Name, request information Information is typed Can ask for Address (A) Or IPv6 Address (AAAA) Name (NS) Mail exchange (MX) and much more. Assuming no other information, the query Starts at the root of the tree Gets referred to next lower subdomain Until it reaches the domain of the name desired Each server replies with nameserver names names of servers for the next lower sub-domain (and usually their addresses) Queries Reply server for the domain I don t know, but here is the address of a

Queries I don t know, but here is the address of a server for the domain Reply I don t know, but here is the address of a server for the domain server for the AC. domain I don t know, but here is the address of a AC. Queries AC. called Resolver because its job is to resolve domain names into the required information I don t know, but here is the address of a server for the domain I don t know, but here is the address of a server for the AC. domain AC.

AC. Reply I don t know, but here is the address of a server for the domain I don t know, but here is the address of a server for the AC. domain server for the PSU.AC. domain I don t know, but here is the address of a AC. PSU.AC. Resolver is a library function Included as part of every application That requires name resolution Query PSU.AC. I don t know, but here is the address of a server for the domain I don t know, but here is the address of a server for the AC. domain I don t know, but here is the address of a server for the PSU.AC. domain AC. PSU.AC. PSU.AC. Reply This is a complex process I don t know, but here is the address of a server for the domain I don t know, but here is the address of a server for the AC. domain I don t know, but here is the address of a server for the PSU.AC. domain Much code required Many packets sent and received All data lost when application exits The Address of sip.psu.ac.th is 192.100.77.77 AC. PSU.AC.

The Way it Really Works Cache contains stub resolver Able to ask question Expects to get final answer returned Stub Resolver uses DNS Cache or Back-End Resolver To do the resolution work for it. Cache Finds Answer Cache I don t know, but here is the address of a server for the domain I don t know, but here is the address of a server for the AC. domain I don t know, but here is the address of a server for the PSU.AC. domain AC. The Address of sip.psu.ac.th is 192.100.77.77 PSU.AC. (if required) Back End Resolver (Cache) resolves name Using its memory of earlier answers Cache Tells Cache I don t know, but here is the address of a server for the domain I don t know, but here is the address of a server for the AC. domain I don t know, but here is the address of a server for the PSU.AC. domain The Address of sip.psu.ac.th is 192.100.77.77 Cache remembers each answer in case it is required again Every purple arrow is an answer Each of these is remembered Query for www.ait.ac.th The Address of sip.psu.ac.th is 192.100.77.77 AC. PSU.AC.