The Domain Name System (DNS)

Size: px
Start display at page:

Download "The Domain Name System (DNS)"

Transcription

1 D 1 The Domain Name System (D) Prof. Jean-Yves Le Boudec Prof. ndrzej Duda IC, EPFL CH-1015 Ecubens o o Domain Name System: D Objective of D support user friendy naming of resources: computers, printers, maiboxes, hide IP address changes distribute naming authority distribute the database used primariy for system names and emai Names and addresses domain name : high eve identifier; eg. rcsuns ssc.epf.ch IP address : ow eve identifier reated to routing, physica topoogy eve 2 addresses : ow eve identifiers MC address: seria number of communication interface TM address: combination of MC and route reated address emai address : high eve address used for emai eg. gwen.nedeeg@ssc.epf.ch emai addresses are mapped to domain names: gwen.nedeeg@ssc.epf.ch -> gwen\.nedeeg.ssc.epf.ch 2

2 D tenet disun3 1 rcsuns appication program name resover D Exampe IP dest addr protoco UDP source port 1267 dest port 53 stisun1 D message header query, question (QNME disun3.epf.ch. QTYPE) D query 2 3 D answer name server IP dest addr protoco UDP source port 53 dest port 1267 D message header response, question (QNME disun3.epf.ch. QTYPE) answer (disun3.epf.ch. TTL TYPE ) 3 resov.conf nameserver nameserver domain epf.ch RR type IPv4 addr IPv6 addr Resource Records (RRs) keyed by domain names zone data (authoritative data) disun3.epf.ch in-inr.epf.ch cached data (non-authoritative data) ezinfo.ethz.ch Domain Name Tree 4 generic domains root top eve domains country domains arpa int com edu gov mi net org firm store web arts rec info nom ch us za in-addr IP6 128 ibm 178 zurich 156 www in-addr.arpa 2nd eve domains ethz epf ee rcsuns ssc tik gwen\.nedeeg jachen\.carigiet rcsuns.epf.ch every node on the tree represents one or a set of resources every node on the tree has a abe (rcsuns) and a domain name (rcsuns.epf.ch) domain name sequence of abes, 64 bytes per abe exampes: rcsuns.epf.ch, ezinfo.ethz.ch, ee.ethz.ch names have the same syntax for subdomains or individua resources

3 D Name uthority 5 o hierarchica name authority o zones: top eve: Internic any organization can appy to become authority for a subdomain exampes: SWITCH for ch. and i. EPFL for epf.ch. any authority can create subdomains and deegate recursivey uniateray definition: zone a connected subset of nodes property: a zone has one singe node cosest to the root (top node, used to name the zone)) definition: zone Z1 is a subzone (or chid) of zone Z0 iff the top node of Z1 is connected to a node in Z0; name authority matches zone boundaries: names and subzones, can be created and deeted by the authority responsibe for a zone; exampes: zurich.ibm.com is a subzone of ibm.com zone zurich.ibm.com. has authority deegation from ibm.com. Fuy Quaified Domain Names 6 compete domain name fuy quaified domain name (FQDN) ends with a period (. ) traiing period usuay hidden by the user interface software incompete names are competed by oca resover add period: -> or add oca domain suffix: rcsuns -> rcsuns.epf.ch.

4 D The D distributed database 7 o D offers one distributed word-wide database distributed according to the zone concept: every zone has a master fie describing a records under the zone s authority name servers hod their part of the database for one zone, at east two name servers have the zone information, copied from master fie exampe: stisun1.epf.ch, stisun2.epf.ch; dns1.ethz.ch, dns2.ethz.ch zone information hed by the name server is caed authoritative data one name server may hod zone data for one or more zones zone data contains pointers to name servers hoding authoritative data for subzones a name servers know IP addresses of root servers (name servers for the top eve zones) Query Processing and Cached Data 8 o query processing resover associated with an appication sends a query to a name server name server responds with answer or with pointer to another server exampe: question from a node at EPFL; response is a pointer to a name server responsibe for zone ibm.com. o query processing can be iterative recursive: server responds with fina answer server acts as an intermediate resover recursive operation ony if requested in query and server accepts it root servers never support recursive operation o name servers usuay cache some information for nodes outside their zones recenty obtained informationis cached when acting recursivey every record has a TTL fied (ex: 1 day) used for cache management cached data is not authoritative

5 D Exampe: Query Processing 1 2,4 3 rcsuns resover 1 2 stisun1 3 name server 4 6 query, RDyes question query, RDno question answer question answer autority ibm.com. watson.ibm.com. ns.austin.ibm.com. ns.amaden.ibm.com. additiona watson.ibm.com ns.austin.ibm.com ns.amaden.ibm.com root name server watson ibm.com. 9 5,6 answer question answer Repication 10 o zone data is repicated in severa servers responsibe for the zone primary server hods master fie on disk secondary servers po primary servers (ex: every 3 hours) using the SERIL fied in zone data copying is caed zone transfer; uses TCP (queries usuay use UDP) changes in zone data by system manager: update master fie signa primary name server to reoad; new vaue of SERIL fied automaticay created secondary servers wi discover the change automaticay zone data in secondary servers is authoritative exampe: in which name servers can these RRs appear as zone or cache data: disun3.epf.ch

