Chapter 19 DNS (Domain Name System)

Slides:



Advertisements
Similar presentations
DNS – Domain Name system Converting domain names to IP addresses since 1983.
Advertisements

DNS Domain Name System. Domain names and IP addresses People prefer to use easy-to-remember names instead of IP addresses Domain names are alphanumeric.
DNS Domain Name System. Domain names and IP addresses People prefer to use easy-to-remember names instead of IP addresses Domain names are alphanumeric.
Domain Name System (or Service) (DNS) Computer Networks Computer Networks Term B10.
1 EEC-484/584 Computer Networks Lecture 5 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
EEC-484/584 Computer Networks Lecture 5 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
EEC-484/584 Computer Networks Lecture 5 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Domain Name System (or Service) (DNS) Computer Networks Computer Networks Spring 2012 Spring 2012.
EEC-484/584 Computer Networks Lecture 5 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
2: Application Layer1 FTP, SMTP and DNS. 2: Application Layer2 FTP: separate control, data connections r FTP client contacts FTP server at port 21, specifying.
EEC-484/584 Computer Networks Lecture 5 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts, routers: –IP address (32 bit) - used for addressing datagrams –“name”, e.g., gaia.cs.umass.edu.
EEC-484/584 Computer Networks Lecture 5 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
2: Application Layer1 Chapter 2 Application Layer Computer Networking: A Top Down Approach, 4 th edition. Jim Kurose, Keith Ross Addison-Wesley, July 2007.
Application Layer session 1 TELE3118: Network Technologies Week 12: DNS Some slides have been taken from: r Computer Networking: A Top Down Approach.
Internet Applications. Basic procedures involved in visiting a web site 1.Get the IP address of the web server based on the URL that user provides URL:
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
Name Resolution and DNS. Domain names and IP addresses r People prefer to use easy-to-remember names instead of IP addresses r Domain names are alphanumeric.
2: Application Layer1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
CS 4396 Computer Networks Lab
DNS & P2P A PPLICATIONS د. عـــادل يوسف أبو القاسم.
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 10 Omar Meqdadi Department of Computer Science and Software Engineering University.
2: Application Layer 1 Chapter 2: Application layer r 2.1 Principles of network applications r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail  SMTP,
DNS Domain Name System. Domain names and IP addresses People prefer to use easy-to-remember names instead of IP addresses Domain names are alphanumeric.
2: Application Layer1 Some network apps r r Web r Instant messaging r Remote login r P2P file sharing r Multi-user network games r Streaming stored.
CS 471/571 Domain Name Server Slides from Kurose and Ross.
Domain names and IP addresses Resolver and name server DNS Name hierarchy Domain name system Domain names Top-level domains Hierarchy of name servers.
IT 424 Networks2 IT 424 Networks2 Ack.: Slides are adapted from the slides of the book: “Computer Networking” – J. Kurose, K. Ross Chapter 2: Application.
Review: –Which protocol is used to move messages around in the Internet? –Describe how a message is moved from the sender’s UA to the receiver’s.
Chapter 2 Application Layer Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April A note on the use.
DNS: Domain Name System People: many identifiers: – SSN, name, Passport # Internet hosts, routers: – IP address (32 bit) - used for addressing datagrams.
Lecture 6: Video Streaming 2-1. Outline  Network basics:  HTTP protocols  Studies on HTTP performance from different views:  Browser types [NSDI 2014]
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
2: Application Layer1 DNS: Domain Name System People have many identifiers: SSN, name, passport number Internet hosts, routers have identifiers, too: IP.
CS 3830 Day 10 Introduction 1-1. Announcements r Quiz #2 this Friday r Program 2 posted yesterday 2: Application Layer 2.
Lecture 5: Web Continued 2-1. Outline  Network basics:  HTTP protocols  Studies on HTTP performance from different views:  Browser types [NSDI 2014]
1 EEC-484/584 Computer Networks Lecture 5 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer Networking book.
Chapter 2 Application Layer Computer Networking: A Top Down Approach, 4 th edition. Jim Kurose, Keith Ross Addison-Wesley, July 2007.
1 Kyung Hee University Chapter 19 DNS (Domain Name System)
2: Application Layer 1 Chapter 2: Application layer r 2.1 Principles of network applications r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail  SMTP,
Application Layer, 2.5 DNS 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.
CSEN 404 Application Layer II Amr El Mougy Lamia Al Badrawy.
Spring 2006 CPE : Application Layer_DNS 1 Special Topics in Computer Engineering Application layer: Domain Name System Some of these Slides are.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
1 Prof. Leonardo Mostarda University of Camerino Naming Prof. Leonardo Mostarda-- Camerino,
Last time Finish HTTP FTP.
2: Application Layer 1 Some network apps r r Web r Instant messaging r Remote login r P2P file sharing r Multi-user network games r Streaming stored.
Internet Applications
CS590B/690B Measuring network interference (Fall 2016)
Chapter 17 DNS (Domain Name System)
Introduction to Networks
Chapter 19 DNS (Domain Name System)
Session 6 INST 346 Technologies, Infrastructure and Architecture
CS 5565 Network Architecture and Protocols
Introduction to Communication Networks
Domain Name System (DNS)
Principles of Computer Security
Chapter 2 Application Layer
Chapter 7: Application layer
Cookies, Web Cache & DNS Dr. Adil Yousif.
Domain Name System (DNS)
EEC-484/584 Computer Networks
CSE 4213: Computer Networks II
Domain Name System (DNS)
FTP, SMTP and DNS 2: Application Layer.
Chapter 2 Application Layer
Lecture 3 – Chapter 2 CIS 5617, Fall 2019 Anduo Wang
Naming in Networking Jennifer Rexford COS 316 Guest Lecture.
Presentation transcript:

