by telnet E.g., the machine fraser has IP address You can login to fraser from anywhere in the world

Size: px
Start display at page:

Download "by telnet 142.58.110.2. 1 E.g., the machine fraser has IP address 142.58.110.2. You can login to fraser from anywhere in the world"

Transcription

1 Naming and Look-Up Service Host addresses and Port numbers A client requiring a service needs to lote a server that will provide the desired service. In JavaRMI discussed in 3.3, rmiregistry provided a limited form of name service. First of all, we need a unique network address bound to each host (machine). IP addresses: Used in the Internet and are universally accepted. 32 bits long (compact). Dotted decimal notation: each of the four parts in an IP address is the decimal representation of a one-byte bit pattern. Theoretilly, 2 32 ( ) addresses are possible under this address scheme, but only a small fraction is usable. So, giving unique transport addresses to all servers is not difficult: use a two-part structure, e.g., (host address,port#), where port# indites the port on which the server is listening. On any machine attached to the Internet, host address is its IP address. 1 See Unix gethostbyname(3n). The port numbers are reserved for system-provided services, which are the same regardless of the host. Listed below are some well-known addresses (see /etc/services in a Unix machine.): A user n pick an arbitrary 16-bit port numbers ( 1024) to name a new server (accessed by RPC). In Unix, you n then register the service by lling the portmapper which listens on the well-kown port 111. (Its role is similar to that of rmiregistry, which listens on port 1099 by default.) Clients n ask the portmapper for the port number of a particular server by presenting its program number. The addresses of system-provided services on a remote host (that is known to the lol host) n be obtained by consulting the two databases, /etc/hosts for the (host name, IP address) pairs and /etc/services for the port numbers of different available services. 1 E.g., the machine fraser has IP address You n login to fraser from anywhere in the world by telnet

2 CMPT401 Chapter 3, Summer Name Port # Description rjd 5 Remote job entry echo 7 Echo users 11 List active users daytme 13 Day and time ftp-data 20 File transfer (data) ftp 21 File transfer (control) telnet 23 Virtual terminal smtp 25 Simple Mail Transfer time 37 Time service name 42 Host name server whois 43 Find nickname domain 53 DNS server bootps 67 Bootstrap protocol server bootpc 68 Bootstrap protocol client tftp 69 Trivial (or simplified) ftp finger 79 Information service about users http 80 HTTP server hostnames 101 NIC host name server ISO-tsap 102 ISO TSAP X X400 name server X400SND 104 X400.SND pop2 109 Post office protocol 2 pop3 110 Post office protocol 3 portmapper 111 Sun RPC portmapper netbios-ns 137 NETBIOS name service netbios-dg 138 NETBIOS datagram service netbios-ss 139 NETBIOS session service login 513 Unix login service shell 514 Unix shell talk 517 Unix talk service Common Interner Port Numbers Name service Requiring users to use numeric addresses of the servers creates some problems. Besides being difficult to remember, if the host IP address of a server machine is bound into the client program at compile time, replacing the server (e.g., due to repair work) by another machine necessitates the recompilation of every client program that lls it. A name server was introduced to solve this problem. Like rmiregistry, a name server accepts registration of dynamilly created service names and their addresses and helps clients in looking up servers which provide the desired service. The RMI registry requires at least one registry server in each server machine, which may not be practil. In ARPANET, the predecessor to the Internet, flat (i.e., non-hierarchil) naming was used, and a file hosts.txt was maintained at the NIC (Network Information Centre) and all hosts would

3 CMPT401 Chapter 3, Summer fetch it every night. For a network of a few hundred hosts, this was satisfactory (up to 1983), but clearly, this didn t sle well. 2 Definitions Name: Human-friendly denotation, e.g., file and service names. Address: where an object n be found, e.g., IP address. Many names (e.g., aliases) n have the same address, and the same name n have multiple addresses. 3 Name resolution: Name address mapping, e.g., telnet port 23, fraser Address resolution: Address route mapping DNS - The Internet Domain Name System In this subsection, we consider the Internet DNS, which, unlike RMI Registry, n work in large-sle distributed systems. It has the following features: 1. User friendly structured textual names (instead of numbers). 2. Distributed database (of name-mapping) under lol control. Hierarchil names prevents name collision. 3. Changes to the database require little overhead. 4. Slable, robust (replited service) and adequate performance (ching) Internet domain names (e.g., orion.csil.sfu.). Hierarchil and user-friendly. Similar to postal addresses or Unix paths. Each node in the hierarchy represents a domain, consisting of the subtree rooted at the node. 4 Component names 63 characters, the total length 255 characters. The top-level domains: several hundred domains, including com, edu, gov, org, mil, net, int (certain international organizations), as well as abbreviated country names, e.g.,, hk, jp, us. Since.com beme very crowded, recently, new top-level domains, biz, name, info, museum, etc. have been added. To obtain a domain under one of the top-level domains, an applition must be made to the NIC. However, creating subdomains under such a granted domain requires no additional permission. This is similar to IP address assignment to an organization by NIC. Within the assigned network address space, the organization is free to create subnetworks or assign IP addresses to hosts. However, subnets and subdomains are not related: Creating one does not imply creating the other. 2 In 1986, the number of hosts attached to the Internet was 3,100, and in 1995, it was about 4 million. 3 A router, for example, has an IP address in each network it belongs to. 4 A leaf domain is the name of some object, e.g., a host.

4 CMPT401 Chapter 3, Summer au edu com... sfu ubc ec uoft cs English library wormhole css fornax Figure 7: DNS hierarchy. Currently (as of 2000) there are 13 root servers, i.e., name servers for the root zone. 5 NAME Lotion Organization A.ROOT-SERVERS.NET internic.net InterNIC B.ROOT-SERVERS.NET isi.edu Information Science Institute (USC) C.ROOT-SERVERS.NET psi.net PSINet D.ROOT-SERVERS.NET umd.edu University of Maryland E.ROOT-SERVERS.NET nasa.gov NASA F.ROOT-SERVERS.NET isc.org Internet Software Consortium G.ROOT-SERVERS.NET nic.mil NIC, Dept. of Defence H.ROOT-SERVERS.NET arl.mil Army Research Laboratory I.ROOT-SERVERS.NET sunet.se Swedish University Network J.ROOT-SERVERS.NET nsi InterNIC(tmp) K.ROOT-SERVERS.NET lynx.net RIPE NCC (LYNX INTERNET & MARKETING) L.ROOT-SERVERS.NET ep.net ISI (IANA) M.ROOT-SERVERS.NET wide.ad.jp WIDE To traverse the domain hierarchy, it is convenient to keep information about its child domains at each node. If a child is a domain consisting of a single host, then this information would be (host name, IP address) pair for the host. If the child is a subdomain, then this information would be (name server, IP address) pair for the subdomain. One major advantage of hierarchil naming is that the management (e.g., cre- 5 A zone will be defined later. As seen from Figure 8, a NS may provide mapping for more than one domain. For example, the root server is shown to provide name service not only for the root of the hierarchy, but also for all top-level domains in US, e.g., edu and com, as well. The root servers on average receive several queries per second. The busiest one receives as many as 1000 queries a second.

5 CMPT401 Chapter 3, Summer root_ns au edu com... sfu ubc ec uoft _ns sfu_ns = whistler cs English library cmpt_ns = fornax wormhole css fornax IP = d Figure 8: Name servers for zones. ation/deletion of subdomains) n be delegated to lol authorities, thus avoiding bottlenecks. Distributed NS The main problem is how to provide name service (mapping between hierarchil host names and IP addresses) to remote hosts, which is robust and without performance bottlenecks and sling problem. We will talk about the database required and the searching procedure. It is based on client-server paradigm, where the client is a lol procedure lled the resolver or a name server (NS) and the server is another NS. Database It is reasonable to assume that the NS for any domain corresponding to a LAN maintains a list of lol hosts and their IP addresses, and that each host knows about the NS for the lol domain. If, for reliability reasons, there is more than one NS in a lol domain, then all their addresses must be known to each host, so that they n be contacted one by one, in se some of them have failed. A more common solution in lol area networks, however, is for a machine to broadst a query message asking for the identity of the current name server(s), on start-up and whenever it nnot communite with the name server it knows about. The first one to respond n be used, since it is probably the least loaded. In general, a NS for a node needs to maintain a database containing: 1. All lol names (of hosts and NSs for subdomains) and their IP addresses. 2. Info on looking up some remote names. A zone is a contiguous subset of a domain, consisting of a set of subdomains adjacent in the domain tree. Each zone has one primary NS and one or more secondary NSs (for reliability and load-sharing) which copy the entire database periodilly (e.g., once a day) from the primary server. The resource records (see below) for the zone maintained by both the primary and secondary NSs are authoritative. The domain administrator enters data into the primary server s database, which percolates to the secondary by periodil downloading.

6 CMPT401 Chapter 3, Summer The same NS may look after name service for more than one zone. For simplicity, we assume that a zone consists of exactly one domain, and each domain has its own NS. Resource records DNS maintains a database of resource records (RRs) of the form Domain name Time to live Class Type Value wormhole.cs.sfu IN A Time to live is specified in seconds (e.g., = 1 day), and indites how long the ched information may be valid. 6 There are about 20 different types of RRs, including: Type Value A 32-bit host IP address MX Preference (integer), host willing to accept for the domain NS Name of a NS for this domain HINFO Host info: CPU and OS in ASCII CNAME Official name for alias Domain name (Canonil name) SOA Start of data for the zone (Start of Authority) TXT Uninterpreted ASCII text An SOA-type record marks the start of data for a zone, and contains the name of the source of information about this zone, the address of the zone administrator, and parameters specifying, e.g., how often secondary NSs should refresh their copies from the primary NS. wormhole.cs.sfu IN MX fornax.cs.sfu IN CNAME adhara.cs.sfu IN NS A.ROOT-SERVERS.NET. (Note the root domain. ) A.ROOT-SERVERS.NET A for example, is an alias, which n be used without designating a specific machine; if the current WWW server fails, another n be assigned by updating the database, without invalidating the address people use to access it. The nslookup command n be used to access information in this database. wormhole% nslookup /* Command that I type. Default Server: fornax.cs.sfu. /* These two lines are response. Address: > set type=any /* To indite that I am interested in all available info at the NS. 6 If this field is empty, it defaults to the value specified in another part of the database. If it is 0, the RR should not be ched.

7 CMPT401 Chapter 3, Summer > wormhole /* I want to get info on wormhole Server: fornax.cs.sfu. Address: wormhole.cs.sfu. internet address = wormhole.cs.sfu. preference = 10, mail exchanger = cs.sfu. cs.sfu. nameserver = fornax.cs.sfu. cs.sfu. nameserver = whistler.sfu. cs.sfu. nameserver = seymour.sfu. cs.sfu. internet address = fornax.cs.sfu. internet address = whistler.sfu. internet address = seymour.sfu. internet address = > server whistler.sfu. /* I want to talk to whistler. Server: whistler.sfu. Address: > whistler.sfu. /* Tell me about yourself. Server: whistler.sfu. Address: whistler.sfu. preference = 10, mail exchanger = rm-rstar.sfu. whistler.sfu. preference = 20, mail exchanger = wedge.sfu. whistler.sfu. internet address = sfu. nameserver = whistler.sfu. sfu. nameserver = seymour.sfu. sfu. nameserver = cheddar.ucs.ubc. rm-rstar.sfu. internet address = wedge.sfu. internet address = whistler.sfu. internet address = seymour.sfu. internet address = cheddar.ucs.ubc. internet address = > root /* I want to talk to a root Default Server: a.root-servers.net Address: >. /* What do you know about the domain.? Server: a.root-servers.net Address: Non-authoritative answer:

8 CMPT401 Chapter 3, Summer nameserver = CLOUSO.RISQ.QC. nameserver = NS2.UUNET. nameserver = RS0.INTERNIC.NET nameserver = DNS2.UTCC.UTORONTO. nameserver = RELAY.CDNNET. Authoritative answers n be found from: nameserver = CLOUSO.RISQ.QC. nameserver = NS2.UUNET. nameserver = RS0.INTERNIC.NET nameserver = DNS2.UTCC.UTORONTO. nameserver = RELAY.CDNNET. CLOUSO.RISQ.QC. internet address = NS2.UUNET. internet address = RS0.INTERNIC.NET internet address = DNS2.UTCC.UTORONTO. internet address = RELAY.CDNNET. internet address = >exit Notes: 1. Each host has the IP addresses of the lol NSs of the domain it belongs to in a system config file (/etc/resolv.conf), and 2. Each NS has the addresses of the root servers (for the top-level US domains), whose IP addresses are in a system config file, and are loaded into the DNS che when it is started and is never purged (its Time to Live is ignored). 3. A domain name (e.g., may be mapped to more than one computer for load sharing. In this se, there is one RR of type A for each such computer. To assign load equally among the servers, the NS normally returns those addresses to successive queries on a round-robin basis. This effort is somewhat spoiled if server addresses are ched. Domain name resolution The resolver is a library of software procedure, that is linked into a program which requires name service. It sends a name-resolution query by the client to a lol NS. Iterative: If a NS nnot satisfy the query, it returns the IP address of another NS which may be able to resolve the name to the requesting NS. Recursive: Each NS forwards the query and passes the reply back. The lol NS is off-loaded. Not all NSs n handle queries recursively. In particular, the root servers do not provide this service.

9 CMPT401 Chapter 3, Summer Client's name resolver 1. <nl,vu,cs,ftp> 2. #<nl>, <vu,cs,ftp> 3. <vu,cs,ftp> 4. #<vu>, <cs,ftp> 5. <cs,ftp> 6. #<cs>, <ftp> 7. <ftp> 8. #<ftp> Root name server Name server nl node Name server vu node Name server cs node cs vu nl <nl,vu,cs,ftp> #<nl,vu,cs,ftp> Nodes are managed by the same server ftp Figure 9: Iterative name resolution. Fig. 9 shows an example of iterative name resolution. The resolver and NSs may che the addresses of remote NSs that they have dealt with recently. 1. address resolution for user@host.domain: The source host invokes the name resolver, which asks the NS for domain to send all MX records for the destination machine host. The source host tries to send the mail to the mail exchangers, one at a time, in the preference order, until it succeeds. This mechanism allows the administrator of the.com domain to add the following MX record to its database: tikodomain.com IN MX 1 mailserver.cs.sfu. in order to have all mail to tikodomain.com delivered to mailserver.cs.sfu.. 2. Non- access (e.g., telnet, ping): The source host invokes the name resolver, which asks the address record (type A) of host, which in this se must be a machine. 3. An important consequence of multiple types: It is entirely possible that the NS stores an A-record for host in its database but no MX record for host. In this se, you n do ping host, but if you try to send to user@host.domain, you may be informed that the destination is unkown. Failing to obtain an MX-record, some resolvers send to the IP address of host. Or conversely, there may be an MX-record but no A-record for host, in which se you n send to it but ping host will fail. The Berkeley Internet Name Domain (BIND) is the most widely used implementation of DNS (on Unix machines). The source code is available through anonymous FTP (ftp.uu.net).

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

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

DNS Domain Name System

DNS Domain Name System DNS Domain Name System Domain names and IP addresses People prefer to use easy-to-remember names instead of IP addresses Domain names are alphanumeric names for IP addresses e.g., neon.cs.virginia.edu,

More information

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

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

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

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

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

Distributed Systems. 22. Naming. 2013 Paul Krzyzanowski. Rutgers University. Fall 2013 Distributed Systems 22. Naming Paul Krzyzanowski Rutgers University Fall 2013 November 21, 2013 2013 Paul Krzyzanowski 1 My 15 MacBook Pro The rightmost computer on my desk Paul s aluminum laptop, but

More information

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

Distributed Systems. 09. Naming. Paul Krzyzanowski. Rutgers University. Fall 2015 Distributed Systems 09. Naming Paul Krzyzanowski Rutgers University Fall 2015 October 7, 2015 2014-2015 Paul Krzyzanowski 1 Naming things Naming: map names to objects Helps with using, sharing, and communicating

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

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

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 - 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

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

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

Domain Name System. Overview. Domain Name System. Domain Name System Overview Domain Name System We look first at how the Domain Name System (DNS) is implemented and the role it plays in the Internet We examine some potential DNS vulnerabilities and in particular we consider

More information

K-Root Name Server Operations

K-Root Name Server Operations K-Root Name Server Operations Andrei Robachevsky andrei@ripe.net 1 Outline Root Server System brief update Architecture Current locations Anycast deployment K.root-servers.net Server Major milestones Current

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

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

The Application Layer: DNS

The Application Layer: DNS Recap SMTP and email The Application Layer: DNS Smith College, CSC 9 Sept 9, 0 q SMTP process (with handshaking) and message format q Role of user agent access protocols q Port Numbers (can google this)

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

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

CS3600 SYSTEMS AND NETWORKS

CS3600 SYSTEMS AND NETWORKS CS3600 SYSTEMS AND NETWORKS FALL 2011 Lecture 19: DNS Prof. Alan Mislove (amislove@ccs.neu.edu) Slides used with permissions from Edward W. Knightly, T. S. Eugene Ng, Ion Stoica, Hui Zhang Human Involvement

More information

Network Working Group Request for Comments: 1591 Category: Informational March 1994. Domain Name System Structure and Delegation. Status of this Memo

Network Working Group Request for Comments: 1591 Category: Informational March 1994. Domain Name System Structure and Delegation. Status of this Memo Network Working Group J. Postel Request for Comments: 1591 ISI Category: Informational March 1994 Domain Name System Structure and Delegation Status of this Memo This memo provides information for the

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

INTERNET DOMAIN NAME SYSTEM

INTERNET DOMAIN NAME SYSTEM INTERNET DOMAIN NAME SYSTEM http://www.tutorialspoint.com/internet_technologies/internet_domain_name_system.htm Copyright tutorialspoint.com Overview When DNS was not into existence, one had to download

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

3. The Domain Name Service

3. The Domain Name Service 3. The Domain Name Service n Overview and high level design n Typical operation and the role of caching n Contents of DNS Resource Records n Basic message formats n Configuring/updating Resource Records

More information

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

Applications & Application-Layer Protocols: The Domain Name System and Peerto-Peer CPSC 360 Network Programming Applications & Application-Layer Protocols: The Domain Name System and Peerto-Peer Systems Michele Weigle Department of Computer Science Clemson University mweigle@cs.clemson.edu

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

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

Understanding DNS (the Domain Name System)

Understanding DNS (the Domain Name System) Understanding DNS (the Domain Name System) A white paper by Incognito Software January, 2007 2007 Incognito Software Inc. All rights reserved. Understanding DNS (the Domain Name System) Introduction...2

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

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

Naming. Name Service. Why Name Services? Mappings. and related concepts Service Processes and Threads: execution of applications or services Communication: information exchange for coordination of processes But: how can client processes (or human users) find the right server

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

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

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

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

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

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

HTG XROADS NETWORKS. Network Appliance How To Guide: EdgeDNS. How To Guide

HTG XROADS NETWORKS. Network Appliance How To Guide: EdgeDNS. How To Guide HTG X XROADS NETWORKS Network Appliance How To Guide: EdgeDNS How To Guide V 3. 2 E D G E N E T W O R K A P P L I A N C E How To Guide EdgeDNS XRoads Networks 17165 Von Karman Suite 112 888-9-XROADS V

More information

Application Layer. CMPT371 12-1 Application Layer 1. Required Reading: Chapter 2 of the text book. Outline of Chapter 2

Application Layer. CMPT371 12-1 Application Layer 1. Required Reading: Chapter 2 of the text book. Outline of Chapter 2 CMPT371 12-1 Application Layer 1 Application Layer Required Reading: Chapter 2 of the text book. Outline of Chapter 2 Network applications HTTP, protocol for web application FTP, file transfer protocol

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

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

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

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

Names & Addresses. Names & Addresses. Names vs. Addresses. Identity. Names vs. Addresses. CS 194: Distributed Systems: Naming Names & Addresses CS 9: Distributed Systems: Naming Computer Science Division Department of Electrical Engineering and Computer Sciences University of California, Berkeley Berkeley, CA 970-77 What is a?

More information

Fig 1A portion of the Internet domain name space.

Fig 1A portion of the Internet domain name space. 1 Asst. Lecturar ahmed S. Kareem DNS The Domain Name System Although programs theoretically could refer to hosts, mailboxes, and other resources by their network (e.g., IP) addresses, these addresses are

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

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

DNS Basics. DNS Basics

DNS Basics. DNS Basics DNS Basics 1 A quick introduction to the Domain Name System (DNS). Shows the basic purpose of DNS, hierarchy of domain names, and an example of how the DNS protocol is used. There are many details of DNS

More information

Windows Active Directory. DNS, Kerberos and LDAP T h u r s d a y, J a n u a r y 2 7, 2011 INLS 576 Spring 2011

Windows Active Directory. DNS, Kerberos and LDAP T h u r s d a y, J a n u a r y 2 7, 2011 INLS 576 Spring 2011 Windows Active Directory DNS, Kerberos and LDAP T h u r s d a y, J a n u a r y 2 7, 2011 INLS 576 Spring 2011 1 DNS? LDAP? Kerberos? Active Directory relies of DNS to register and locate services Active

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

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

How To Guide Edge Network Appliance How To Guide:

How To Guide Edge Network Appliance How To Guide: How To Guide Edge Network Appliance How To Guide: ActiveDNS v 4.01 Edge Network Appliance How To Guide: ActiveDNS 2007 XRoads Networks 17165 Von Karman, Suite 112 888-9-XROADS v 4.01 updated 09/11/07 Table

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

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

Domain Name System (or Service) (DNS) Computer Networks Term B10 Domain Name System (or Service) (DNS) Computer Networks Term B10 DNS Outline DNS Hierarchial Structure Root Name Servers Top-Level Domain Servers Authoritative Name Servers Local Name Server Caching and

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

The Domain Name System: An Integral Part of the Internet. By Keiko Ishioka

The Domain Name System: An Integral Part of the Internet. By Keiko Ishioka The Domain Name System: An Integral Part of the Internet By Keiko Ishioka The Domain Name System (otherwise known as the Domain Name Server system) (DNS) is a distributed database that is accessed by anyone

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

Domain Name Service (DNS) Training Division, NIC New Delhi

Domain Name Service (DNS) Training Division, NIC New Delhi Domain Name Service (DNS) Training Division, NIC New Delhi Domain Name Service (DNS) I. History of DNS II. DNS structure and its components III. Functioning of DNS IV. Replicating DNS V. Dynamic update

More information

How to Configure the Windows DNS Server

How to Configure the Windows DNS Server Windows 2003 How to Configure the Windows DNS Server How to Configure the Windows DNS Server Objective This document demonstrates how to configure domains and record on the Windows 2003 DNS Server. Windows

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

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

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

Naming and the DNS. Focus. How do we name hosts etc.? Application Presentation Topics. Session Domain Name System (DNS) Email/URLs Naming and the DNS Focus How do we name hosts etc.? Application Presentation Topics Session Domain Name System (DNS) Email/URLs Transport Network Data Link Physical Ldns.1 Names and Addresses 43 name address

More information

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

Domain Name Servers. Domain Types WWW host names. Internet Names. COMP476 Networked Computer Systems. Domain Name Servers Domain Name Servers COMP76 Networked Computer Systems Internet Names Hierarchical starting from the right host.subnet.organization.type Names are case insensitive and can be in either upper or lower case.

More information

Computer Networks: Domain Name System

Computer Networks: Domain Name System Computer Networks: Domain Name System Domain Name System The domain name system (DNS) is an application-layer protocol for mapping domain names to IP addresses DNS www.example.com 208.77.188.166 http://www.example.com

More information

Domain Name Resolver (DNR) Configuration

Domain Name Resolver (DNR) Configuration CHAPTER 7 Domain Name Resolver (DNR) Configuration This chapter provides an overview of the information required to customize Cisco IOS for S/390. It includes these sections: Introducing the Domain Name

More information

Section 1 Overview... 4. Section 2 Home... 5

Section 1 Overview... 4. Section 2 Home... 5 ecogent User Guide 2012 Cogent Communications, Inc. All rights reserved. Every effort has been made to ensure that the information in this User Guide is accurate. Information in this document is subject

More information

The Domain Name System (DNS) Jason Hermance Nerces Kazandjian Long-Quan Nguyen

The Domain Name System (DNS) Jason Hermance Nerces Kazandjian Long-Quan Nguyen The Domain Name System (DNS) Jason Hermance Nerces Kazandjian Long-Quan Nguyen Introduction Machines find 32-bit IP addresses just peachy. Some Computer Science majors don t seem to mind either Normal

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

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

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

Copyright International Business Machines Corporation 2001. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure iseries DNS iseries DNS Copyright International Business Machines Corporation 2001. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule

More information

Making Internet Services Highly Available. Joe Abley <jabley@isc.org>

Making Internet Services Highly Available. Joe Abley <jabley@isc.org> Making Internet Services Highly Available Joe Abley These Slides http://www.isc.org/misc/netsa2003/ha.pdf You might like to take notes These slides will not be a good record of my handwaving,

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

CS244A Review Session Routing and DNS

CS244A Review Session Routing and DNS CS244A Review Session Routing and DNS January 18, 2008 Peter Pawlowski Slides derived from: Justin Pettit (2007) Matt Falkenhagen (2006) Yashar Ganjali (2005) Guido Appenzeller (2002) Announcements PA

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

Domain Name System (DNS)

Domain Name System (DNS) Lab Objectives Domain Name System (DNS) Acquiring skills related to the Domain Name System (DNS) functions Practical studying of DNS protocol in the process of its functioning Background Information DNS

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

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

Glossary of Technical Terms Related to IPv6

Glossary of Technical Terms Related to IPv6 AAAA Record An AAAA record stores a 128-bit Internet Protocol version 6 (IPv6) address, which does not fit the standard A record format. For example, 2007:0db6:85a3:0000:0000:6a2e:0371:7234 is a valid

More information

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

CS 355. Computer Networking. Wei Lu, Ph.D., P.Eng. CS 355 Computer Networking Wei Lu, Ph.D., P.Eng. Chapter 2: Application Layer Overview: Principles of network applications? Introduction to Wireshark Web and HTTP FTP Electronic Mail: SMTP, POP3, IMAP

More information

The Use of DNS Resource Records

The Use of DNS Resource Records International Journal of Advances in Electrical and Electronics Engineering 230 Available online at www.ijaeee.com & www.sestindia.org/volume-ijaeee/ ISSN: 2319-1112 Simar Preet Singh Systems Engineer,

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

Basic Operation & Management of TCP/IP Networks

Basic Operation & Management of TCP/IP Networks Basic Operation & Management of TCP/IP Networks SYSTEMS, Inc. For the MU-SPIN Coordination Office Slide 1 Presentation Contents Introduction to the Internet, Protocols and TCP/IP IP addressing, Name Resolution

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

Services: DNS domain name system

Services: DNS domain name system Services: DNS domain name system David Morgan Buying numbers and names numbers are IP addresses you buy them from an ISP the ISP makes sure those addresses go to your place the names are domain names you

More information

DATA COMMUNICATOIN NETWORKING

DATA COMMUNICATOIN NETWORKING DATA COMMUNICATOIN NETWORKING Instructor: Ouldooz Baghban Karimi Course Book: Computer Networking, A Top-Down Approach By: Kurose, Ross Introduction Course Overview Basics of Computer Networks Internet

More information

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

DNS and BIND Primer. Pete Nesbitt pete @ linux1.ca. April 2012 DNS and BIND Primer Pete Nesbitt pete @ linux1.ca April 2012 1 When we access the Internet we typically do so by accessing systems using a somewhat meaningful hostname often in the form of a web based

More information

Domain Name System (DNS)

Domain Name System (DNS) Domain Name System (DNS) Instructor: Anirban Mahanti Office: ICT 745 Email: mahanti@cpsc.ucalgary.ca Class Location: ICT 121 Lectures: MWF 12:00 12:50 Notes derived from Computer Networking: A Top Down

More information

Talk-101 User Guide. DNSGate

Talk-101 User Guide. DNSGate Talk-101 User Guide DNSGate What is DNSGate? DNSGate is a management interface to allow you to make DNS changes to your domain. The interface supports A, CNAME, MX and TXT records. What is DNS? DNS stands

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

Chapter 6. About This Chapter. Before You Begin. Windows 2000 Naming Schemes. [Previous] [Next]

Chapter 6. About This Chapter. Before You Begin. Windows 2000 Naming Schemes. [Previous] [Next] [Previous] [Next] Chapter 6 R e s o l v i n g N e t w o r k H o s t N a m e s About This Chapter Both clients and servers on a network must resolve the user-friendly host names to the Internet Protocol

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

DNS: Domain Name System

DNS: Domain Name System DNS: Domain Name System People: many identifiers: SSN, name, passport # Internet hosts, routers: IP address (32 bit) - used for addressing datagrams name, e.g., ww.yahoo.com - used by humans Q: map between

More information

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

How To Map Between Ip Address And Name On A Domain Name System (Dns) Computer Networks: Domain Name Service (DNS) CS 3516 D- term 2013 Instructor: Krishna Venkatasubramanian Quiz 2 DNS: domain name system people: many identifiers: SSN, name, passport # Internet hosts, routers:

More information

Configuring DNS. Finding Feature Information

Configuring DNS. Finding Feature Information The Domain Name System (DNS) is a distributed database in which you can map hostnames to IP addresses through the DNS protocol from a DNS server. Each unique IP address can have an associated hostname.

More information

DNS Service on Linux. Supawit Wannapila CCNA, RHCE supawit.w@cmu.ac.th

DNS Service on Linux. Supawit Wannapila CCNA, RHCE supawit.w@cmu.ac.th DNS Service on Linux Supawit Wannapila CCNA, RHCE supawit.w@cmu.ac.th Host Name Resolution Common Host Name Service Files (/etc/hosts and /etc/networks) DNS (/etc/resolv.conf) Multiple client-side resolvers:

More information

Domain Name System DNS

Domain Name System DNS CE443 Computer Networks Domain Name System DNS Behnam Momeni Computer Engineering Department Sharif University of Technology Acknowledgments: Lecture slides are from Computer networks course thought by

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

Network Liaison s Handbook

Network Liaison s Handbook Network Liaison s Handbook Phil Benchoff Draft Date : 2002/05/2020 : 18 : 56 Revision : 1.3 Abstract Management of large networks usually follows a hierarchical model with responsibility for various functions

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