6 D Resource Record Types and Message Formats TYPE CNME SO PTR HINFO MINFO MX TXT vaue and meaning 1 Ipv4 address 2 an authoritative name server 5 the canonica name for an aias 6 marks the start of a zone of authority 12 a domain name pointer 13 host information 14 maibox or mai ist information 15 mai exchange 16 text strings 28 IPv6 address Header Question the question for the name server nswer RRs answering the question uthority RRs pointing toward an authority dditiona RRs hoding additiona information 11 Exampes of Records 12 o MX records: used by emai appication exampe: possibe use :? di.epf.ch. MX 10 dimai.epf.ch. di.epf.ch. MX 20 disunmm2.epf.ch. o PTR records: inverse mapping IP addr -> domain name exampe: in-addr.arpa PTR in-inr in-addr.arpa PTR in-inr e.a.4.0 PTR rcpc3 used for verifying names zone date shoud contain PTR records for a systems in the zone o other records: ISDN number, TM address (proposed)

7 D Exampes: Queries/ nswers 1 2 $ nsookup Server: stisun1.epf.ch ddress: Non-authoritative answer: Name: ddress: $ nsookup -querytype zurich.ibm.com Server: watson.ibm.com ddress: zurich.ibm.com nameserver ns1.zurich.ibm.ch zurich.ibm.com nameserver watson.ibm.com ns1.zurich.ibm.ch internet address watson.ibm.com internet address $ nsookup -querytypeptr Server: stisun1.epf.ch ddress: in-addr.arpa name uetiberg.zurich.ibm.ch in-addr.arpa nameserver ns1.zurich.ibm.ch in-addr.arpa nameserver scsnms.switch.ch in-addr.arpa nameserver swidir.switch.ch ns1.zurich.ibm.ch internet address scsnms.switch.ch internet address scsnms.switch.ch internet address swidir.switch.ch internet address Exampe of Zone Data (ch.) SO SO scsnms.switch.ch, scsnms.switch.ch, ch-zonecontact.switch.ch ch-zonecontact.switch.ch (seria (seria refresh refresh ;(12 ;(12 hours) hours) retry retry ;(2 ;(2 hours) hours) expire expire ;(30 ;(30 days) days) minimum ch minimum tt tt ); ); (4 (4 days) days) scsnms.switch.ch scsnms.switch.ch swidir.switch.ch swidir.switch.ch epf ethz switch dxmon.cern.ch dxmon.cern.ch ns.eu.net ns.eu.net Ns Ns ns.uu.net ns.uu.net exercice: princeton.edu princeton.edu epf.ch. where are the servers epf.ch. stisun1.epf.ch stisun1.epf.ch stisun2.epf.ch stisun2.epf.ch responsibe for that zone? ethz.ch. ethz.ch. dns1.ethz.ch dns1.ethz.ch what are the data indicating bernina.ethz.ch bernina.ethz.ch switch.ch authority deegation? switch.ch scsnms.switch.ch scsnms.switch.ch swidir.switch.ch swidir.switch.ch what records are authoritative? stisun1.epf.ch. stisun1.epf.ch what woud change if ch. and stisun2.epf.ch. switch.ch. were in the stisun2.epf.ch same zone? bernina.ethz.ch. bernina.ethz.ch what is the answer to a query scsnms.switch.ch. scsnms.ethz.ch scsnms.switch.ch scsnms.switch.ch. scsnms.switch.ch

8 D Exampe of Zone Data (epf.ch.) epf ch ethz switch exercice: where are the servers responsibe for that zone? what are the data indicating authority deegation? what records are authoritative? what is the answer to a query rcwww.epf.ch SO SO stisun1.epf.ch stisun1.epf.ch () () epf.ch. epf.ch. stisun1.epf.ch. stisun1.epf.ch. stisun2.epf.ch stisun2.epf.ch stisun1.epf.ch. stisun1.epf.ch stisun2.epf.ch. stisun2.epf.ch rcsuns.epf.ch rcsuns.epf.ch rcwww.epf.ch rcwww.epf.ch CNME CNME rcsuns.epf.ch rcsuns.epf.ch rcftp.epf.ch rcftp.epf.ch CNME CNME rcsuns.epf.ch rcsuns.epf.ch ssc.epf.ch ssc.epf.ch MX MX sicmai.epf.ch sicmai.epf.ch *.di.epf.ch *.di.epf.ch MX MX sicmai.epf.ch sicmai.epf.ch in-addr.arpa in-addr.arpa PTR PTR rcsuns.epf.ch rcsuns.epf.ch (other (other records records ) ) 15 Name Server gorithm (1) RFC 1034 says: 1. Set or cear the vaue of recursion avaiabe in the response depending on whether the name server is wiing to provide recursive service. If recursive service is avaiabe and requested via the RD bit in the query, go to step 5, otherwise step Search the avaiabe zones for the zone which is the nearest ancestor to QNME. If such a zone is found, go to step 3, otherwise step Start matching down, abe by abe, in the zone. The matching process can terminate severa ways: a. If the whoe of QNME is matched, we have found the node. If the data at the node is a CNME, and QTYPE doesn't match CNME, copy the CNME RR into the answer section of the response, change QNME to the canonica name in the CNME RR, and go back to step 1. Otherwise, copy a RRs which match QTYPE into the answer section and go to step 6. b. If a match woud take us out of the authoritative data, we have a referra. This happens when we encounter a node with RRs marking cuts aong the bottom of a zone. Copy the RRs for the subzone into the authority section of the repy. Put whatever addresses are avaiabe into the additiona section, using gue RRs if the addresses are not avaiabe from authoritative data or the cache. Go to step 4. 16

