General network terminology Chapter 9.1: DNS

Slides:



Advertisements
Similar presentations
EECS122 - UCB 1 CS 194: Distributed Systems: Naming Computer Science Division Department of Electrical Engineering and Computer Sciences University of.
Advertisements

Jan 17, 2001CSCI {4,6}900: Ubiquitous Computing1 Announcements.
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.
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.
The Domain Name System. CeylonLinux DNS concepts using BIND 2 Hostnames IP Addresses are great for computers –IP address includes information used for.
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?
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 5 Introduction to DNS in Windows Server 2008.
CPSC 441: DNS1 Instructor: Anirban Mahanti Office: ICT Class Location: ICT 121 Lectures: MWF 12:00 – 12:50 Notes derived.
1 Networking A computer network is a collection of computing devices that are connected in various ways in order to communicate and share resources. The.
1 DNS,NFS & RPC Rizwan Rehman, CCS, DU. Netprog: DNS and name lookups 2 Hostnames IP Addresses are great for computers –IP address includes information.
NET0183 Networks and Communications Lecture 25 DNS Domain Name System 8/25/20091 NET0183 Networks and Communications by Dr Andy Brooks.
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts: – IP address (32 bit) - used for addressing datagrams – “name”, e.g.,
Netprog: DNS and name lookups1 Address Conversion Functions and The Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Chapter 16 – DNS. DNS Domain Name Service This service allows client machines to resolve computer names (domain names) to IP addresses DNS works at the.
Networking Computer network A collection of computing devices that are connected in various ways in order to communicate and share resources Usually,
DNS: Domain Name System
Chapter 29 Domain Name System (DNS) Allows users to reference computer names via symbolic names translates symbolic host names into associated IP addresses.
Domain Name System. CONTENTS Definitions. DNS Naming Structure. DNS Components. How DNS Servers work. DNS Organizations. Summary.
12-Oct-15Ubiquitous Computing1 Outline Applications –Central Server –Hierarchical –Peer-to-peer.
Netprog: DNS and name lookups1 Address Conversion Functions and The Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
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.
EE 122: Lecture 20 (Domain Name Server - DNS) Ion Stoica Nov 15, 2001 (* based on the some on-line slides of J. Kurose & K. Rose and of Raj Jain)
Web Server Administration Chapter 4 Name Resolution.
1. Internet hosts:  IP address (32 bit) - used for addressing datagrams  “name”, e.g., ww.yahoo.com - used by humans DNS: provides translation between.
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.
Domain Name System INTRODUCTION to Eng. Yasser Al-eimad
Basics of the Domain Name System (DNS) By : AMMY- DRISS Mohamed Amine KADDARI Zakaria MAHMOUDI Soufiane Oujda Med I University National College of Applied.
Ch 2. Application Layer Myungchul Kim
1 Network Communications A Brief Introduction. 2 Network Communications.
15-1 Networking Computer network A collection of computing devices that are connected in various ways in order to communicate and share resources Usually,
1 Internet Service DNS & BIND OPS335 Seneca College of Applied Technology.
System Administration(SAD622S) Name of Presenter: Shadreck Chitauro Lecturer 18 July 2016 Faculty of Computing and Informatics.
Ip addressing: dhcp & dns
Understand Names Resolution
Networking Applications
Introduction to Internet Technology Overview of Web Authoring
Comparing Communication Types
NETWORK Unit 1 Module: 2 Objective: 7.
Chapter 25 Domain Name System.
Chapter 9: Domain Name Servers
Domain Name System (DNS)
IMPLEMENTING NAME RESOLUTION USING DNS
Lecture Computer Networks DNS (Domain Name System)
Net 323 D: Networks Protocols
Lecture 13: Name Services I CDK
EE 122: Domain Name Server (DNS)
Chapter 5 Network and Transport Layers
Hints on how to read systems papers Network Applications
15-1 Networking Computer network A collection of computing devices that are connected in various ways in order to communicate and share resources Usually,
Mid term grade distribution
POWERPOINT PRESENTATION ON NETWORKING Presented by Ms
Copyright © 2006 Pearson Addison-Wesley. All rights reserved.
Chapter Goals Compare and contrast various technologies for home Internet connections Explain packet switching Describe the basic roles of various network.
NETWORK Unit 1 Module: 2 Objective: 7.
NETWORK Unit 1 Module: 2 Objective: 7.
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Ip addressing: dhcp & dns
Computer Networks Primary, Secondary and Root Servers
An Engineering Approach to Computer Networking
Presentation transcript:

General network terminology Chapter 9.1: DNS Overview General network terminology Chapter 9.1: DNS 20-Sep-18 4/598N: Computer Networks

Connection mechanisms Connectionless or packet switching Each packet carries with it the source and destination address No time is wasted in setting up a communication link, and in order delivery need not be guaranteed However each packet carries the addresses (waste) E.g. postal letters Connection oriented or circuit switched Spend effort to initialize a link, but once it is setup all future packets follow the same route Does not adapt to changing conditions gracefully E.g. telephone connections 20-Sep-18 4/598N: Computer Networks

Lossless vs lossy network Delivery mechanism Lossless vs lossy network The question is “who should deal with a lost packet - the network or the application”. This is the end-to-end argument. We will read a paper on this argument next Thursday There is a performance penalty for ensuring that all packets are received in an at-most once, in order semantics. Easier to let the applications deal with loss E.g. Certified mail vs first class mail 20-Sep-18 4/598N: Computer Networks

Unicast - one sender and one receiver Group communications Unicast - one sender and one receiver Broadcast - one sender and multiple (all) receivers Bothers all clients whether they are interested or not Wasteful unless the communication medium supports it It costs the same to send a SMS page to all users in the same coverage area because all pagers receive the wireless signal (think of broadcast TV) Its expensive to broadcast a FAX message; you have to send a separate FAX to each machine (the underlying medium does not support broadcasting) Reliable broadcasting is harder 20-Sep-18 4/598N: Computer Networks

Group communications (cont.) Multicast - one sender and multiple (not necessarily all) receivers Clients join in on a conversation. Data is broadcasted to all the clients that have joined in the conversation Not wasteful as clients actively participate Useful for Intranets. Apple Rendezvous technology, (iTunes, iChat etc. use multicast) More complex to implement on the Internet scale Not clear what the pricing model should be: If I multicast my videocast to a million users through a DSL link, should the ISP charge me for a million times DSL charge? 20-Sep-18 4/598N: Computer Networks

Group communications (cont.) Anycast - one sender, one of many receivers When you a redundant set of servers, any of which can service your requests E.g. google.com. Google maintains thousands of servers; any of which can service your web requests [note Google does not actually use anycast] Geocast - some receiver in the geographical area Send to someone in SBN ….. Collectcast talk today at 3:30 PM 20-Sep-18 4/598N: Computer Networks

Applications - Naming What do names do? Name space Help identify objects help locate objects define membership in a group specify a role convey knowledge of a secret Name space defines set of possible names consists of a set of name to value bindings 20-Sep-18 4/598N: Computer Networks

Examples Hosts Peers for your HWP1 Files Users Wizard.cse.nd.edu or 129.74.25.101 (IP address) or 00:03:ba:16:c5:7a (ethernet address) Peers for your HWP1 Name host:port Files /usr/llp/tmp/foo (server, fileid) Users Larry Peterson llp@cs.princeton.edu 20-Sep-18 4/598N: Computer Networks

Domain Name Service (DNS) Provides Internet domain name to IP address translation Domain name translation (nd.edu) Hostname translation (wizard.cse.nd.edu) Service location (MX records, mail service for ND) $ nslookup –query=mx aol.com aol.com preference = 15, mail exchanger = mailin-01.mx.aol.com aol.com preference = 15, mail exchanger = mailin-02.mx.aol.com aol.com preference = 15, mail exchanger = mailin-03.mx.aol.com aol.com preference = 15, mail exchanger = mailin-04.mx.aol.com Authoritative answers can be found from: aol.com nameserver = dns-07.ns.aol.com aol.com nameserver = dns-01.ns.aol.com aol.com nameserver = dns-02.ns.aol.com aol.com nameserver = dns-06.ns.aol.com mailin-01.mx.aol.com internet address = 64.12.136.57 mailin-01.mx.aol.com internet address = 64.12.137.89 mailin-01.mx.aol.com internet address = 64.12.137.184 ……. 20-Sep-18 4/598N: Computer Networks

Domain Naming System Hierarchy 20-Sep-18 4/598N: Computer Networks

