Naming & Directory Services

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

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

How to Configure the Windows DNS Server

Installing and Setting up Microsoft DNS Server

Introduction to Network Operating Systems

Copyright

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

How do I get to

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

ECE 4321 Computer Networks. Network Programming

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

CS3250 Distributed Systems

How to Add Domains and DNS Records

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

The Domain Name System

Internet-Praktikum I Lab 3: DNS

Datacommunication. Internet Infrastructure IPv4 & IPv6

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

1 Introduction: Network Applications

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

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

DNS : Domain Name System

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

- Domain Name System -

Application Protocols in the TCP/IP Reference Model

The Domain Name System (DNS)

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

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

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

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

ICS 351: Today's plan

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

DNS. Computer Networks. Seminar 12

Slides for Chapter 9: Name Services

Chapter 23 The Domain Name System (DNS)

Applications and Services. DNS (Domain Name System)

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline

The Application Layer: DNS

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

DNS and DHCP. 14 October 2008 University of Reading

The Domain Name System

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

The Domain Name System (DNS)

Domain Name System Security

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

KAREL UCAP DNS AND DHCP CONCEPTS MANUAL MADE BY: KAREL ELEKTRONIK SANAYI ve TICARET A.S. Organize Sanayi Gazneliler Caddesi 10

Introduction to DNS CHAPTER 5. In This Chapter

How to Configure DNS Zones

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

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

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

DNS Domain Name System

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

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

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

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

Networking Domain Name System

NetIQ Advanced Authentication Framework - MacOS Client

Networking Domain Name System

INTERNET DOMAIN NAME SYSTEM

Use Domain Name System and IP Version 6

Subnetting,Supernetting, VLSM & CIDR

This Lecture. The Internet and Sockets. The Start If everyone just sends a small packet of data, they can all use the line at the same.

DNS and Interface User Guide

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

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University

Understand Names Resolution

The Domain Name System

Windows 2008 Server. Domain Name System Administración SSII

Domain Name System Richard T. B. Ma

NET0183 Networks and Communications

3. The Domain Name Service

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

Domain Name System (DNS) Fundamentals

Chapter 10 Troubleshooting

DNS: Domain Name System

DNS: Domain Name System

DNS - Domain Name System

THE DOMAIN NAME SYSTEM DNS

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

Section 1 Overview Section 2 Home... 5

System Administration Commands nslookup ( 1M )

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

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

Domain Name System (DNS)

Lecture Computer Networks

CS3600 SYSTEMS AND NETWORKS

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

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

API of DNS hosting. For DNS-master and Secondary services Table of contents

The Use of DNS Resource Records

DNS + DHCP. Michael Tsai 2015/04/27

Glossary of Technical Terms Related to IPv6

19 Domain Name System (DNS)

Talk-101 User Guide. DNSGate

Domain Name System (DNS) RFC 1034 RFC

Automated domain name registration: DNS background information

Chapter 7 Troubleshooting

First Workshop on Open Source and Internet Technology for Scientific Environment: with case studies from Environmental Monitoring

Chapter 24 The Domain Name System (DNS)

Transcription:

Naming & Directory Services 1

2 Naming Schemes Examples IPv4 address 146169145 domain name emudocicacuk IEEE MAC 00:D0:B7:11:60:A5 fixed size variable size eg IPv4 Address, IEEE MAC eg domain name pure impure eg IEEE MAC eg IP Address, domain name

3 Impure names in a Hierarchy Zone 0 Zone 1 Zone 2 x Zone 3 Zone 5 Zone 4 y

4 Iterative Navigation Zone 0 NS 0 Zone 1 Client NS 1 Zone 2 NS 2 Zone 4 NS 4

5 Recursive Navigation Zone 0 NS 0 Zone 1 Client NS 1 Zone 2 NS 2 Zone 4 NS 4

6 Server Multicasting Zone 3 Zone 0 NS 3 NS 0 Zone 1 Zone 2 Client NS 1 NS 2 Zone 5 Zone 4 NS 4 NS 5

7 Domain Name System A directory service for the Internet Maps domain names to resource records (RR) Main use is mapping domain names to IP addresses (A records) Example domain names hawkdocicacuk docicacuk icacuk acuk uk

8 Example DNS naming scheme (root) no edu uk com kvatro unit mit ac co sun idt kcl ic postoffice java cc dcs cc doc barium helium sync03 hawk