9 D Name Server gorithm (2) c. If at some abe, a match is impossibe (i.e., the corresponding abe does not exist), ook to see if a the "*" abe exists. If the "*" abe does not exist, check whether the name we are ooking for is the origina QNME in the query or a name we have foowed due to a CNME. If the name is origina, set an authoritative name error in the response and exit. Otherwise just exit. If the "*" abe does exist, match RRs at that node against QTYPE. If any match, copy them into the answer section, but set the owner of the RR to be QNME, and not the node with the "*" abe. Go to step Start matching down in the cache. If QNME is found in the cache, copy a RRs attached to it that match QTYPE into the answer section. If there was no deegation from authoritative data, ook for the best one from the cache, and put it in the authority section. Go to step Using the oca resover or a copy of its agorithm (see resover section of this memo) to answer the query. Store the resuts, incuding any intermediate CNMEs, in the answer section of the response. 6. Using oca data ony, attempt to add other RRs which may be usefu to the additiona section of the query. Exit. Name Resoution 18 o ppication requests name resoution on oca host resover sends query to name server /etc/resov.conf on many systems points to the name server if no pointer, then oca host activates its own name server resover usuay requests recursive query response is processed unti an answer is found name server acting recursivey pays the roe of a resover for that query host resovers usuay do not cache responses (stub resovers), but name servers do (fu resovers)

10 D D Components Overview 19 stisun1 query query Foreign Name Server User Program resp. Fu Resover response rcsuns Stub Resover disun3 Stub Resover recursive query response recursive query response Master Fie cache addition reference Name Server Shared Database reference refresh query maintenance query/response response stisun2 Foreign Resover Other Name Server for same zone(s) References : D 20 o Hasa, chapter 13.2 o RFCs: 1032, 1033, 1034, 1035, 1591 o nsookup, host, resover, named

11 D NetBIOS 21 o Windows uses NetBIOS for transactions and distributed fie system o NetBIOS is a programming interface (as Sockets is) which uses NetBIOS names instead of (IP address, port number) exampe: ICRE, IC118PC29 o name resoution was done originay by LN broadcast o in modern instaations, done by NetBIOS name server WI D: Concusion 22 o high eve names goba word-wide decoupe names used by humans from IP addresses names not reated to routing decoupe ogica names from machine names o distributed database with simpe database mechanisms oose consistency in records strict hierarchica database with zone concept high survivabiity thanks to repication within one zone caching to improve performance o D has become a key component of the Internet survivabiity and security are key issues

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

Motivation. Domain Name System (DNS) Flat Namespace. Hierarchical Namespace Motivation Domain Name System (DNS) IP addresses hard to remember Meaningful names easier to use Assign names to IP addresses Name resolution map names to IP addresses when needed Namespace set of all

More information

DNS : Domain Name System

DNS : Domain Name System 1/30 DNS : Domain Name System Surasak Sanguanpong nguan@.ac.th http://www...ac.th/~nguan Last updated: May 24, 1999 Outline 2/30 DNS basic name space name resolution process protocol configurations Why

More information

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

Domain Name System. CS 571 Fall 2006. 2006, Kenneth L. Calvert University of Kentucky, USA All rights reserved 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

More information

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. Application Protocols in the TCP/IP Reference Model. DNS - Concept. DNS - Domain Name System Application Protocols in the TCP/IP Reference Model Application Protocols in the TCP/IP Reference Model File Transfer E-Mail Network Management Protocols of the application layer are common communication

More information

Application Protocols in the TCP/IP Reference Model

Application Protocols in the TCP/IP Reference Model Application Protocols in the TCP/IP Reference Model File Transfer E-Mail Network Management WWW Virtual Terminal Name Service File Transfer HTTP FTP Telnet SMTP DNS SNMP TFTP Internet protocols TCP UDP

More information

THE DOMAIN NAME SYSTEM DNS

THE DOMAIN NAME SYSTEM DNS Announcements THE DOMAIN NAME SYSTEM DNS Internet Protocols CSC / ECE 573 Fall, 2005 N. C. State University copyright 2005 Douglas S. Reeves 2 Today s Lecture I. Names vs. Addresses II. III. IV. The Namespace

More information

DNS Domain Name System

DNS Domain Name System Domain Name System DNS Domain Name System The domain name system is usually used to translate a host name into an IP address Domain names comprise a hierarchy so that names are unique, yet easy to remember.

More information

The Domain Name System

The Domain Name System 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

More information

The Domain Name System (DNS)

The Domain Name System (DNS) The Domain Name System (DNS) Columbus, OH 43210 Jain@CIS.Ohio-State.Edu http://www.cis.ohio-state.edu/~jain/ 24-1 Overview Naming hierarchy hierarchy Name resolution Other information in name servers 24-2

More information

TCP/IP Gateways and Firewalls

TCP/IP Gateways and Firewalls Gateways and Firewas 1 Gateways and Firewas Prof. Jean-Yves Le Boudec Prof. Andrzej Duda ICA, EPFL CH-1015 Ecubens http://cawww.epf.ch Gateways and Firewas Firewas 2 o architecture separates hosts and

More information

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

Application Protocols in the TCP/IP Reference Model. Application Protocols in the TCP/IP Reference Model. DNS - Domain Name System Application Protocols in the TCP/IP Reference Model Application Protocols in the TCP/IP Reference Model File Transfer E-Mail Network Management Protocols of the application layer are common communication

More information

Lecture 2 CS 3311. An example of a middleware service: DNS Domain Name System

