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

Size: px
Start display at page:

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

Transcription

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

2 What is a DNS Each institution on the internet has a host that runs a process called a Domain Name Server (also DNS!) It is not enough for us to be able to communicate with IP address only although this is possible this is hard when we deal with services such as the Web IP address are generally: Hard for people to remember Can change, if a machine is moved to a different network, for instance Are dependent on using the Internet Protocol (hence the IP in IP address ) and this will change in the future Hence, need to free the name of a machine from the underlying protocol that is being used to communicate with other machines hence the use of names which are not tied to a particular protocol Networks and Data Communications 2

3 On the other hand, host names such as cnn.com, cs.cf.ac.uk and are mnemonic and are therefore appreciated by humans. However, host names provide little, if any, information about the location within the Internet of the host A host name such as surf.eurecom.fr, which ends with the country code.fr, tells us that the host is in France, but doesn t say much more. Furthermore, because host names can consist of variable-length alpha-numeric characters, they would be difficult to process by routers

4 What is a DNS... 2 A Name Service is a network information service (run on a server) that maps machine names to their addresses. The service is accessed transparently i.e. the machine that uses it does not really know that it uses it! A Domain Name Server maintains a database called the Directory Information Base (DIB) which contains domains present within each institution hence, when a new host is added (say in engineering), then the part of the database that corresponds to the location of that host (the engineering network) can be updated Question: How do we structure the name space to prevent naming conflicts and provide an efficient means to translate machine names to addresses? Networks and Data Communications 3

5 Flat Name Space For a small number of hosts (early days of the Internet) host names administered by a central authority all host names maintained in a single file hosts.txt However, problems with this: High Probability of Naming Conflict: Choosing a unique name is difficult only so many football teams, players, planets, spices, musicians etc Central name administration is a problem: Long waits for the file to be updated single point of failure. As a consequence of a single administration, the load on the machine hosting the translation service increases rapidly. Consistency: Many hosts tried to copy hosts.txt locally however, these had to be maintained consistent with the central site and this resulted in many versions of the hosts.txt file existing at different sites Networks and Data Communications 4

6 DNS as a Distributed Database The DNS is: A distributed database implemented in a hierarchy of name servers. The database is distributed across the Internet and is independent of the topology of the underlying network. An application-layer protocol that allows hosts and name servers to communicate in order to provide the translation service. Name servers are usually Unix machines running the Berkeley Internet Name Domain (BIND) software. The DNS protocol runs over UDP and uses port 53 Networks and Data Communications 5

7 The Domain Name System... 2 The main goals of DNS are the distribution of data, to support: Hosts that no longer need to download the address corresponding to every machine on the Internet (as with the hosts.txt file before). They simply look up the address of the machine they need to talk to, at the time they need to talk to it Distributed Administration of the name space. Hence, if a new machine is added to your local network, or you change it name, you do not need to inform a central agency. You simply alter your portion of the DNS database In this context the term Name Space (or namespace) refers to the set of all possible (permissible) names hence, whereas a flat namespace limits this set, a hierarchical one allows an almost unlimited choice of names Networks and Data Communications 6

8 Important to note that the DNS is independent of the physical network topology and is not made dependent on the stage and form of physical networks

9 Who uses a DNS? DNS is commonly employed by other application-layer protocols including HTTP, SMTP and FTP - to translate user-supplied host names to IP addresses Consider what happens when a browser (i.e., an HTTP client), running on some user s machine, requests the URL In order for the user s machine to be able to send an HTTP request message to the Web server the user s machine must obtain the IP address of The following sequence of steps take place to answer this query: The user s machine also runs the client-side of the DNS application. The browser extracts the host name, from the URL and passes the host name to the client-side of the DNS application. As part of a DNS query message, the DNS client sends a query containing the host name to a DNS server. Networks and Data Communications 7

10 The DNS client eventually receives a reply, which includes the IP address for the host name The browser then opens a TCP connection to the HTTP server process located at that IP address All IP datagrams sent to from the client to server as part of this connection will include this IP address in the destination address field of the datagrams In particular, the IP datagram(s) that encapsulate the HTTP request message use this IP address DNS adds an additional delay sometimes substantial to the Internet applications that use DNS and there are ways to prevent making this query many times via caching

