Scalability in Computer Systems DNS/BIND as an example

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

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

DNS : Domain Name System

The Domain Name System (DNS)

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

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

Networking Domain Name System

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

DNS Domain Name System

Introduction to Network Operating Systems

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

Use Domain Name System and IP Version 6

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

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

Networking Domain Name System

Copyright

CS3600 SYSTEMS AND NETWORKS

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

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

Chapter 24 The Domain Name System (DNS)

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

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

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

The Domain Name System

19 Domain Name System (DNS)

THE DOMAIN NAME SYSTEM DNS

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

ECE 4321 Computer Networks. Network Programming

KB Windows 2000 DNS Event Messages 1 Through 1614

DNS. Computer Networks. Seminar 12

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

Understanding DNS (the Domain Name System)

DOMAIN NAME SYSTEM. Shipra Dey Computer Science & Engineering iamshipradey@gmail.com

INTERNET DOMAIN NAME SYSTEM

Domain Name System (DNS) Fundamentals

Forouzan: Chapter 17. Domain Name System (DNS)

Introduction to DNS CHAPTER 5. In This Chapter

Internet-Praktikum I Lab 3: DNS

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

- Domain Name System -

Domain Name Server. Training Division National Informatics Centre New Delhi

The Domain Name System

Networking Domain Name System

CS3250 Distributed Systems

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

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

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

CS640: Computer Networks. Naming /ETC/HOSTS

The Domain Name System (DNS)

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

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

Module 2. Configuring and Troubleshooting DNS. Contents:

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

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

1 Introduction: Network Applications

Chapter 23 The Domain Name System (DNS)

Automated domain name registration: DNS background information

An Introduction to the Domain Name System

Understand Names Resolution

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

Development of the Domain Name System. Joey Brown David Margolies

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

Applications and Services. DNS (Domain Name System)

DNS and BIND. David White

Glossary of Technical Terms Related to IPv6

How to Configure DNS Zones

DNS and Interface User Guide

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

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

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

F5 and Infoblox DNS Integrated Architecture Offering a Complete Scalable, Secure DNS Solution

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

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

IPv6 support in the DNS

The Domain Name System

Installing and Setting up Microsoft DNS Server

THE MASTER LIST OF DNS TERMINOLOGY. v 2.0

Internetworking with TCP/IP Unit 10. Domain Name System

Goal of this session

DNS Domain Name System

Domain Name System. Heng Sovannarith

Internet Security [1] VU Engin Kirda

4.1 NAMING ENTITIES 184 NAMING CHAP Names, Identifiers, and Addresses

Chapter 7 Implementing Domain Name System (DNS)

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

The Use of DNS Resource Records

FAQ (Frequently Asked Questions)

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

NET0183 Networks and Communications

Introduction to the Domain Name System

How to Add Domains and DNS Records

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

DNS at NLnet Labs. Matthijs Mekking

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

System Administration Commands nslookup ( 1M )

THE MASTER LIST OF DNS TERMINOLOGY. First Edition

Domain Name System (DNS)

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

Domain Name System (DNS)

Transcription:

Distributed OS SS 2009, Scalability/DNS 1 Scalability in Computer Systems DNS/BIND as an example

Distributed OS SS 2009, Scalability/DNS 2 Outline: Outline and Goal of Lecture Scalability: terminology, problems and basic approaches Names in Distributed Systems: purposes of naming, terminology Application of scalability approaches on name resolution Goal: understand some of the important principles how to build scalable systems using DNS as an example

Distributed OS SS 2009, Scalability/DNS 3 Scalability Definitions Scalability the ease with which a system or component can be modified to fit the problem area. http://www.sei.cmu.edu/str/indexes/glossary/ Scalability [in telecommunication and software engineering] indicates the capability of a system to increase performance under an increased load when resources (typically hardware) are added Wikipedia