Lecture 2 CS 3311. An example of a middleware service: DNS Domain Name System Lecture 2 CS 3311 An example of a middleware service: DNS Domain Name System The problem Networked computers have names and IP addresses. Applications use names; IP uses for routing purposes IP addresses.

More information

Introduction to the Domain Name System

Introduction to the Domain Name System CHAPTER 14 The Domain Name System (DNS) handles the growing number of Internet users. DNS translates names, such as www.cisco.com, into IP addresses, such as 192.168.40.0 (or the more extended IPv6 addresses),

More information

Domain Name System (DNS)

Domain Name System (DNS) Chapter 18 CSC465 Computer Networks Spring 2004 Dr. J. Harrison These slides are based on the text TCP/IP Protocol Suite (2 nd Edition) Domain Name System (DNS) CONTENTS NAME SPACE DOMAIN NAME SPACE DISTRIBUTION

More information

Introduction to DNS CHAPTER 5. In This Chapter

Introduction to DNS CHAPTER 5. In This Chapter 297 CHAPTER 5 Introduction to DNS Domain Name System (DNS) enables you to use hierarchical, friendly names to easily locate computers and other resources on an IP network. The following sections describe

More information

DNS Conformance Test Specification For Client

DNS Conformance Test Specification For Client DNS Conformance Test Specification For Client Revision 1.0 Yokogawa Electric Corporation References This test specification focus on following DNS related RFCs. RFC 1034 DOMAIN NAMES - CONCEPTS AND FACILITIES

More information

Internetworking with TCP/IP Unit 10. Domain Name System

Internetworking with TCP/IP Unit 10. Domain Name System Unit 10 Domain Name System Structure 10.1 Introduction 10.2 Fully Qualified Domain Names (FQDNs) Generic Domains Country Domains 10.3 Mapping domain names to IP addresses 10.4 Mapping IP Addresses to Domain

More information

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

Domain Name System. 188lecture12.ppt. Pirkko Kuusela, Markus Peuhkuri, Jouni Karvo Domain Name System 88lecture2.ppt Pirkko Kuusela, Markus Peuhkuri, Jouni Karvo S-38.88 - Computer Networks - Spring 2003 Outline What and why? Structure of DNS Management of Domain Names Name Service in

More information

19 Domain Name System (DNS)

19 Domain Name System (DNS) CHAPTER 9 Domain Name System (DNS) I n this chapter, we discuss the second application program, Domain Name System (DNS). DNS is a client/server application program used to help other application programs.

More information

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

Hostnames. HOSTS.TXT was a bottleneck. Once there was HOSTS.TXT. CSCE515 Computer Network Programming. Hierarchical Organization of DNS Hostnames CSCE 515: Computer Network Programming ------ Address Conversion Function and DNS RFC 1034, RFC 1035 Wenyuan Xu http://www.cse..edu/~wyxu/ce515f07.html Department of Computer Science and Engineering

More information

The Domain Name System

The Domain Name System DNS " This is the means by which we can convert names like news.bbc.co.uk into IP addresses like 212.59.226.30 " Purely for the benefit of human users: we can remember numbers (e.g., telephone numbers),

More information

ECE 4321 Computer Networks. Network Programming

ECE 4321 Computer Networks. Network Programming ECE 4321 Computer Networks Network Programming Name Space System.Net Domain Name System (DNS) To resolve computer naming Host database is split up and distributed among multiple systems on the Internet

More information

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

DNS. Computer networks - Administration 1DV202. fredag 30 mars 12 DNS Computer networks - Administration 1DV202 DNS History Who needs DNS? The DNS namespace How DNS works The DNS database The BIND software Server and client configuration The history of DNS RFC 882 and

More information

Internet-Praktikum I Lab 3: DNS

Internet-Praktikum I Lab 3: DNS Kommunikationsnetze Internet-Praktikum I Lab 3: DNS Mark Schmidt, Andreas Stockmayer Sommersemester 2015 kn.inf.uni-tuebingen.de Motivation for the DNS Problem IP addresses hard to remember for humans

More information

DNS - Domain Name System

DNS - Domain Name System DNS - Domain Name System TCP/IP class 1 outline introduction naming scheme protocol format record types how it works reverse lookup implementation - named config files summary - futures 2 bibliography

More information

SNMP Reference Guide for Avaya Communication Manager

SNMP Reference Guide for Avaya Communication Manager SNMP Reference Guide for Avaya Communication Manager 03-602013 Issue 1.0 Feburary 2007 2006 Avaya Inc. A Rights Reserved. Notice Whie reasonabe efforts were made to ensure that the information in this

More information

Understand Names Resolution

Understand Names Resolution Understand Names Resolution Lesson Overview In this lesson, you will learn about: Domain name resolution Name resolution process steps DNS WINS Anticipatory Set 1. List the host name of 4 of your favorite

More information

CS640: Computer Networks. Naming /ETC/HOSTS

CS640: Computer Networks. Naming /ETC/HOSTS CS640: Computer Networks Aditya Akella Lecture 17 Naming and the DNS Naming Need naming to identify resources Once identified, resource must be located How to name resource? Naming hierarchy How do we

More information

Domain Name System (DNS) Fundamentals

Domain Name System (DNS) Fundamentals Domain Name System (DNS) Fundamentals Mike Jager Network Startup Resource Center mike.jager@synack.co.nz These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International

More information

Applications and Services. DNS (Domain Name System)