9 Iterative Navigation hawkdocicacuk asks for javasuncom in theory, work up docicacuk asks icacuk docicacuk asks acuk docicacuk asks uk then work down docicacuk asks root docicacuk asks com docicacuk asks suncom root uk com ac sun ic doc

10 Recursive Lookup root docicacuk asks icacuk icacuk asks acuk acuk asks uk uk asks root root asks com com asks suncom uk ac ic doc com sun

11 Worksheet: DNS (root) be no uk edu net ac kvatro ntnu ac co mit ulg idt ic kcl bbc cc dcs

12 Rough Outline of DNS Naming Conventions USA naming authority (NIC) non USA naming authority level value type value type com commercial organisation be Belgium 1 edu educational institution no Norway gov government institution uk United Kingdom 2 organisation name co commercial organisation ac academic community 3 department/host name organisation name 4 host name department/host name 5 - - host name

13 DNS Resource Records field name description A an IPv4 address of a host AAAA an IPv6 address of a host CNAME canonical name or nickname HINFO host machine type and operating system MX the IP address of a email server for a domain NS the IP address of a DNS name server for the domain PTR a pointer to another part of the name space (ie an alias) SOA details of a zone of authority TXT a text string containing anything the administrator would like WKS list of well known services available at host Can t add your own RRs: but could use TXT to hold data

14 RFC 4408: Sender Policy Framework TXT v=spf1 a mx a:curiumdocicacuk ip4:621891250/24 -all mx: any server identified by an MX record for the domain ptr: any host within the DNS domain in question a: any server identified by a A record for the domain ip4: name a particular IPv4 address range

15 X500 and LDAP General naming service for any type of object Allows for Yellow Page lookups X500 has a directory access protocol (DAP) X500 too complext lightweight directory access protocol (LDAP)

16 (root) country C=NO D=The land of the Vikings country C=GB D=This Green and Pleasant Land organization O=NTNU organization O=King s College London organization O=Imperial College organizationalunit OU=IDT organizationalunit OU=School of Physical Sciences and Engineering organizationalunit OU=Computing person P=Ms S Riley person P=Prof J Ullmann person P=Dr N Stokes

17 The Complete Story To get a web page from wwwdocicacuk you need the socket of the web server: 1 Make an A record request to a DNS to translate wwwdocicacuk to an IP address 2 Add the well known port number to the IP address, to form the socket But step (1) requires that a socket be formed for the DNS server; therefore the host must know the IP address of the DNS server Each step above requires Determine using the netmask if the IP address is on the local subnet If on local subnet, find MAC address of socket via ARP If not on local subnet, find MAC address of router via ARP

18 tone(1)% ping plutonium A complete communication with DNS 14616941271034 > 146169124domain: 52750+ A? plutoniumdocicacuk (40) 146169124domain > 14616941271034: 52750* 1/3/3 A 146169498 (173) arp who-has 146169498 tell 1461694127 (0:90:27:a3:32:5) arp reply 146169498 is-at 0:c0:4f:d5:6b:58 (0:90:27:a3:32:5) 1461694127 > 146169498: icmp: echo request arp who-has 1461694127 tell 146169498 arp reply 1461694127 (0:90:27:a3:32:5) is-at 0:90:27:a3:32:5 (0:c0:4f:d5:6b:58) 146169498 > 1461694127: icmp: echo reply 1461694127 > 146169498: icmp: echo request 146169498 > 1461694127: icmp: echo reply

19 Worksheet: ARP, Ping and DNS host1 host2 host3 1460498 14604127 1460145 0:1:2:d5:6b:58 0:1:2:a3:32:5 14604225 router 14601225 0:1:2:11:60:a5 0:1:2:a7:61:e3 0:1:2:a7:61:8 host2%ping -c 1 host3 64 bytes from host3: icmp seq=0 ttl=254 time=18 ms

20 Worksheet: ARP, Ping and DNS Src Msg Src IP Src MAC Dest IP Dest MAC H2 ARP Req 14604127 0:1:2:a3:32:5 1460498 ff:ff:ff:ff:ff:ff H1 ARP Rep 1460498 0:1:2:d5:6b:58 14604127 0:1:2:a3:32:5

21 Worksheet: ARP, Ping and DNS Src Msg Src IP Src MAC Dest IP Dest MAC H2 ARP Req 14604127 0:1:2:a3:32:5 1460498 ff:ff:ff:ff:ff:ff H1 ARP Rep 1460498 0:1:2:d5:6b:58 14604127 0:1:2:a3:32:5 H2 DNS Req 14604127 0:1:2:a3:32:5 1460498 0:1:2:d5:6b:58 H1 DNS Rep 1460498 0:1:2:d5:6b:58 14604127 0:1:2:a3:32:5