11 Who uses a DNS... 2? Like HTTP, FTP, and SMTP, the DNS protocol is an application-layer protocol as it runs between communicating end systems, and relies on an underlying end-to-end transport protocol (i.e., UDP) to transfer DNS messages between communicating end systems Unlike Web, file transfer, and applications however, the DNS is not an application with which a user directly interacts. Instead, the DNS provides a core Internet function namely, translating host names to their underlying IP addresses, for user applications and other software in the Internet The DNS is specified in RFC 1034 and RFC 1035, and updated in several additional RFCs. Networks and Data Communications 8

12 Uses of the DNS Host Aliasing: A host with a complicated host name can have one or more alias names. For example, a host name such as relay1.west-coast.enterprise.com could have, say, two aliases such as enterprise.com and In this case, the host name relay1.west-coast.enterprise.com is said to be canonical host name. Alias host names, when present, are typically more mnemonic than a canonical host name. DNS can be invoked by an application to obtain the canonical host name for a supplied alias host name as well as the IP address of the host Mail server aliasing: For obvious reasons, it is highly desirable that addresses be mnemonic. For example, if Bob has an account with Hotmail, Bob s address might be as simple as bob@hotmail.com. However, the host name of the Hotmail mail server is more complicated and much less mnemonic than simply hotmail.com (e.g., the canonical host name might be something like Networks and Data Communications 9

13 relay1.west-coast.hotmail.com). DNS can be invoked by a mail application to obtain the canonical host name for a supplied alias host name as well as the IP address of the host. In fact, DNS permits a company s mail server and Web server to have identical (aliased) host names; for example, a company s Web server and mail server can both be called enterprise.com Load Distribution: Increasingly, DNS is also being used to perform load distribution among replicated servers, such as replicated Web servers. Busy sites, such as cnn.com, are replicated over multiple servers, with each server running on a different end system, and having a different IP address. For replicated Web servers, a set of IP addresses is thus associated with one canonical host name. The DNS database contains this set of IP addresses. When clients make a DNS query for a name mapped to a set of addresses, the server responds with the entire set of IP addresses, but rotates the ordering of the addresses within each reply. Because a client typically sends its HTTP request message to the IP address that is listed first in the

14 set, DNS rotation distributes the traffic among all the replicated servers. DNS rotation is also used for so that multiple mail servers can have the same alias name.

15 Uses of the DNS... 2 From a client perspective DNS is a blackbox The client sends a DNS query message into the black box, specifying the host name that needs to be translated to an IP address. On many Unix-based machines, gethostbyname() is the library routine that an application calls in order to issue the query message After a delay, ranging from milliseconds to tens of seconds, the client receives a DNS reply message that provides the desired mapping. Thus, from the client s perspective, DNS is a simple, straightforward translation service. But in fact, the black box that implements the service is complex, consisting of large number of name servers distributed around the globe, as well as an application-layer protocol that specifies how the name servers and querying hosts communicate Networks and Data Communications 10

16 Domain Names Absolute names are expressed relative to the root so end with the root s label, for instance ns.nasa.gov Relative names represent the lower level labels of an incomplete domain name they are relative either to a well-known origin (most commonly the root domain), or to a list of domains used as a search list Each node in the DNS tree has data associated with it, and can be maintained at a server. Such a server supplies information associated with a node in response to a request. Hence, the domain name is essentially an index into the DNS servers database Networks and Data Communications 11

17 root (no name) edu com uk nl org net ibm sun ac co sales eng cs math sun eng Based on the ISO-3166 standard (except for Great Britain, which uses uk instead of gb) Networks and Data Communications 12

18 Domain Servers We can also identify primary and secondary servers as local, root and authoritative name servers: Local name servers: Each ISP - such as a university, an academic department, an employee s company or a residential ISP - has a local name server (also called a default name server). When a host issues a DNS query message, the message is first sent to the host s local name server. The IP address of the local name server is typically configured by hand in a host. The local name server is typically close to the client; in the case of an institutional ISP, it may be on the same LAN as the client host; for a residential ISP, the name server is typically separated from the client host by no more than a few routers. Networks and Data Communications 13

19 If a host requests a translation for another host that is part of the same local ISP, then the local name server will be able to immediately provide the the requested IP address. For example, when the host surf.eurecom.fr requests the IP address for baie.eurecom.fr, the local name server at Eurecom will be able to provide the requested IP address without contacting any other name servers.