DNS hierarchy DNS name space is hierarchical: - fully qualified names are “little endian” - scalability - decentralized administration - domains are naming contexts com gov org generic TLDs net top-level domains (TLDs) firm shop arts web us fr country-code TLDs .edu nd berkeley duke cse chem cs eecs cc www sys Source: Jeff Chase 20-Sep-18 4/598N: Computer Networks

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 NS: Value gives domain name for host running name server that knows how to resolve names within specified domain. CNAME: Value gives canonical name for particle host; used to define aliases. MX: Value gives domain name for host running mail server that accepts messages for specified domain. Class: allow other entities to define types TTL: how long the resource record is valid 20-Sep-18 4/598N: Computer Networks

“lookup www.nhc.noaa.gov” DNS Protocol UDP-based client/server client-side resolvers typically in a library gethostbyname, gethostbyaddr cooperating servers query-answer-referral model forward queries among servers server-to-server may use TCP (“zone transfers”) WWW server for nhc.noaa.gov (IP 140.90.176.22) “www.nhc.noaa.gov is 140.90.176.22” DNS server for nhc.noaa.gov local DNS server “lookup www.nhc.noaa.gov” Source: Jeff Chase 20-Sep-18 4/598N: Computer Networks

DNS Name Server Hierarchy com gov org net firm shop arts web us fr Root servers list servers for every TLD. Subdomains correspond to organizational (admininstrative) boundaries, which are not necessarily geographical. DNS servers are organized into a hierarchy that mirrors the name space. Specific servers are designated as authoritative for portions of the name space. .edu Servers may delegate management of subdomains to child name servers. duke ... Servers are bootstrapped with pointers to selected peer and parent servers. nd cc cse Parents refer subdomain queries to their children. chem Resolvers are bootstrapped with pointers to one or more local servers; they issue recursive queries. Source: Jeff Chase 20-Sep-18 4/598N: Computer Networks

Server selection problem server farm A server farm B Which server? Avoid the scaleability problems of central servers by "distributing" load Which network site? “Contact the weather service.” Source: Jeff Chase 20-Sep-18 4/598N: Computer Networks

“lookup www.nhc.noaa.gov” DNS round robin a b c d DNS server for nhc.noaa.gov “www.nhc.noaa.gov is IP address a” (or {b,c,d}) DNS server returns one of multiple addresses based on load e.g. www1.aol.com www2.aol.com “lookup www.nhc.noaa.gov” local DNS server Source: Jeff Chase 20-Sep-18 4/598N: Computer Networks

DNS record for www.yahoo.com www.yahoo.com. 1002 IN CNAME www.yahoo.akadns.net. www.yahoo.akadns.net. 292 IN A 64.58.76.223 www.yahoo.akadns.net. 292 IN A 64.58.76.224 www.yahoo.akadns.net. 292 IN A 64.58.76.225 www.yahoo.akadns.net. 292 IN A 64.58.76.227 www.yahoo.akadns.net. 292 IN A 64.58.76.228 www.yahoo.akadns.net. 292 IN A 64.58.76.229 www.yahoo.akadns.net. 292 IN A 64.58.76.176 www.yahoo.akadns.net. 292 IN A 64.58.76.177 www.yahoo.akadns.net. 292 IN A 64.58.76.178 www.yahoo.akadns.net. 292 IN A 64.58.76.179 www.yahoo.akadns.net. 292 IN A 64.58.76.222 ;; AUTHORITY SECTION: akadns.net. 984 IN NS ZF.akadns.net. akadns.net. 984 IN NS ZG.akadns.net. akadns.net. 984 IN NS ZH.akadns.net. akadns.net. 984 IN NS ZA.akadns.net. akadns.net. 984 IN NS ZB.akadns.net. akadns.net. 984 IN NS ZC.akadns.net. akadns.net. 984 IN NS ZD.akadns.net. akadns.net. 984 IN NS ZE.akadns.net. 20-Sep-18 4/598N: Computer Networks

Multicast DNS (Apple Rendezvous) Situations where there are no DNS servers (local intranet - for example home users who want to name the machines without dealing with the complexities of maintaining DNS servers) or where you may not know where the DNS servers are Create names in the .local domain. For example, my laptop can be called surendar.local. Zeroconf initiative 20-Sep-18 4/598N: Computer Networks