Applications and Services. DNS (Domain Name System) Applications and Services DNS (Domain Name Service) File Transfer Protocol (FTP) Simple Mail Transfer Protocol (SMTP) Malathi Veeraraghavan Distributed database used to: DNS (Domain Name System) map between

More information

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

Chapter 25 Domain Name System. 25.1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 25 Domain Name System 25.1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 25.2 Figure 25.1 Example of using the DNS service 25-1 NAME SPACE To be unambiguous,

More information

Advanced ColdFusion 4.0 Application Development - 3 - Server Clustering Using Bright Tiger

Advanced ColdFusion 4.0 Application Development - 3 - Server Clustering Using Bright Tiger Advanced CodFusion 4.0 Appication Deveopment - CH 3 - Server Custering Using Bri.. Page 1 of 7 [Figures are not incuded in this sampe chapter] Advanced CodFusion 4.0 Appication Deveopment - 3 - Server

More information

Automated domain name registration: DNS background information

Automated domain name registration: DNS background information IBM eserver Automated domain name registration: DNS background information ^business on demand software ADNRbackground.ppt Page 1 of 14 Overview of z/os DNS solutions Two z/os name servers supported ƒdns

More information

Teldat Router. DNS Client

Teldat Router. DNS Client Teldat Router DNS Client Doc. DM723-I Rev. 10.00 March, 2003 INDEX Chapter 1 Domain Name System...1 1. Introduction...2 2. Resolution of domains...3 2.1. Domain names resolver functionality...4 2.2. Functionality

More information

DNS ActiveX Control for Microsoft Windows. Copyright Magneto Software All rights reserved

DNS ActiveX Control for Microsoft Windows. Copyright Magneto Software All rights reserved DNS ActiveX Control for Microsoft Windows Copyright Magneto Software All rights reserved 1 DNS Overview... 3 1.1 Introduction... 3 1.2 Usage... 3 1.3 Property... 4 1.4 Event... 4 1.5 Method... 4 1.6 Error

More information

Forouzan: Chapter 17. Domain Name System (DNS)

Forouzan: Chapter 17. Domain Name System (DNS) Forouzan: Chapter 17 Domain Name System (DNS) Domain Name System (DNS) Need System to map name to an IP address and vice versa We have used a host file in our Linux laboratory. Not feasible for the entire

More information

DNS. Computer Networks. Seminar 12

DNS. Computer Networks. Seminar 12 DNS Computer Networks Seminar 12 DNS Introduction (Domain Name System) Naming system used in Internet Translate domain names to IP addresses and back Communication works on UDP (port 53), large requests/responses

More information

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

netkit lab dns Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group Version Author(s) Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group netkit lab dns Version Author(s) E-mail Web Description 2.2 G. Di Battista, M. Patrignani, M.

More information

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

CS 348: Computer Networks. - DNS; 22 nd Oct 2012. Instructor: Sridhar Iyer IIT Bombay CS 348: Computer Networks - DNS; 22 nd Oct 2012 Instructor: Sridhar Iyer IIT Bombay Domain Name System Map between host names and IP addresses People: many identifiers: name, Passport #, Internet hosts:

More information

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

Introduction BIND. The DNS Protocol. History (1) DNS. History (2) Agenda History (1) DNS Domain Name System The Internet's Name Service even in the early days of the Internet, hosts have been also identified by s e.g. /etc/hosts.txt file on UNIX systems all s have been maintained

More information

CS3250 Distributed Systems

CS3250 Distributed Systems CS3250 Distributed Systems Lecture 4 More on Network Addresses Domain Name System DNS Human beings (apart from network administrators and hackers) rarely use IP addresses even in their human-readable dotted

More information

- Domain Name System -

- Domain Name System - 1 Name Resolution - Domain Name System - Name resolution systems provide the translation between alphanumeric names and numerical addresses, alleviating the need for users and administrators to memorize

More information

Subverting BIND s SRTT algorithm Derandomizing NS selection

Subverting BIND s SRTT algorithm Derandomizing NS selection Subverting BIND s SRTT algorithm Derandomizing NS selection Roee Hay roeeh@il.ibm.com Jonathan Kalechstein kalechstain@gmail.com Gabi Nakibly, Ph.D. gnakibly@cs.technion.ac.il April 14, 2013 Abstract.

More information

1 DNS Packet Structure

1 DNS Packet Structure Fundamentals of Computer Networking Project 1 Primer: DNS Overview CS4700/CS5700 Fall 2009 17 September 2009 The DNS protocol is well-documented online, however, we describe the salient pieces here for

More information

Coordinación. The background image of the cover is desgned by http://www.freepik.com/ GUIDE TO DNS SECURITY 2

Coordinación. The background image of the cover is desgned by http://www.freepik.com/ GUIDE TO DNS SECURITY 2 Autor Antonio López Padilla Coordinación Daniel Fírvida Pereira This publication belongs to INTECO (Instituto Nacional de Tecnologías de la Comunicación) and is under an Attribution- NonCommercial 3.0

More information

The Domain Name System (DNS)

The Domain Name System (DNS) The Domain Name System (DNS) Each Internet host is assigned a host name and an IP address Host names are structured character strings, e.g., www.cs.iastate.edu IP addresses are 32 bit integers, e.g., 129.186.3.6

More information

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

Domain Name System 2015-04-28 17:49:44 UTC. 2015 Citrix Systems, Inc. All rights reserved. Terms of Use Trademarks Privacy Statement Domain Name System 2015-04-28 17:49:44 UTC 2015 Citrix Systems, Inc. All rights reserved. Terms of Use Trademarks Privacy Statement Contents Domain Name System... 4 Domain Name System... 5 How DNS Works