20 Domain Servers... 2 Root name servers: In the Internet there are a dozen or so of root name servers, most of which are currently located in North America. When a local name server cannot immediately satisfy a query from a host (because it does not have a record for the hostname being requested), the local name server behaves as a DNS client and queries one of the root name servers. If the root name server has a record for the host name, it sends a DNS reply message to the local name server, and the local name server then sends a DNS reply to the querying host. If the root name server does not have a record for the host name, the rootname server knows the IP address of an authoritative name server that has the mapping for that particular host name see Networks and Data Communications 14

21 Networks and Data Communications 15

22 Domain Servers... 3 Authoritative Name Servers: Every host is registered with an authoritative name server. Typically, the authoritative name server for a host is a name server in the host s local ISP. Each host is required to have at least two authoritative name servers, in case of failures. By definition, a name server is authoritative for a host if it always has a DNS record that translates the host s name to it s IP address. When an authoritative name server is queried by a root server, the authoritative name server responds with a DNS reply that contains the requested mapping. The root server then forwards the mapping to the local name server, which in turn forwards the mapping to the requesting host. Many name servers act as both local and and authoritative name servers. Networks and Data Communications 16

23 Address Resolution... Example Suppose the host surf.eurecom.fr desires the IP address of gaia.cs.umass.edu Eurecom s local name server is called dns.eurecom.fr and that an authoritative name server for gaia.cs.umass.edu is called dns.umass.edu Sequence of steps: Host surf.eurecom.fr first sends a DNS query message to its local name server, dns.eurecom.fr. The query message contains the host name to be translated, namely, gaia.cs.umass.edu The root name server forwards the query message to the name server that is authoritative for all the hosts in the domain umass.edu, namely, to dns.umass.edu The authoritative name server then sends the desired mapping to the querying host, via the root name server and the local name server Networks and Data Communications 17

24 To obtain the mapping for one host name, six DNS messages were sent: three query messages and three reply messages

25 Networks and Data Communications 18

26 Name Resolution... 2 The root name server may not know the authoritative name server for every host this is true in many practical instances. The root name server is likely to know the IP address of an intermediate server only, rather than the particular authoritative name server that in turn knows the IP address of an authoritative name server for the host name Consider once again the above example with the host surf.eurecom.fr querying for the IP address of gaia.cs.umass.edu Networks and Data Communications 19

27 Suppose that the University of Massachusetts has a name server for the university, called dns.umass.edu and each of the departments at University of Massachusetts has its own name server, and that each departmental name server is authoritative for all the hosts in the department. Hence, when the root name server receives a query for a host with host name ending with umass.edu it forwards the query to the name server dns.umass.edu. This name server forwards all queries with host names ending with.cs.umass.edu to the name server dns.cs.umass.edu, which is authoritative for all host names ending with.cs.umass.edu

28 The authoritative name server sends the desired mapping to the intermediate name server, dns.umass.edu, which forwards the mapping to the root name server, which forwards the mapping to the local name server, dns.eurecom.fr, which forwards the mapping to the requesting host!

29 Networks and Data Communications 20

30 Recursive Queries Queries for address translation are so far recursive Hence, when a host or name server A makes a recursive query to a name server B, then name server B obtains the requested mapping on behalf of A and then forwards the mapping to A Networks and Data Communications 21

31 Iterative Queries The DNS protocol also allows for iterative queries at any step in the chain between requesting host and authoritative name server When a name server A makes an iterative query to name server B, if name server B does not have the requested mapping, it immediately sends a DNS reply to A that contains the IP address of the next name server in the chain, say, name server C Name server A then sends a query directly to name server C. Possible to have a combination of iterative and recursive queries in a name resolution. Recursive queries are more common Networks and Data Communications 22

32 Networks and Data Communications 23

33 DNS Caching Information found from other servers is often stored locally (or cached ) during the resolution process When a name server receives a DNS mapping for some host name, it caches the mapping in local memory (disk or RAM) while passing the message along the name server chain. Given a cached host name/ip address translation pair, if another query arrives to the name server for the same host name, the name server can provide the desired IP address, even if it is not authoritative for the host name ALL name server cache data and in responding to a query always check the cache first. DNS extensively exploits caching in order to improve the delay performance and to reduce the number of DNS messages in the network A cached record is discarded after a period of time (often set to two days) Primary and Secondary servers, on the other hand, are the original sources for a domain and therefore always return authoritative data Networks and Data Communications 24