Distributed OS SS 2009, Scalability/DNS 4 Definition(Wang, Xu 98): Definitions Scalability A computer system (HW + SW) is called scalable if it can scale up (improve its resources) to accommodate ever increasing performance and functionality demand and / or scale down (decrease resources) to reduce cost. Dimensions of Scalability: ( CPUs Size (more ( Memory ) Other Resources (. etc Software (Versions, better libs, Heterogeneity (different hardware / SW = portability)

Distributed OS SS 2009, Scalability/DNS 5 Scalability in Computer Systems A system is described as scalable if it remains effective when there is a significant increase in the number of resources and the number of users. Coulouris, Dollimore, Kindberg: Distributed Systems A system is scalable if it works well for very large and very small numbers

Distributed OS SS 2009, Scalability/DNS 6 Another aspect of scalability: Prepare for change in functionality software engineering choose sufficiently large logical resources provide hooks for extension

Distributed OS SS 2009, Scalability/DNS 7 Problems for Scalability in Distributed/Parallel Systems Performance bottlenecks in... Failures of... Abuse of... computers communication

Distributed OS SS 2009, Scalability/DNS 8 Principles to achieve Scalability ( RPC ) Partitioning split systems into parts that can operate independently to a large extent Replication provide several copies of components that are kept consistent eventually that can be used in case of failure of copies Locality (Caching) maintain a copy of information that is nearer, cheaper/faster to access than the original

Distributed OS SS 2009, Scalability/DNS 9 Some Challenges Balance load: keep load under reasonable threshold at each component in the communication subsystems load balancing can be static or dynamic. Will study a detailed example for dynamic load balancing later(mosix). Minimize the delay induced by RPC. Prepare for change. Information Dissemination. Choose right degree of consistency.

Distributed OS SS 2009, Scalability/DNS 10 Names, Identifiers, Addresses Names symbolic have a meaning for people Identifiers identifies a component (uniquely) are used by programs Addresses locates a component can change

Distributed OS SS 2009, Scalability/DNS 11 Name Resolution: Name resolution map symbolic names to objects better: to a set of attributes such as identifiers, addresses, other names, security properties Interfaces: Register (Name, attributes,...) Lookup (Name) -> attributes

Distributed OS SS 2009, Scalability/DNS 12 Related Compilers statically map names to addresses Dynamic libraries dynamically remap addresses Port Mapper map service to port Name resolution is a form of dynamic mapping of pathnames to attributes.

Distributed OS SS 2009, Scalability/DNS 13 Observation Many services, tools,... provide their own name resolution file systems path names to I-Nodes login RPC systems (portmapper)

Distributed OS SS 2009, Scalability/DNS 14 Purpose of Directory Services integration of name services generic name service world-wide use of names Today mostly used: email/web computer attributes (IP addresses) people attributes (certificates,...)

Distributed OS SS 2009, Scalability/DNS 15 UUCP/MMDF (cum grano salis): A Bit of History ira!gmdzi!oldenburg!heinrich!user (path to destination) user@ira!heinrich%gmdzi (mixing identifiers and path information) ARPA-Net: a single file: hosts.txt maintained at Network Information Center of SRI (Stanford) accessed via ftp TCP/IP in BSD Unix => chaos name collisions, consistency, load DNS: Paul Mockapetries (84)...

Distributed OS SS 2009, Scalability/DNS 16 More Terminology Name Space set of names recognized by a name service Context unit for which a name can be mapped directly Aliases several names for one object

Distributed OS SS 2009, Scalability/DNS 17 Naming Domain Zone More Terminology Subtree in the hierarchy of DNS contexts (aka Zone of authority) Subset of a domain over which an authority has complete control. Subzones (starting at apices of a zone) can be delegated to other authorities. Navigation querying in a set of cooperating name spaces

Distributed OS SS 2009, Scalability/DNS 18 Basic Implementation Variants recursive iterative NS2 NS 2 NS 1 NS 3 NS 1 NS 2

Distributed OS SS 2009, Scalability/DNS 19 Requirements / Properties arbitrarily large numbers arbitrary units of administration long living names, the higher in the hierarchy the longer high robustness restructuring of name spaces consistency efficiency

Distributed OS SS 2009, Scalability/DNS 20 DNS Name Space "" com edu... mil us de... au ibm sax tu-dresden gmd ibch61 inf os irz301 borneo zeus hera

Distributed OS SS 2009, Scalability/DNS 21 Examples inf.tu-dresden.de Domain os.inf.tu-dresden.de Computer heidelberg.ibm.com Domain ftp ftp.inf.tu-dresden.de DNS: --> IP address: 141.76.2.3 ftp daemon: IP address, port 21 Properties: location independent not very deep

Distributed OS SS 2009, Scalability/DNS 22 Implementation Structure (BIND) root name server resolver (runtime library) name server NS 2 NS 3

Distributed OS SS 2009, Scalability/DNS 23 Zones: administrative unit Partitions: Zones resolves all names within a zone recursively maps to names and addresses of name servers responsible for sub zones maintains management data Name server: process doing the name resolution for one zone Resource records (RR): key interface

Distributed OS SS 2009, Scalability/DNS 24 ca zone ca bc ab sk on qb ca domain

Distributed OS SS 2009, Scalability/DNS 25 Replication Currently 13 root name servers each zone has at least one primary one secondary name server

Distributed OS SS 2009, Scalability/DNS 26 Caching each name server caches resource records time to live attribute authoritative versus non-authoritative answers

Distributed OS SS 2009, Scalability/DNS 27 Resource Records record type interpretation content A address IPv4 address AAAA address IPv6 address NS name server DNS name CNAME symbolic link DNS name of canonical name SOA start of authority zone-specific properties PTR IP reverse pointer DNS name HINFO host info text description of host OS...

Distributed OS SS 2009, Scalability/DNS 28 Reverse Resolution Example IP-Address: 141.76.48.97 => DNS-Name: 97.48.76.141.in-addr.arpa 0 255 255 Xaver.os.inf.tu-dresden.de

Distributed OS SS 2009, Scalability/DNS 29 Summary: Scalability and DNS Good points: replication and caching work well over time, DNS scaled from small numbers to millions Bad Points: IP addresses too small

Distributed OS SS 2009, Scalability/DNS 30 Literature Paul Albitz & Cricket Liu DNS and BIND O Reilly & Associates, Inc.