Chapter 19 DNS (Domain Name System)

Introduction People prefer to use easy to remember names instead of IP addresses Domain names are alphanumeric names for IP addresses e.g., kr.yahoo.com, khu.ac.kr, ietf.org The domain name system (DNS) is an Internet-wide distributed database that translates between domain names and IP addresses How important is DNS? Imagine what happens when the local DNS server is down. KT 1.25 Big Accident (DNS Server DOWN !!!): year 2003

Resolver and Name Server An application program on a host accesses the domain system through a DNS client, called the Resolver Resolver contacts DNS Server, called name server DNS server returns IP address to resolver which passes the IP address to application Resolver DNS Server Client 1. Host name(khu.ac.kr) 2. Host name(khu.ac.kr) 4. IP(163.180.96.52) 3. IP(163.180.96.52)

Design principle of DNS The naming system on which DNS is based is a hierarchical and logical tree structure called the domain namespace. An organization obtains authority for parts of the name space, and can add additional layers of the hierarchy Names of hosts can be assigned without regard of location on a link layer network, IP network or autonomous system

Design principle of DNS (Cont’d) In practice, allocation of the domain names generally follows the allocation of IP address, e.g., All hosts with network prefix 163.180/16 have domain name suffix khu.ac.kr

Distributed, Hierarchical Database Root DNS Servers com DNS servers org DNS servers edu DNS servers poly.edu DNS servers umass.edu yahoo.com amazon.com pbs.org Client wants IP for www.amazon.com; At first, client queries a root server to find com DNS server Then, client queries com DNS server to get amazon.com DNS server Thirdly, Client queries amazon.com DNS server to get IP address for www.amazon.com

Resolution Process Let’s look at the resolution process step by step Local DNS What is the IP address of khu.ac.kr? Client

Resolution Process (cont’d) The Local DNS asks a root name server, m, for khu.ac.kr’s address m.root-server Local DNS What is the IP address of khu.ac.kr? Client

Resolution Process (cont’d) The root server m refers local DNS to the kr name servers This type of response is called a “referral” m.root-server Local DNS Here’s a list of the kr name servers. Ask one of them. Client

Resolution Process (cont’d) The local DNS asks a kr name server, f, for khu.ac.kr m.root-server Local DNS f.kr-server What is the IP address of khu.ac.kr? Client

Resolution Process (cont’d) The kr name sever f refers Local DNS to the ac.kr name servers m.root-server Local DNS f.kr-server Here’s a list of the ac.kr name servers. Ask one of them. Client

Resolution Process (cont’d) The local DNS asks an ac.kr name sever, g.ac-kr for khu.ac.kr’s address m.root-server Local DNS What is the IP address of khu.ac.kr? f.kr-server g.ac.kr-server Client

Resolution Process (cont’d) The g.ac.kr-server responds with khu.ac.kr’s address m.root-server Local DNS Here’s the IP address for khu. ac.kr (163.180.96.52) f.kr-server g.ac.kr-server Client

Resolution Process (cont’d) The local DNS responds to client with khu.ac.kr’s address m.root-server Local DNS Here’s the IP address for khu. ac.kr (163.180.96.52) f.kr-server g.ac.kr-server Client

Resolution Process (Caching) After the previous query, the Local DNS now knows: The names and IP addresses of the kr name servers The names and IP addresses of the ac.kr name servers The IP address of khu.ac.kr Let’s look at the resolution process again Client

Resolution Process (Caching) The client asks its Local DNS for networking.khu.ac.kr’s address m.root-server Local DNS What is the IP address of networking.khu.ac.kr? f.kr-server g.ac.kr-server h.khu.ac.kr-server Client

Resolution Process (Caching) Local DNS has cached an NS record indicating g.ac.kr-server is an ac.kr name server, so it asks it for networking.khu.ac.kr’s address m.root-server Local DNS f.kr-server What is the IP address of networking.khu.ac.kr? g.ac.kr-server Client

Resolution Process (Caching) g.ackr-server responds with networking.khu.ac.kr’s address m.root-server Local DNS Here’s a list of the khu.ac.kr name servers. Ask one of them. f.kr-server g.ac.kr-server h.khu.ac.kr-server Client

Resolution Process (Caching) g.ackr-server responds with networking.khu.ac.kr’s address m.root-server Local DNS f.kr-server What is the IP address of networking.khu.ac.kr? g.ac.kr-server h.khu.ac.kr-server Client

Resolution Process (Caching) Finally, the Local DNS responds to client with networking.khu.ac.kr’s address m.root-server Local DNS Here’s the IP address for networking.khu.ac.kr (163.180.116.228) f.kr-server g.ackr-server h.khu.ac.kr-server Client

DNS: Root name servers 13 root name servers worldwide contacted by local name server that can not resolve name root name server: contacts authoritative name server if name mapping is not known gets mapping returns mapping to local name server a Verisign, Dulles, VA c Cogent, Herndon, VA (also Los Angeles) d U Maryland, College Park, MD g US, DoD, Vienna, VA h ARL, Aberdeen, MD j Verisign, (11 locations) k RIPE, London (also Amsterdam, Frankfurt) i Autonomica, Stockholm (plus 3 other locations) m WIDE Tokyo e NASA, Mt View, CA f Internet Software C. Palo Alto, CA (and 17 other locations) 13 root name servers worldwide b USC-ISI Marina del Rey, CA l ICANN Los Angeles, CA

Summary The domain name system (DNS) is an Internet-wide distributed database that translates between domain names and IP addresses An application program on a host accesses the domain system through a DNS client, called the Resolver Resolver contacts DNS Server, called name server DNS server returns IP address to resolver which passes the IP address to application The naming system on which DNS is based is a hierarchical and logical tree structure called the domain namespace. There are 13 root name servers worldwide