34 DNS Caching... 2 Suppose that surf.eurecom.fr queries the DNS for the IP address for the host name cnn.com. Furthermore suppose that a few hours later, another Eurecom host, say baie.eurecom.fr, also queries DNS with the same host name. Because of caching, the local name server at Eurecom will be able to immediately return the IP address to the requesting host without having to query name servers on another continent Designers of DNS consider the access of information to be more critical than instantaneous updates or guarantees of consistency. Another assumption is that data in the system does not change very rapidly Networks and Data Communications 25

35 DNS Records All information stored or transmitted within the DNS is in a standard form called a Resource Record containing (primarily) four parts: 1. Domain (Name): The name of a domain to which the record refers 2. Class (Value): The class of the record this is usually IN for the Internet 3. Type: The type of record, i.e. what the information is for 4. Information: The data associated with the record such as Time To Live (TTL) record Hence, a query to the DNS database names the domain of interest and a resource type and a nameserver responds with the corresponding entry Networks and Data Communications 26

36 DNS Records... 2 Name and Value are dependent on the value of Type. If Type=A, then Name is a hostname and Value is the IP address for the host name. Thus, a Type A record provides the standard host name to IP address mapping. As an example, (relay1.bar.foo.com, , A) is a Type A record. If Type=NS, then Name is a domain (such as foo.com) and Value is the host name of a server that knows how to obtain the IP addresses for hosts in the domain. This record is used to route DNS queries further along in the query chain. As an example, (foo.com, dns.foo.com, NS) is a Type NS record. If Type=CNAME, then Value is a canonical host name for the alias host name Name. This record can provide querying hosts the canonical name for a host name. As an example, (foo.com, relay1.bar.foo.com, CNAME) is a CNAME record. Networks and Data Communications 27

37 * If Type=MX, then Value is a host name of a mail server that has an alias host name Name. As an example, (foo.com. mail.bar.foo.com, MX) is an MX record. MX records allow the host names of mail servers to have simple aliases.

38 DNS Records... 3 If a name server is authoritative for a particular host name, then the name server will contain a Type A record for the host name If a server is not authoritative for a host name, then the server will contain a Type NS record for the domain that includes the host name; it will also contain a Type A record that provides the IP address of the name server in the Value field of the NS record As an example, suppose a root server is not authoritative for the host Gail.cs.umass.edu. Then the root server will contain a record for a domain that includes the host cs.umass.edu, e.g., (umass.edu, dns.umass.edu, NS). Networks and Data Communications 28

39 DNS Message Two kinds of DNS messages: Request and Reply both are of the same type The first 12 bytes is the header section, which has a number of fields. The first field is a 16-bit number that identifies the query. This identifier is copied into the reply message to a query, allowing the client to match received replies with sent queries. There are a number of flags in the flag field. A one-bit query/reply flag indicates whether the message is a query (0) or a reply (1). A one bit authoritative flag is set in a reply message when a name server is an authoritative server for a queried name. A one bit recursion-desired flag is set when a client (host or name server) desires that the name server to perform recursion when it doesn t have the record. A one-bit recursion available field is set in a reply if the name server supports recursion. Networks and Data Communications 29

40 In the header, there are also four number of fields. These fields indicate the number of occurrences of the four types of data sections that follow the header. The question section contains information about the query that is being made. This section includes 1. A name field that contains the name that is being queried, and 2. A type field that indicates the type of question being asked about the name (e.g., a host address associated with a name - type A, or the mail server for a name - type MX ). In a reply from a name server, the answer section contains the resource records for the name that was originally queried. Recall that in each resource record there is the Type (e.g., A, NS, CSNAME and MX), the Value and the TTL.

41 A reply can return multiple RRs in the answer, since a host name can have multiple IP addresses (e.g., for replicated Web servers, as discussed earlier in this section). The authority section contains records of other authoritative servers. The additional section contains other helpful records. For example, the answer field in a reply to an MX query will contain the host name of a mail server associated with the alias name Name. The additional section will contain a Type A record providing the IP address for the canonical host name of the mail server.

42 Networks and Data Communications 30

43 Configuring and Running DNS A DNS service must be run if an organisation is connected to an Internet. If you are going to be connected to the Internet, it is also wise to run a DNS, and register your network address If the company is not on the Internet, a DNS may still be good if the network is large, and split over a number of geographic sites or separate networks (administered by different groups) For networks which are not connected to the Internet simply set up root name servers Name servers can be put on existing file servers, on routers or gateways Name servers can be located any where on the local network Networks and Data Communications 31