More information

Domain Name Server. Training Division National Informatics Centre New Delhi

Domain Name Server. Training Division National Informatics Centre New Delhi Domain Name Server Training Division National Informatics Centre New Delhi Domain Name Service (DNS) I. History of DNS II. DNS structure and its components III. Functioning of DNS IV. Possible Configurations

More information

Domain Name System (DNS) Session-1: Fundamentals. Ayitey Bulley abulley@ghana.com

Domain Name System (DNS) Session-1: Fundamentals. Ayitey Bulley abulley@ghana.com Domain Name System (DNS) Session-1: Fundamentals Ayitey Bulley abulley@ghana.com Computers use IP addresses. Why do we need names? Names are easier for people to remember Computers may be moved between

More information

APNIC elearning: Reverse DNS for IPv4 and IPv6

APNIC elearning: Reverse DNS for IPv4 and IPv6 APNIC elearning: Reverse DNS for IPv4 and IPv6 06 OCT 2015 11:00 AM AEST Brisbane (UTC+10) Issue Date: 07 July 2015 Revision: 2.0 Introduction Presenter Sheryl Hermoso Training Officer sheryl@apnic.net

More information

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

The Application Layer. CS158a Chris Pollett May 9, 2007. The Application Layer CS158a Chris Pollett May 9, 2007. Outline DNS E-mail More on HTTP The Domain Name System (DNS) To refer to a process on the internet we need to give an IP address and a port. These

More information

Introduction to Network Operating Systems

Introduction to Network Operating Systems As mentioned earlier, different layers of the protocol stack use different kinds of addresses. We can now see that the Transport Layer (TCP) uses port addresses to route data to the correct process, the

More information

More Internet Support Protocols

More Internet Support Protocols Domain Name System (DNS) Ch 2.5 More Internet Support Protocols Problem statement: Average brain can easily remember 7 digits On average, IP addresses have 10.28 digits We need an easier way to remember

More information

