CSS432: Applications 1 CSS432 Domain Name System Textbook 9.3.1 Instructor: Joe McCarthy (based on Prof. Fukuda’s slides)

Slides:



Advertisements
Similar presentations
Topics: –DNS system –Gathering machine information How to find out the machines ip address, name, OS, version, etc.
Advertisements

Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
Spring 2003CS 4611 Naming Outline Terminology Domain Naming System Distributed File Systems.
CS 6401 The Domain Name System Outline Domain Name System.
Spring 2002CS 4611 Naming Outline Terminology Domain Naming System Distributed File Systems.
1 Higher level protocols Domain Naming System, DNS HTTP.
Spring 2006CS 3321 Name Service (DNS) Outline Terminology Domain Naming System.
Applications Outline Name Service (DNS) Traditional Applications.
CS440 Computer Networks 1 Domain Name System (DNS) Neil Tang 12/05/2008.
1 Naming Services (DNS) Name versus Address Name space –defines set of possible names –consists of a set of name to value bindings –flat (names are not.
1 Naming Outline Terminology Domain Naming System Distributed File Systems.
1 DNS. 2 BIND DNS –Resolve names to IP address –Resolve IP address to names (reverse DNS) BIND –Berkeley Internet Name Domain system Version 4 is still.
Domain Name System (or Service) (DNS) Computer Networks Computer Networks Spring 2012 Spring 2012.
CMPE 150 – Winter 2009 Lecture 18 March 10, 2009 P.E. Mantey.
20101 The Application Layer Domain Name System Chapter 7.
Domain Name System (DNS) Network Information Center (NIC) : HOSTS.TXT.
Application Layer At long last we can ask the question - how does the user interface with the network?
Naming Names in computer systems are used to share resources, to uniquely identify entities, to refer to locations and so on. An important issue with naming.
Module 12: Domain Name System (DNS)
DOMAIN NAME SYSTEM. Domain Name System Hostname Resolution DNS Name Lookup with DNS Domain Name Servers DNS Database Reverse Lookups.
Application Layer. Domain Name System Domain Name System (DNS) Problem – Want to go to but don’t know the IP addresswww.google.com Solution.
NAME SERVICES. Names and addresses File names /etc/passwd URLS Internet domain names—dcs.qmw.ac.uk Identifiers- ROR, NFS.
Netprog: DNS and name lookups1 Address Conversion Functions and The Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Ch-9: NAME SERVICES By Srinivasa R. Gudipati. To be discussed.. Fundamentals of Naming Services Naming Resolution The Domain Name System (DNS) Directory.
Lecture on DHCP, DNS & SNMPDebashis Saha Thursday, May 17, DHCP, DNS, SNMP Debashis Saha MIS Group, IIM Calcutta
Computer Networks Mozafar Bag-Mohammadi Lecture 5 Naming and the DNS.
Chapter 9 - Applications We will look at three main applications DNS (name services) SMTP ( ) HTTP (World Wide Web) Our main focus will be on DNS.
DNS and HTTP CS 168. Domain Name Service Host addresses: e.g., – a number used by protocols – conforms to network structure (the “where”)
Lecturer: Maxim Podlesny Sep CSE 473 File Transfer and Electronic in Internet.
DNS and C# SWE 344 Internet Protocols & Client Server Programming.
Chapter 31 - Naming with the Domain Name System IP addresses vs. symbolic names Structure of Computer names DNS naming structure DNS server hierarchy An.
Elementary Name and Address Conversions
Example applications Symbolic names and the Domain Name System (DNS)
October 15, 2002Serguei A. Mokhov, 1 Intro to DNS SOEN321 - Information Systems Security.
Chapter 29 Domain Name System (DNS) Allows users to reference computer names via symbolic names translates symbolic host names into associated IP addresses.
CITA 310 Section 1 Name Resolution (Textbook Chapter 4)
Spring, 2001CS 6401 Addressing and Domain Name System Outline Addressing Subnetting Supernetting Domain Name System.
Deploying a Web Application Presented By: Muhammad Naveed Date:
Netprog: DNS and name lookups1 Address Conversion Functions and The Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
1 TCP/IP Networking. 2 TCP/IP TCP/IP is the networking protocol suite most commonly used with UNIX, Windows, NT and most other OS’s. TCP/IP defines a.
Internet and Intranet Protocols and Applications Lecture 5 Application Protocols: DNS February 20, 2002 Joseph Conron Computer Science Department New York.
Development of the domain name system Baoning Wu 01/30/2003.
Naming March 8, Networks What is naming?  Associations between some elements in a set of names and some elements in a set of values  Binding.
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
CPSC 441: DNS 1. DNS: Domain Name System Internet hosts: m IP address (32 bit) - used for addressing datagrams m “name”, e.g., - used by.
1 Domain Name System (DNS). 2 3 How DNS Works Application Transport Internet Network Application Transport Internet Network DNS Resolver Name Server.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
1 Internet Network Services. 2 Module - Internet Network Services ♦ Overview This module focuses on configuring and customizing the servers on the network.
Chapter 9 Applications Giving user-friendly names (instead of router-friendly addresses) is often the 1 st application (middleware) implemented on a network.
24. DNS Domain Name System address 1. Name server domain name IP address ftp.cs.mit.eduxx.xx.xx.xx 24.2 Mapping Domain Names To.
Computer Networks Fall, 2007 Prof Peterson. CIS 235: Networks Fall, 2007 Western State College How’s it going??
Advanced UNIX programming Fall 2002 Instructor: Ashok Srinivasan Lecture 25 Acknowledgements: The syllabus and power point presentations are modified versions.
CSS432: Applications 1 CSS432 Applications Textbook Ch 9.1 Professor: Munehiro Fukuda Augmented by Rob Nash.
Web Server Administration Chapter 4 Name Resolution.
OPTION section It is the first section of the named.conf User can use only one option statement and many option-value pair under the section. Syntax is.
1 10. DNS, HTTP, Unix Socket Programming DNS (Domain Name Service) Domain Name Name Resolution HTTP (Hyper Text Transfer Protocol) Request Response Persistent.
COMP 431 Internet Services & Protocols
Internet Naming Service: DNS* Chapter 5. The Name Space The name space is the structure of the DNS database –An inverted tree with the root node at the.
WHAT IS DNS??????????.
So DNS is A client-server application that maps domain names into their corresponding IP addresses with the help of name servers. Mapping domain names.
4343 X2 – The Application Layer Tanenbaum Chapter 7.
Oct 2000C. Watters1 NAMES and ADDRESSES What’s in a name, anyway?
Understand Names Resolution
Name and Address Conversions
Chapter 9: Domain Name Servers
Naming Chapter 4.
General network terminology Chapter 9.1: DNS
CSS432 Applications Textbook Ch 9.1 and 9.3.1
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Presentation transcript:

CSS432: Applications 1 CSS432 Domain Name System Textbook Instructor: Joe McCarthy (based on Prof. Fukuda’s slides)

CSS432: Applications 2 Name Service DNS Basic concepts:  Name space: set of possible names identifiers  Bindings: association of names with values E.g., programming language variable bindings  Resolution: provides the value(s) of a name Name Server Name Variable length and mnemonic Location independent Value System-provided fixed value Location dependent

CSS432: Applications 3 Name Service Hosts cheltenham.cs.princeton.edu :23:A8:33:5B:9F Files /usr/llp/tmp/foo (server, inode) Users Larry Peterson (UID + host IP) Name Server Name Variable length and mnemonic Location independent Value System-provided fixed value Location dependent DNS

CSS432: Applications 4 Unix system calls  struct hostent h = gethostbyname( const char *hostname );  *(struct in_addr *)*h->h_addr_list; // returns IP list DNS Name Service

CSS432: Applications 5 Hierarchy Name uw bothell.washington.edu (Currently, uw uwb.edu) educom washington … mit ucs uw medusa bothell cisco … yahoonasa … nsfarpa … navyacm … ieee govmilorgnetukfr homergoodall DNS Domain Name System

CSS432: Applications 6 Name Servers Partition hierarchy into zones Root name server washington name server Cisco name server bothell name server cs name server … … Each zone implemented by two or more name servers educom washington … mit ucs uw medusa bothell cisco … yahoonasa … nsfarpa … navyacm … ieee govmilorgnetukfr homergoodall administrative unit DNS

CSS432: Applications 7 Resource Records Each name server maintains a collection of resource records (Name, Value, Type, Class, TTL) Name/Value: not necessarily host names to IP addresses Type  A: Value is an IP address  NS: Value is the corresponding Name Server’s name  CNAME: Value is a Canonical NAME (alias)  MX: Value is the domain name of this host’s Mail eXchange server Class: IN (Internet class) TTL: how long the resource record is valid DNS

CSS432: Applications 8 Name Resolution Client  Initialized with its local name server’s address  appends its domain name (e.g., cs.princeton.edu ) to a given host name (e.g., penguins ) before a submission Local name server  needs to know root at only one place (not each host).  caches recent responses from remote servers. DNS

CSS432: Applications 9 name type Find a root name server  dig edu ns edu a.gtld-server.net NS IN a.gtld-server.net A IN Find uwb.edu’s name servers  uwb.edu ns uwb.edu, dns2.uwb.edu NS IN uwb.edu, dns4.uwb.edu NS IN dns2.uwb.edu A dns4.uwb.edu A Find mercury.uwb.edu  metis.uwb.edu A metis.uwb.edu A DNS Name Resolution via dig