44 BIND BIND is the protocol that a client DNS application uses to connect to a server the configuration is based on the type of service the software is aimed at providing 1. As a primary nameserver the authoritative source for all information 2. As a secondary nameserver which copies the complete set of info from the primary nameserver Networks and Data Communications 32

45 3. As a caching-only server which runs the nameserver software, but keeps no database files 4. As a resolver-only server which provides the code that asks nameservers for domain information (the client code). On Unix this is implemented as a library, rather than a separate program The easiest to set up in the resolver-only system need to set up a /etc/resolv.conf file from thrall, this is: # try this first

46 domain cs.cf.ac.uk # then try this nameserver # then this nameserver # then this nameserver # then this nameserver # then this nameserver # then this nameserver this is very much the type of configuration needed by a client, when you install your network card in a PC, or use the TCP/IP set up program

47 BIND...2 For the other options, we must define a named.conf file, which outlines the zones and associated servers again from thrall (a small portion of the file) zone " in-addr.arpa" { type master; file "named.local"; }; // zone "cf.ac.uk" { type slave; file "cf.ac.uk"; masters { ; }; }; Networks and Data Communications 33

48 zone "cardiff.ac.uk" { type slave; file "cardiff.ac.uk"; masters { ; }; }; zone " in-addr.arpa" { type slave; file " inarpa"; masters { ; }; }; zone "cs.cf.ac.uk" { type slave; file "cs.cf.ac.uk"; masters {

49 ; }; }; zone "computer-science.cardiff.ac.uk" { type slave; file "computer-science.cardiff.ac.uk"; masters { ; }; }; This is generated by a PERL script set up by our systems administrator. See the /var/nameserver directory on thrall

50 Running DNS on Linux Run using named with an information file named.boot the format is: /usr/bin/named -b /usr/local/adm/named/named.boot The file named.boot specifies a way to look up information about different machine on the local network You can test the DNS program with the nslookup command on Unix (for instance) parian >nslookup > maxwell2.cs.cf.ac.uk Server: Address: #53 Name: maxwell2.cs.cf.ac.uk Networks and Data Communications 34

51 Address: > Server: Address: #53 Non-authoritative answer: Name: Address: > src.doc.ic.ac.uk Server: Address: #53 Non-authoritative answer: src.doc.ic.ac.uk canonical name = sunsite.org.uk. Name: sunsite.org.uk

52 Address:

53 >nslookup > set type=mx > cs.cf.ac.uk Server: Address: #53 cs.cf.ac.uk cs.cf.ac.uk mail exchanger = 1 belvedere.cs.cf.ac.uk. mail exchanger = 2 sentinel.cs.cf.ac.uk. > astro.cf.ac.uk Server: Address: #53 astro.cf.ac.uk mail exchanger = 1 hedwig2.cf.ac.uk. astro.cf.ac.uk mail exchanger = 10 mailhost.astro.cf.ac.uk. astro.cf.ac.uk mail exchanger = 1 hedwig1.cf.ac.uk. Networks and Data Communications 35

54 > set type=ns > Server: Address: #53 Non-authoritative answer: *** Can t find No answer Authoritative answers can be found from: doc.ic.ac.uk origin = ns0.doc.ic.ac.uk mail addr = hostmaster.doc.ic.ac.uk serial = refresh = 3600 retry = 600 expire = minimum = > google.com Server: Address: #53

55 Non-authoritative answer: google.com nameserver = ns1.google.com. google.com nameserver = ns2.google.com. google.com nameserver = ns3.google.com. google.com nameserver = ns4.google.com. Authoritative answers can be found from: ns1.google.com internet address = ns2.google.com internet address = ns3.google.com internet address = ns4.google.com internet address = Alternative DNS client is dig. See the manual page for this on Unix.

56 LDAP LDAP: Light Weight Directory Access Protocol the current protocol for defining name space access, authentication and information storage for particular nodes on a network Runs over TCP/IP, and provides an interface to the OSI X.500 Specification (a standard which extends beyond providing simply name lookup services. This protocol is a comprehensive directory service for recording service information, security access control and name space access to resources on the Internet) Can be integrated with a number of other systems such as Novell s NDS, and can run natively on a host backed by its own database Networks and Data Communications 36

57 Processing Internet Addresses When writing programs in a language such as Java you generally make use of machine names in alpha-numeric format, rather than their IP addresses Then let DNS handle the translation to IP addresses there is support in the java.net class for achieving this see: java.net.inetaddress class can be used to represent an Internet address it contains a hostname (a String), and an address (an int) the address field contains the 32-bit IP address This class contains a number of methods: byte[] getaddress() Returns the raw IP address of this InetAddress object. Networks and Data Communications 37

