The Domain Name System



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

Understanding DNS (the Domain Name System)

CS3600 SYSTEMS AND NETWORKS

The Application Layer: DNS

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

3. The Domain Name Service

Domain Name System Richard T. B. Ma

- Domain Name System -

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

Copyright

Domain Name System (DNS)

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

Lesson 13: DNS Security. Javier Osuna GMV Head of Security and Process Consulting Division

Domain Name System (DNS) Fundamentals

Domain Name System DNS

DNS Domain Name System

DNS: Domain Name System

DNS : Domain Name System

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

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

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

Application Protocols in the TCP/IP Reference Model

Internetworking with TCP/IP Unit 10. Domain Name System

Use Domain Name System and IP Version 6

The Transport Layer. Antonio Carzaniga. October 24, Faculty of Informatics University of Lugano Antonio Carzaniga

How to Add Domains and DNS Records

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

How-to: DNS Enumeration

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

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

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

Internet-Praktikum I Lab 3: DNS

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

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

The Domain Name System

Chapter 2 Application Layer

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

Understand Names Resolution

2.5 DNS The Internet s Directory Service

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

DNS. Computer Networks. Seminar 12

1 DNS Packet Structure

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

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

ECE 4321 Computer Networks. Network Programming

DATA COMMUNICATOIN NETWORKING

DNS and P2P File Sharing

Introduction to Network Operating Systems

Forouzan: Chapter 17. Domain Name System (DNS)

The Use of DNS Resource Records

CS3250 Distributed Systems

DNS. Spring 2016 CS 438 Staff 1

NET0183 Networks and Communications

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

Computer Networks: Domain Name System

Teldat Router. DNS Client

How do I get to

The Domain Name System (DNS)

Domain Name System (DNS) Omer F. Rana. Networks and Data Communications 1

Chapter 23 The Domain Name System (DNS)

Section 1 Overview Section 2 Home... 5

The Domain Name System

THE DOMAIN NAME SYSTEM DNS

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

Module 2. Configuring and Troubleshooting DNS. Contents:

OpenSRS Service DNS Configuration Guide

Domain Name System (DNS)

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

Application-layer protocols

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

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

Domain Name System (DNS)

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

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

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

Wireshark DNS. Introduction. nslookup

KB Windows 2000 DNS Event Messages 1 Through 1614

1 Introduction: Network Applications

Introduction to the Domain Name System

The Domain Name System (DNS)

Introduction to DNS CHAPTER 5. In This Chapter

DNS: Domain Name System

The Domain Name System from a security point of view

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

Configuring DNS. Finding Feature Information

Domain Name System (DNS)

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

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

CMPE 80N: Introduction to Networking and the Internet

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

Wireshark Lab: DNS. 1. nslookup

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

Glossary of Technical Terms Related to IPv6

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

Transcription:

The Domain Name System Antonio Carzaniga Faculty of Informatics University of Lugano October 9, 2012 2005 2007 Antonio Carzaniga 1 IP addresses and host names Outline DNS architecture DNS process DNS requests/replies 2005 2007 Antonio Carzaniga 2

Internet applications involve end system communication End Systems Internet How does one end system address another end system 2005 2007 Antonio Carzaniga 3 IP Addresses An end system is identified and addressed by its IP address 32 bits (4 bytes) in IPv4 e.g., 195.176.181.10 128 bits (16 bytes) in IPv6 e.g., fe80::211:43ff:fecd:30f5/64 Advantages computers (e.g., routers) are good at processing bits especially in small packs of a size that is a power of two Disadvantages not practical for use by people i.e., not mnemonic e.g., look it up on 64.233.183.104! 2005 2007 Antonio Carzaniga 4

Host Names Goal: help the human users of the Internet human-readable, mnemonic addresses, aliases Solution: domain name system (DNS) host names e.g., www.google.com Primary function of the domain name system maps a name to an IP address name IP address 2005 2007 Antonio Carzaniga 5 E.g.,atelier.inf.usi.ch Host Names Hierarchical name space Top-level domain,... usi inf ch 2005 2007 Antonio Carzaniga 6

Architecture of DNS Hierarchical architecture that mirrors the hierarchical structure of the namespace root.com.edu.ch.switch.ch.usi.ch inf.usi.ch 2005 2007 Antonio Carzaniga 7 DNS Architecture Root servers: 13 root know where the top-level servers are (labeled A through M) see http://www.root-servers.org Top-level domain servers: each one is associated with a top-level domain (e.g.,.com,.edu,.ch,.org,.tv) Authoritative servers: for each domain, there is an authoritative that holds the map of publicly-accessible hosts within that domain Most root servers as well as servers at lower levels are themselves implemenented by a distributed set of machines 2005 2007 Antonio Carzaniga 8

How DNS Works Hierarchical architecture that mirrors the hierarchical structure of the namespace root see.ch at 62.2... local DNS see.usi.ch at 195.176... see inf.usi.ch at....ch.usi.ch application www.inf.usi.ch inf.usi.ch 2005 2007 Antonio Carzaniga 9 A client/server can request a recursive query local DNS root Recursive Queries.ch.usi.ch application www.inf.usi.ch inf.usi.ch 2005 2007 Antonio Carzaniga 10

Observations on DNS A lot of messages just to figure out where to connect to! DNS can indeed be a major bottleneck for some applications (typically, the Web) it is also to a large extent a critical point of failure It is a perfect demonstration of the end-to-end principle it implements a (crucial) network functionality at the end-system level Any idea how to improve the performance and reliability of DNS 2005 2007 Antonio Carzaniga 11 DNS Caching Caching is clearly very important, as it can dramatically improve the performance of DNS reduce the load on the DNS infrastructure How does caching work in DNS Same as always a may cache a reply (i.e., the mapping) for a name n if the server receives a subsequent request for n, it may respond directly with the cached address, even though the server is not the authoritative server for that domain 2005 2007 Antonio Carzaniga 12

DNS is essentially a directory service database DNS Features The database contains resource records (RRs) name value type ttl www.inf.usi.ch 195.176.181.10 A... research.inf.usi.ch 195.176.181.11 A............... Name and value have the intuitive meaning What about type 2005 2007 Antonio Carzaniga 13 DNS Query Types A this is the main mapping host_name address, so name is a host name and value is its (IP) address NS this is a query for a name server, so name is a domain name and value is the authoritative name server for that domain. For example, name value type ttl usi.ch one.ti-edu.ch NS... CNAME this is a query for a canonical name. The canonical name is the primary name of a host. A host may have one or more mnemonic aliases. For example, name value type ttl www.google.com www.l.google.com CNAME... 2005 2007 Antonio Carzaniga 14

DNS Query Types (2) MX this is a query for the mail exchange server for a given domain, so name is a host or domain name and value is the name of the mail server that handles (incoming) mail for that host or domain. For example, name value type ttl lu.usi.ch spamfilter.usilu.net MX...... several other types 2005 2007 Antonio Carzaniga 15 DNS is a connectionless protocol DNS Protocol Runs on top of UDP (port 53) DNS has query and reply messages since DNS is connectionless, queries and replies are linked by an identifier Both queries and replies have the same format a DNS message can carry queries and answers 2005 2007 Antonio Carzaniga 16

DNS Message Format 0 31 identification flags # of queries # of answers RRs # of authority RRs # of additional RRs questions answers authority additional information 2005 2007 Antonio Carzaniga 17