Motivation. Users can t remember IP addresses. Implemented by library functions & servers. - Need to map symbolic names (www.stanford.

Motivation. Users can t remember IP addresses. Implemented by library functions & servers. - Need to map symbolic names (www.stanford. Motivation 2 cs.princeton.edu User 1 user @ cs.princeton.edu Name server Mail program 192.12.69.5 3 TCP 192.12.69.5 4 192.12.69.5 5 IP Users can t remember IP addresses - Need to map symbolic names (www.stanford.edu)

More information

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

Domain Name System E-mail WWW. Application Layer. Mahalingam Ramkumar Mississippi State University, MS. September 15, 2014. Application Layer Mahalingam Mississippi State University, MS September 15, 2014 Outline 1 DNS Records DNS Components 2 Message Transfer Fetching Emails 3 Applications We will focus on 3 applications DNS

More information

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

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

More information

Chapter 24 The Domain Name System (DNS)

Chapter 24 The Domain Name System (DNS) Chapter 24 The Domain Name System (DNS) Columbus, OH 43210 Jain@CIS.Ohio-State.Edu http://www.cis.ohio-state.edu/~jain/ 24-1 Overview Naming hierarchy Server hierarchy Name resolution Other information

More information

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

Domain Name System. DNS is an example of a large scale client-server application. Copyright 2014 Jim Martin Domain Name System: DNS Objective: map names to IP addresses (i.e., high level names to low level names) Original namespace was flat, didn t scale.. Hierarchical naming permits decentralization by delegating

More information

How to Add Domains and DNS Records

How to Add Domains and DNS Records How to Add Domains and DNS Records Configure the Barracuda NextGen X-Series Firewall to be the authoritative DNS server for your domains or subdomains to take advantage of Split DNS or dead link detection.

More information

Networking Domain Name System

Networking Domain Name System IBM i Networking Domain Name System Version 7.2 IBM i Networking Domain Name System Version 7.2 Note Before using this information and the product it supports, read the information in Notices on page

More information

Use Domain Name System and IP Version 6

Use Domain Name System and IP Version 6 Use Domain Name System and IP Version 6 What You Will Learn The introduction of IP Version 6 (IPv6) into an enterprise environment requires some changes both in the provisioned Domain Name System (DNS)

More information

Lecture 7 Datalink Ethernet, Home. Datalink Layer Architectures

Lecture 7 Datalink Ethernet, Home. Datalink Layer Architectures Lecture 7 Dataink Ethernet, Home Peter Steenkiste Schoo of Computer Science Department of Eectrica and Computer Engineering Carnegie Meon University 15-441 Networking, Spring 2004 http://www.cs.cmu.edu/~prs/15-441

More information

Computer Networks Prof. S. Ghosh Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture - 34 DNS & Directory

Computer Networks Prof. S. Ghosh Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture - 34 DNS & Directory Computer Networks Prof. S. Ghosh Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture - 34 DNS & Directory Good day. Today we will take up two topics, DNS and

More information

Networking Domain Name System

Networking Domain Name System System i Networking Domain Name System Version 5 Release 4 System i Networking Domain Name System Version 5 Release 4 Note Before using this information and the product it supports, read the information

More information

Goal of this session

Goal of this session DNS refresher Overview Goal of this session What is DNS? How is DNS built and how does it work? How does a query work? Record types Caching and Authoritative Delegation: domains vs zones Finding the error:

More information

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

DNS & IPv6. Agenda 4/14/2009. MENOG4, 8-9 April 2009. Raed Al-Fayez SaudiNIC CITC rfayez@citc.gov.sa, www.nic.net.sa. DNS & IPv6. DNS & IPv6 MENOG4, 8-9 April 2009 Raed Al-Fayez SaudiNIC CITC rfayez@citc.gov.sa, www.nic.net.sa Agenda DNS & IPv6 Introduction What s next? SaudiNIC & IPv6 About SaudiNIC How a cctld Registry supports

More information

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

HTG XROADS NETWORKS. Network Appliance How To Guide: DNS Delegation. How To Guide HTG X XROADS NETWORKS Network Appliance How To Guide: DNS Delegation How To Guide DNS Delegation (The Simple Redundancy Solution) The key requirement when performing DNS based network redundancy and load

More information

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

Agenda. Network Services. Domain Names. Domain Name. Domain Names Domain Name System Internationalized Domain Names. Domain Names & DNS Agenda Network Services Domain Names & DNS Domain Names Domain Name System Internationalized Domain Names Johann Oberleitner SS 2006 Domain Names Naming of Resources Problems of Internet's IP focus IP

More information

IPv6 support in the DNS

IPv6 support in the DNS IPv6 support in the DNS How important is the DNS? Getting the IP address of the remote endpoint is necessary for every communication between TCP/IP applications Humans are unable to memorize millions of

More information

DNS + DHCP. Michael Tsai 2015/04/27

DNS + DHCP. Michael Tsai 2015/04/27 DNS + DHCP Michael Tsai 2015/04/27 lubuntu.ova http://goo.gl/bax8b8 DNS + DHCP DNS: domain name < > IP address DHCP: gives you a IP + configuration when you joins a new network DHCP = Dynamic Host Configuration

More information

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

what s in a name? taking a deeper look at the domain name system mike boylan penn state mac admins conference what s in a name? taking a deeper look at the domain name system mike boylan penn state mac admins conference whoami work for robert morris university, pittsburgh, pa primarily mac and voip admin @mboylan

More information

Domain Name System (DNS) RFC 1034 RFC 1035 http://www.ietf.org

Domain Name System (DNS) RFC 1034 RFC 1035 http://www.ietf.org Domain Name System (DNS) RFC 1034 RFC 1035 http://www.ietf.org TCP/IP Protocol Suite Application Layer DHCP DNS SNMP HTTP SMTP POP Transport Layer UDP TCP ICMP IGMP Network Layer IP Link Layer ARP ARP

More information

The Domain Name System

The Domain Name System 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

More information

Chapter 8. Configuring the DNS Server

Chapter 8. Configuring the DNS Server Chapter 8. Configuring the DNS Server The Domain Name System (DNS) server commonly referred to as simply a name server maps a host name to an internet address or an internet address to a host name. To

More information

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

IPv6 Support in the DNS. Workshop Name Workshop Location, Date IPv6 Support in the DNS Workshop Name Workshop Location, Date Agenda How important is the DNS? DNS Resource Lookup DNS Extensions for IPv6 Lookups in an IPv6-aware DNS Tree About Required IPv6 Glue in

More information

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

IP addresses have hierarchy (network & subnet) Internet names (FQDNs) also have hierarchy. and of course there can be sub-sub-!! The Domain Hierarchy IP addresses have hierarchy (network & subnet) Internet names (FQDNs) also have hierarchy the general form for a fully qualified name is and of course there can be sub-sub-!! -sub-domains

More information

Overview. Principles Creating reverse zones Setting up nameservers Reverse delegation procedures IPv6 Reverse DNS

Overview. Principles Creating reverse zones Setting up nameservers Reverse delegation procedures IPv6 Reverse DNS Reverse DNS Overview Principles Creating reverse zones Setting up nameservers Reverse delegation procedures IPv6 Reverse DNS What is Reverse DNS? Forward DNS maps names to numbers svc00.apnic.net -> 202.12.28.131

More information

Domain Name System Richard T. B. Ma

Domain Name System Richard T. B. Ma Domain Name System Richard T. B. Ma School of Computing National University of Singapore CS 3103: Compute Networks and Protocols Names Vs. Addresses Names are easier for human to remember www.comp.nus.edu.sg

More information

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

Part 5 DNS Security. SAST01 An Introduction to Information Security 2015-09-21. Martin Hell Department of Electrical and Information Technology SAST01 An Introduction to Information Security Part 5 DNS Security Martin Hell Department of Electrical and Information Technology How DNS works Amplification attacks Cache poisoning attacks DNSSEC 1 2

More information

DNS and DHCP. 14 October 2008 University of Reading 2006 www.reading.ac.uk

DNS and DHCP. 14 October 2008 University of Reading 2006 www.reading.ac.uk DNS and DHCP 14 October 2008 University of Reading 2006 www.reading.ac.uk Contents Introduction DNS at the University of Reading DHCP myths DHCP at the University of Reading 2 Introduction DNS: Domain

More information

How do I get to www.randomsite.com?

How do I get to www.randomsite.com? Networking Primer* *caveat: this is just a brief and incomplete introduction to networking to help students without a networking background learn Network Security. How do I get to www.randomsite.com? Local

More information

Networking Domain Name System

Networking Domain Name System System i Networking Domain Name System Version 6 Release 1 System i Networking Domain Name System Version 6 Release 1 Note Before using this information and the product it supports, read the information

More information

Avaya Remote Feature Activation (RFA) User Guide

Avaya Remote Feature Activation (RFA) User Guide Avaya Remote Feature Activation (RFA) User Guide 03-300149 Issue 5.0 September 2007 2007 Avaya Inc. A Rights Reserved. Notice Whie reasonabe efforts were made to ensure that the information in this document

More information

DNS: Domain Name System

DNS: Domain Name System DNS: Domain Name System CMPSCI 491G: Computer Networking Lab V. Arun Slides adapted from Liebeherr & Zarki, Kurose & Ross, Kermani DNS: domain name system people: many identifiers: SSN, name, passport

More information

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

Table of Contents DNS. How to package DNS messages. Wire? DNS on the wire. Some advanced topics. Encoding of domain names. Table of Contents DNS Some advanced topics Karst Koymans Informatics Institute University of Amsterdam (version 154, 2015/09/14 10:44:10) Friday, September 11, 2015 DNS on the wire Encoding of domain names

More information

A short guide to making a medical negligence claim

A short guide to making a medical negligence claim A short guide to making a medica negigence caim Introduction Suffering from an incident of medica negigence is traumatic and can have a serious ong-term impact on both the physica and menta heath of affected

More information

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

Names vs. Addresses. Flat vs. Hierarchical Space. Domain Name System (DNS) Computer Networks. Lecture 5: Domain Name System Names vs. Addresses Computer Networks Lecture 5: Domain Name System Names are easier for human to remember www.umich.edu vs. 141.213.4.4 Addresses can be changed without changing names move www.umich.edu

More information

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

Chapter 9: Name Services. 9.1 Introduction 9.2 Name services and the DNS 9.3 Directory services 9.6 Summary Chapter 9: Name Services 9.1 Introduction 9.2 Name services and the DNS 9.3 Directory services 9.6 Summary Learning objectives To understand the need for naming systems in distributed systems To be familiar

More information

NET0183 Networks and Communications

NET0183 Networks and Communications NET0183 Networks and Communications Lecture 25 DNS Domain Name System 8/25/2009 1 NET0183 Networks and Communications by Dr Andy Brooks DNS is a distributed database implemented in a hierarchy of many

More information

How to Configure DNS Zones

How to Configure DNS Zones How to Configure DNS Zones The Barracuda NG Firewall DNS configuration object contains two predefined zones: _template and. To be able to edit and specify DNS zones within the Barracuda NG Firewall DNS

More information

416 Distributed Systems. Feb 24, 2016 DNS and CDNs

416 Distributed Systems. Feb 24, 2016 DNS and CDNs 416 Distributed Systems Feb 24, 2016 DNS and CDNs Outline DNS Design Content Distribution Networks 2 Naming How do we efficiently locate resources? DNS: name à IP address Challenge How do we scale this

More information

A guide to understanding Childcare Proceedings

A guide to understanding Childcare Proceedings A guide to understanding Chidcare Proceedings About this guide Care Proceedings are one of the most traumatic and emotiona episodes that can happen in anyone s ife. When Chidren s Services (formery Socia

More information

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

DNS Session 4: Delegation and reverse DNS. Joe Abley AfNOG 2006 workshop DNS Session 4: Delegation and reverse DNS Joe Abley AfNOG 2006 workshop How do you delegate a subdomain? In principle straightforward: just insert NS records for the subdomain, pointing at someone else's

More information

Windows 2008 Server. Domain Name System Administración SSII

Windows 2008 Server. Domain Name System Administración SSII Windows 2008 Server Domain Name System Administración SSII Contenidos Introducción Configuración DNS Transferencia de zona Herramientas DNS Introducción Domain Name System is a hierarchical distributed

More information

Configuring the BIND name server (named) Configuring the BIND resolver Constructing the name server database files

Configuring the BIND name server (named) Configuring the BIND resolver Constructing the name server database files Configuring DNS BIND: UNIX Name Service Configuring the BIND name server (named) Configuring the BIND resolver Constructing the name server database files Zone: a collection of domain information contained

More information

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

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2 How DNS Works 210 out of 241 rated this helpful Updated: March 28, 2003 Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2 How DNS Works

More information

Application-layer Protocols

Application-layer Protocols Application-layer Protocols Based on Notes by D. Hollinger Based on UNIX Network Programming, Stevens, Chapter 9 Also Java Network Programming and Distributed Computing, Chapter 3,8 Also Online Java Tutorial,

More information

KB259302 - Windows 2000 DNS Event Messages 1 Through 1614

KB259302 - Windows 2000 DNS Event Messages 1 Through 1614 Page 1 of 6 Knowledge Base Windows 2000 DNS Event Messages 1 Through 1614 PSS ID Number: 259302 Article Last Modified on 10/29/2003 The information in this article applies to: Microsoft Windows 2000 Server

More information

Module 2. Configuring and Troubleshooting DNS. Contents:

Module 2. Configuring and Troubleshooting DNS. Contents: Configuring and Troubleshooting DNS 2-1 Module 2 Configuring and Troubleshooting DNS Contents: Lesson 1: Installing the DNS Server Role 2-3 Lesson 2: Configuring the DNS Server Role 2-9 Lesson 3: Configuring

More information

Introduction to DNS and Application Issues related to DNS. Kirk Farquhar

Introduction to DNS and Application Issues related to DNS. Kirk Farquhar Introduction to DNS and Application Issues related to DNS Kirk Farquhar 1 Content What is DNS? How it all works Setting up your domain Creating your nameserver files The Resolver Testing Firewall configuration

More information