58 static InetAddress[] getallbyname(string host) Determines all the IP addresses of a host, given the host s name. static InetAddress getbyname(string host) Determines the IP address of a host, given the host s name. String gethostaddress() Returns the IP address string "%d.%d.%d.%d". String gethostname() Gets the host name for this IP address. static InetAddress getlocalhost() Returns the local host.

59 int hashcode() Returns a hashcode for this IP address. boolean ismulticastaddress() Utility routine to check if the InetAddress is an IP multicast address. String tostring() Converts this IP address to a String.

60 import java.net.*; class cardiffcheck { public static void main (String args[]) { try { InetAddress address = InetAddress.getByName(" System.out.println(address); } catch (UnknownHostException e) { System.out.println("Could not find } } } Running the program omer@parian >javac cardiffcheck.java omer@parian >java cardiffcheck Networks and Data Communications 38

61 Alternately Reverse Lookup (only for JDK 1.1 and higher) import java.net.*; class cardiffcheck2 { public static void main (String args[]) { try { InetAddress address = InetAddress.getByName(" "); System.out.println(address); } catch (UnknownHostException e) { System.out.println("Could not find "); } } } Running the program Networks and Data Communications 39

62 >javac cardiffcheck2.java >java cardiffcheck2 sentinel.cs.cf.ac.uk/

63 As identified before certain servers can have more than one name associated with them although they may have one IP address Java gives us the InetAddress.getAllByName(String hostname) to handle this situation import java.net.*; class altavista { public static void main (String args[]) { try { InetAddress[] addresses = InetAddress.getAllByName(" for (int i = 0; i < addresses.length; i++) { System.out.println(addresses[i]); } } catch (UnknownHostException e) { Networks and Data Communications 40

64 System.out.println("Could not find } } } Running the program

65 Getting your own address import java.net.*; class myaddress { public static void main (String args[]) { try { InetAddress address = InetAddress.getLocalHost(); System.out.println(address); } catch (UnknownHostException e) { System.out.println("Could not find this computer s address."); } } } Running the program: omer@parian >javac myaddress.java omer@parian >java myaddress parian.cs.cf.ac.uk/ Networks and Data Communications 41

66 import java.net.*; import java.io.*; class weblogalt { public static void main(string args[]) { String thisline; String thisip; String therest; int index; InetAddress thisaddress; byte[] address; try { FileInputStream fin =new FileInputStream(args[0]); BufferedReader myinput =new BufferedReader(new InputStreamReader(fin)); Networks and Data Communications 42

67 while ((thisline = myinput.readline())!= null) { index = thisline.indexof(" ", 0); thisip = thisline.substring(0, index); therest = thisline.substring(index, thisline.length()); try { thisaddress = java.net.inetaddress.getbyname(thisip); address = thisaddress.getaddress(); System.out.println( InetAddressFactory.newInetAddress(address).getHostName() + therest); } catch (UnknownHostException e) { System.out.println(thisLine); } } // while loop ends here } catch (IOException e) {

68 } System.out.println("Exception: " + e); } } // end main

2.5 DNS The Internet s Directory Service

2.5 DNS The Internet s Directory Service 130 CHAPTER 2 APPLICATION LAYER e-mail is also provided by Google, Yahoo!, as well as just about every major university and corporation. With this service, the user agent is an ordinary Web browser, and

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

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

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

DNS: Domain Names. DNS: Domain Name System. DNS: Root name servers. DNS name servers

DNS: Domain Names. DNS: Domain Name System. DNS: Root name servers. DNS name servers DNS: Domain Name System DNS: Domain Names People: many identifiers: SSN, name, Passport # Internet hosts, routers: Always: IP address (32 bit) - used for addressing datagrams Often: name, e.g., nifc14.wsu.edu

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

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

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

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

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

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

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

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

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

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

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

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

CS 43: Computer Networks Naming and DNS. Kevin Webb Swarthmore College September 17, 2015 CS 43: Computer Networks Naming and DNS Kevin Webb Swarthmore College September 17, 2015 Agenda Identifiers and addressing Domain Name System History Query sequences Record types Load balancing Recall:

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

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

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

DNS: Distributed Name System

DNS: Distributed Name System Distributed Name System Slides adapted from: Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose, Keith Ross Addison-Wesley, July 2002. All material copyright 1996-2002

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

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

THE BCS PROFESSIONAL EXAMINATION Professional Graduate Diploma. April 2001 EXAMINERS REPORT. Network Information Systems 2001

THE BCS PROFESSIONAL EXAMINATION Professional Graduate Diploma. April 2001 EXAMINERS REPORT. Network Information Systems 2001 THE BCS PROFESSIONAL EXAMINATION Professional Graduate Diploma April 2001 EXAMINERS REPORT Network Information Systems 2001 A number of candidates had clearly not followed the syllabus for this module

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

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

Chapter 2 Application Layer

Chapter 2 Application Layer Chapter 2 Application Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see the animations;

More information

DNS Resolving using nslookup

DNS Resolving using nslookup DNS Resolving using nslookup Oliver Hohlfeld & Andre Schröder January 8, 2007 Abstract This report belongs to a talk given at the networking course (Institue Eurecom, France) in January 2007. It is based

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

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

CMPE 80N: Introduction to Networking and the Internet

CMPE 80N: Introduction to Networking and the Internet CMPE 80N: Introduction to Networking and the Internet Katia Obraczka Computer Engineering UCSC Baskin Engineering Lecture 11 CMPE 80N Spring'10 1 Announcements Guest lecture on intellectual property and

More information

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ MEng. Nguyễn CaoĐạt

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ MEng. Nguyễn CaoĐạt Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ MEng. Nguyễn CaoĐạt 1 Lecture 10: Application Layer 2 Application Layer Where our applications are running Using services provided by

More information

Computer Networks & Security 2014/2015

Computer Networks & Security 2014/2015 Computer Networks & Security 2014/2015 IP Protocol Stack & Application Layer (02a) Security and Embedded Networked Systems time Protocols A human analogy All Internet communication is governed by protocols!

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

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

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

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

CMPE 80N: Introduction to Networking and the Internet

CMPE 80N: Introduction to Networking and the Internet CMPE 80N: Introduction to Networking and the Internet Katia Obraczka Computer Engineering UCSC Baskin Engineering Lecture 10 CMPE 80N Fall'10 1 Announcements Forum assignment #2 posted. Due Nov. 5 th.

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 (DNS) Reading: Section in Chapter 9

Domain Name System (DNS) Reading: Section in Chapter 9 Domain Name System (DNS) Reading: Section in Chapter 9 RFC 1034, STD 13 Name Syntax and rules for delegating authority over names Specify implementation of a distributed system that maps names to addresses

More information

DNS. Spring 2016 CS 438 Staff 1

DNS. Spring 2016 CS 438 Staff 1 DNS Spring 2016 CS 438 Staff 1 Host Names vs. IP addresses Host names Mnemonic name appreciated by humans Variable length, full alphabet of characters Provide little (if any) information about physical

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

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

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

Ch 6: Networking Services: NAT, DHCP, DNS, Multicasting

Ch 6: Networking Services: NAT, DHCP, DNS, Multicasting Ch 6: Networking Services: NAT, DHCP, DNS, Multicasting Magda El Zarki Prof. of CS Univ. of CA, Irvine Email: elzarki@uci.edu http: www.ics.uci.edu/~magda Overivew of NAT NAT: Network Address Translation

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 and P2P File Sharing

DNS and P2P File Sharing Computer Networks DNS and P2P File Sharing Based on Computer Networking, 4 th Edition by Kurose and Ross DNS: Domain Name System People: many identifiers: SSN, name, passport # Internet hosts, routers:

More information

Chapter 23 The Domain Name System (DNS)

Chapter 23 The Domain Name System (DNS) CSC521 Communication Protocols 網 路 通 訊 協 定 Chapter 23 The Domain Name System (DNS) 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系 Outline 1. Introduction 2. Names For Machines 3. Flat Namespace 4. Hierarchical Names 5.

More information

Overview of Computer Networks

Overview of Computer Networks Overview of Computer Networks Client-Server Transaction Client process 4. Client processes response 1. Client sends request 3. Server sends response Server process 2. Server processes request Resource

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

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

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 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. The Root Name Servers. DNS Hierarchy. Computer System Security and Management SMD139. Root name server. .se name server. .

DNS. The Root Name Servers. DNS Hierarchy. Computer System Security and Management SMD139. Root name server. .se name server. . Computer System Security and Management SMD139 Lecture 5: Domain Name System Peter A. Jonsson DNS Translation of Hostnames to IP addresses Hierarchical distributed database DNS Hierarchy The Root Name

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

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

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

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

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

Network Layers. CSC358 - Introduction to Computer Networks

Network Layers. CSC358 - Introduction to Computer Networks Network Layers Goal Understand how application processes set up a connection and exchange messages. Understand how addresses are determined Data Exchange Between Application Processes TCP Connection-Setup

More information

Ch 6: Networking Services: NAT, DHCP, DNS, Multicasting, NTP

Ch 6: Networking Services: NAT, DHCP, DNS, Multicasting, NTP Ch 6: Networking Services: NAT, DHCP, DNS, Multicasting, NTP Magda El Zarki Prof. of CS Univ. of CA, Irvine Email: elzarki@uci.edu http: www.ics.uci.edu/~magda Network Address Translation - NAT Private

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

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

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

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

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

Cours du 22 novembre

Cours du 22 novembre Cours du 22 novembre Couche application DNS Application Layer 2-2 DNS: domain name system people: many identifiers: SSN, name, passport # Internet hosts, routers: IP address (32 bit) - used for addressing

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

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

internet technologies and standards

internet technologies and standards Institute of Telecommunications Warsaw University of Technology 2015 internet technologies and standards Piotr Gajowniczek Andrzej Bąk Michał Jarociński Internet application layer the email service The

More information

Distributed Systems. Naming

Distributed Systems. Naming Distributed Systems Naming Some slides here are adapted from DNS slide material by Kurose and Ross for their textbook: Computer Networking: A Top Down Approach Featuring the Internet Any problem in computer

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

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

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 protocols

Application-layer protocols Application layer Goals: Conceptual aspects of network application protocols Client server paradigm Service models Learn about protocols by examining popular application-level protocols HTTP DNS Application-layer

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

Copyright 2012 http://itfreetraining.com

Copyright 2012 http://itfreetraining.com In order to find resources on the network, computers need a system to look up the location of resources. This video looks at the DNS records that contain information about resources and services on the

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

Application. Transport. Network. Data Link. Physical. Network Layers. Goal

Application. Transport. Network. Data Link. Physical. Network Layers. Goal Layers Goal Understand how application processes set up a connection and exchange messages. Understand how addresses are determined 1 2 Data Exchange Between Processes TCP Connection-Setup Between Processes

More information

How-to: DNS Enumeration

How-to: DNS Enumeration 25-04-2010 Author: Mohd Izhar Ali Email: johncrackernet@yahoo.com Website: http://johncrackernet.blogspot.com Table of Contents How-to: DNS Enumeration 1: Introduction... 3 2: DNS Enumeration... 4 3: How-to-DNS

More information

Outline. Definition. Name spaces Name resolution Example: The Domain Name System Example: X.500, LDAP. Names, Identifiers and Addresses

Outline. Definition. Name spaces Name resolution Example: The Domain Name System Example: X.500, LDAP. Names, Identifiers and Addresses Outline Definition Names, Identifiers and Addresses Name spaces Name resolution Example: The Domain Name System Example: X.500, LDAP CS550: Advanced Operating Systems 2 A name in a distributed system is

More information

1 Introduction: Network Applications

1 Introduction: Network Applications 1 Introduction: Network Applications Some Network Apps E-mail Web Instant messaging Remote login P2P file sharing Multi-user network games Streaming stored video clips Internet telephone Real-time video

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

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

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

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

Computer Networks. Instructor: Niklas Carlsson Email: niklas.carlsson@liu.se

Computer Networks. Instructor: Niklas Carlsson Email: niklas.carlsson@liu.se Computer Networks Instructor: Niklas Carlsson Email: niklas.carlsson@liu.se Notes derived from Computer Networking: A Top Down Approach, by Jim Kurose and Keith Ross, Addison-Wesley. The slides are adapted

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

Using Webmin and Bind9 to Setup DNS Sever on Linux

Using Webmin and Bind9 to Setup DNS Sever on Linux Global Open Versity Systems Integration Hands-on Labs Training Manual Using Webmin and Bind9 to Setup DNS Sever on Linux By Kefa Rabah, krabah@globalopenversity.org March 2008 Installing and Configuring

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

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

DNS (Domain Name System) is the system & protocol that translates domain names to IP addresses. Lab Exercise DNS Objective DNS (Domain Name System) is the system & protocol that translates domain names to IP addresses. Step 1: Analyse the supplied DNS Trace Here we examine the supplied trace of a

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