22 Worksheet: ARP, Ping and DNS Src Msg Src IP Src MAC Dest IP Dest MAC H2 ARP Req 14604127 0:1:2:a3:32:5 1460498 ff:ff:ff:ff:ff:ff H1 ARP Rep 1460498 0:1:2:d5:6b:58 14604127 0:1:2:a3:32:5 H2 DNS Req 14604127 0:1:2:a3:32:5 1460498 0:1:2:d5:6b:58 H1 DNS Rep 1460498 0:1:2:d5:6b:58 14604127 0:1:2:a3:32:5 H2 ARP Req 14604127 0:1:2:a3:32:5 14604225 ff:ff:ff:ff:ff:ff R ARP Rep 14604225 0:1:2:a7:61:e3 14604127 0:1:2:a3:32:5

23 Worksheet: ARP, Ping and DNS Src Msg Src IP Src MAC Dest IP Dest MAC H2 ARP Req 14604127 0:1:2:a3:32:5 1460498 ff:ff:ff:ff:ff:ff H1 ARP Rep 1460498 0:1:2:d5:6b:58 14604127 0:1:2:a3:32:5 H2 DNS Req 14604127 0:1:2:a3:32:5 1460498 0:1:2:d5:6b:58 H1 DNS Rep 1460498 0:1:2:d5:6b:58 14604127 0:1:2:a3:32:5 H2 ARP Req 14604127 0:1:2:a3:32:5 14604225 ff:ff:ff:ff:ff:ff R ARP Rep 14604225 0:1:2:a7:61:e3 14604127 0:1:2:a3:32:5 H2 ICMP Echo Req 14604127 0:1:2:a3:32:5 1460145 0:1:2:a7:61:e3

24 Worksheet: ARP, Ping and DNS Src Msg Src IP Src MAC Dest IP Dest MAC H2 ARP Req 14604127 0:1:2:a3:32:5 1460498 ff:ff:ff:ff:ff:ff H1 ARP Rep 1460498 0:1:2:d5:6b:58 14604127 0:1:2:a3:32:5 H2 DNS Req 14604127 0:1:2:a3:32:5 1460498 0:1:2:d5:6b:58 H1 DNS Rep 1460498 0:1:2:d5:6b:58 14604127 0:1:2:a3:32:5 H2 ARP Req 14604127 0:1:2:a3:32:5 14604225 ff:ff:ff:ff:ff:ff R ARP Rep 14604225 0:1:2:a7:61:e3 14604127 0:1:2:a3:32:5 H2 ICMP Echo Req 14604127 0:1:2:a3:32:5 1460145 0:1:2:a7:61:e3 R ARP Req 14601225 0:1:2:a7:61:8 1460145 ff:ff:ff:ff:ff:ff H3 ARP Rep 1460145 0:1:2:11:60:a5 14601225 0:1:2:a7:61:8

25 Worksheet: ARP, Ping and DNS Src Msg Src IP Src MAC Dest IP Dest MAC H2 ARP Req 14604127 0:1:2:a3:32:5 1460498 ff:ff:ff:ff:ff:ff H1 ARP Rep 1460498 0:1:2:d5:6b:58 14604127 0:1:2:a3:32:5 H2 DNS Req 14604127 0:1:2:a3:32:5 1460498 0:1:2:d5:6b:58 H1 DNS Rep 1460498 0:1:2:d5:6b:58 14604127 0:1:2:a3:32:5 H2 ARP Req 14604127 0:1:2:a3:32:5 14604225 ff:ff:ff:ff:ff:ff R ARP Rep 14604225 0:1:2:a7:61:e3 14604127 0:1:2:a3:32:5 H2 ICMP Echo Req 14604127 0:1:2:a3:32:5 1460145 0:1:2:a7:61:e3 R ARP Req 14601225 0:1:2:a7:61:8 1460145 ff:ff:ff:ff:ff:ff H3 ARP Rep 1460145 0:1:2:11:60:a5 14601225 0:1:2:a7:61:8 R ICMP Echo Req 14604127 0:1:2:a7:61:8 1460145 0:1:2:11:60:a5 H3 ICMP Echo Rep 1460145 0:1:2:11:60:a5 14604127 0:1:2:a7:61:8 R ICMP Echo Rep 1460145 0:1:2:a7:61:e3 14604127 0:1:2:a3:32:5