The Domain Name System (DNS)

Slides:



Advertisements
Similar presentations
Domain Name System (DNS) Name resolution for both small and large networks Host names IP Addresses Like a phone book, but stores more information Older.
Advertisements

Web Server Administration
DNS DOMAIN NAME SYSTEM NAME SYSTEM By Lijo George.
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.
1 Guide To TCP/IP Domain Name System. 2 DNS – TCP/IP Application Protocol Name resolution protocol - robust, reliable & stable Distributed database technology.
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 IP assigns 32-bit addresses to hosts (interfaces)
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 Term B10.
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 (or Service) (DNS) Computer Networks Computer Networks Spring 2012 Spring 2012.
CMPE 150 – Winter 2009 Lecture 18 March 10, 2009 P.E. Mantey.
EEC-484/584 Computer Networks Lecture 5 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
20101 The Application Layer Domain Name System Chapter 7.
Domain Name System (DNS) Network Information Center (NIC) : HOSTS.TXT.
The Domain Name System Unix System Administration Download PowerPoint Presentation.
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.
Domain Name System: DNS
CSEE W4140 Networking Laboratory Lecture 10: DNS Jong Yul Kim
W4140 Network Laboratory Lecture 11 Nov 27 - Fall 2006 Shlomo Hershkop Columbia University.
CPSC 441: DNS1 Instructor: Anirban Mahanti Office: ICT Class Location: ICT 121 Lectures: MWF 12:00 – 12:50 Notes derived.
CompSci 356: Computer Network Architectures Lecture 20: Domain Name System and Content distribution networks Chapter Xiaowei Yang
Domain Name System ( DNS )  DNS is the system that provides name to address mapping for the internet.
Module 12: Domain Name System (DNS)
12 September 2003Jon-Olov Vatn, KTH/IMIT/TSLab Domain Name System (DNS) 2G1701 Lecture Jon-Olov Vatn KTH/IMIT/TSLab © 2003.
DNS Domain Name Service References: Wikipedia 1.
2: Application Layer1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
DNS (Domain Name System)
Domain Name Service (DNS) at Colorado State University
CS 4396 Computer Networks Lab
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts: – IP address (32 bit) - used for addressing datagrams – “name”, e.g.,
The Domain Name System. Computer Center, CS, NCTU 2 History of DNS  Before DNS ARPAnet  HOSTS.txt contains all the hosts’ information  Maintained by.
TELE 301 Lecture 11: DNS 1 Overview Last Lecture –Scheduled tasks and log management This Lecture –DNS Next Lecture –Address assignment (DHCP)
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.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 17 Domain Name System (DNS)
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.
DNS: Domain Name System
Domain Name System (DNS)
Chapter 17 Domain Name System
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CITA 310 Section 1 Name Resolution (Textbook Chapter 4)
Deploying a Web Application Presented By: Muhammad Naveed Date:
Internet and Intranet Protocols and Applications Lecture 5 Application Protocols: DNS February 20, 2002 Joseph Conron Computer Science Department New York.
1 Kyung Hee University Chapter 18 Domain Name System.
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.
Configuring Name Resolution and Additional Services Lesson 12.
1 Domain Name System (DNS). 2 3 How DNS Works Application Transport Internet Network Application Transport Internet Network DNS Resolver Name Server.
CS 3830 Day 10 Introduction 1-1. Announcements r Quiz #2 this Friday r Program 2 posted yesterday 2: Application Layer 2.
Computer Networks Fall, 2007 Prof Peterson. CIS 235: Networks Fall, 2007 Western State College How’s it going??
DNS DNS overview DNS operation DNS zones. DNS Overview Name to IP address lookup service based on Domain Names Some DNS servers hold name and address.
Lecture 5: Web Continued 2-1. Outline  Network basics:  HTTP protocols  Studies on HTTP performance from different views:  Browser types [NSDI 2014]
UsTLD Stakeholders Council Bryan Britt Beltane Web Services Delegated Domain Manager since 1996 ~500 Domain Delegations.
Web Server Administration Chapter 4 Name Resolution.
1 CMPT 471 Networking II DNS © Janice Regan,
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.
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??????????.
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.
Domain Name System (DNS)
Networking Applications
Session 6 INST 346 Technologies, Infrastructure and Architecture
Domain Name System (DNS)
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Presentation transcript:

The Domain Name System (DNS) Brad Smith brad@soe.ucsc.edu CE150, 3/10/09

Domain Names Each node in the DNS hierarchy represents a DNS domain name cruzmail.ucsc.edu services.soe.ucsc.edu Each subtree of the DNS hierarchy is a DNS domain. ucsc.edu soe.ucsc.edu A DNS domain can contain hosts or other domains (subdomains) E.g. “neon.cs.virginia.edu.”

Resource Records The DNS contains one or more resource records for each domain name. Each RR is a five-tuple. Name. TTL (in seconds)… vs. $TTL and SOA “MINIMUM” field Class (usually “IN” for Internet info). Type: type of RR. Value. $TTL 86400 mylab.com. IN SOA PC4.mylab.com. hostmaster@mylab.com. ( 1 ; serial 28800 ; refresh 7200 ; retry 604800 ; expire 86400 ; ttl ) ; mylab.com. IN NS PC4.mylab.com. localhost A 127.0.0.1 PC4.mylab.com. A 10.0.1.41 PC3.mylab.com. A 10.0.1.31 PC2.mylab.com. A 10.0.1.21 PC1.mylab.com. A 10.0.1.11 Not all entries have 5 fields and some have more than 5… what’s up? MINUMUM field in SOA record is now used for TTL for negative responses

dig Unix utility Command line DNS query utility dig [@server] [name] [type] dig services.cse.ucsc.edu If you don’t give “@server” what server does it use?

DNS Protocol DNS has two types of messages: query and response. Both have the same format A query includes a header and a question section A response includes Header Sections: question, answer, authoritative, and additional The dig utility returns this information.

DNS Protocol - Header Format Twelve bytes.

Resource Record Types A (or AAAA): address. Contains 32-bit IP address. Single name <-> several A RRs. CNAME: canonical name. Alias. HINFO: host description. Provides information about host, e.g., CPU type, OS, etc. MX: mail exchange. Name of mail server for this domain. PTR: Reverse DNS lookups (IP address to domain name mapping TXT: arbitrary string of characters. Generic description of the domain, where it is located, etc. Following apply only to domains SOA: start of authority. Marks beginning of zone’s database. Provides general info about the zone: e-mail address of admin, default TTL, etc. NS: name server. Name of name server for this domain. What is an AAAA record?

dig Unix utility dig www.soe.ucsc.edu dig ucsc.edu soa 5 part value Source host Contact e-mail Serial number Refresh time – time (secs) for secondary to try zone xfer Retry time – time (secs) for secondary to retry zone xfer Expire time – time (secs) secondary will expire zone Minimum TTL – min TTL for zone records (3600 default) dig ucsc.edu ns Why use non-UCSC servers for some of ucsc.edu’s name servers?

PTR Records and the in-addr.arpa Domain Used for inverse lookups: IP address  domain name. PTR records Reversed IP address concatenated with “in-addr.arpa” 10.48.114.128.in-addr.arpa Allows for meaningful delegation of domains. dig –x …

dig Unix utility “dig –x …” reverse (PTR) lookup dig –x 128.114.48.10

Addresses of root servers (2004) A.ROOT-SERVERS.NET. (VeriSign, Dulles, VA) 198.41.0.4 B.ROOT-SERVERS.NET. (ISI, Marina Del Rey CA) 192.228.79.201 C.ROOT-SERVERS.NET. (Cogent Communications) 192.33.4.12 D.ROOT-SERVERS.NET. (University of Maryland) 128.8.10.90 E.ROOT-SERVERS.NET. (Nasa Ames Research Center) 192.203.230.10 F.ROOT-SERVERS.NET. (Internet Systems Consortium) 192.5.5.241 G.ROOT-SERVERS.NET. (US Department of Defense) 192.112.36.4 H.ROOT-SERVERS.NET. (US Army Research Lab) 128.63.2.53 I.ROOT-SERVERS.NET. (Autonomica/NORDUnet) 192.36.148.17 J.ROOT-SERVERS.NET. (Verisign, multiple cities) 192.58.128.30 K.ROOT-SERVERS.NET. (RIPE,Europe multiple cities) 193.0.14.129 L.ROOT-SERVERS.NET. (IANA, Los Angeles) 198.32.64.12 M.ROOT-SERVERS.NET. (WIDE, Tokyo, Seoul, Paris) 202.12.27.33

dig Unix utility How get list of root servers? dig . ns

Query Types There are two types of queries: Recursive queries Iterative queries The type of query is determined by a bit in the DNS message Recursive query: when a server can’t resolve a query Issues queries (typically iterative) to find resource records Returns requested resource records (or error) Typically issued by local DNS server Iterative queries: when a server can’t resolve a query Returns a referral to another, better (“closest known”) server Typically issued by DNS client

Recursive Query

Iterative Query “dig +trace neon.cs.virginia.edu”

Interesting use of DNS… How could you use DNS to Provide web server load balancing Improve web performance PacBell DNS server: 206.13.28.12, 206.13.31.12

dig Unix utility “Akamaized” URLS… dig x.myspace.com dig wwwimages.adobe.com dig cache.vzw.com

Akamai Example Content Delivery Network (CDN) Charge for delivering content How? Customer modifies URL for Akamai served content Special “host name” gets resolved to closest Akamai cache Two levels Region in Internet Cache within region Example Pick Akamai customer Look at web site source “dig” the host for a .gif URL Value provided by Akamai: monitoring Internet performance for mapping PacBell DNS server: 206.13.28.12, 206.13.31.12

Tammy Tooley-Chelossi Advertisements CE151 Network Management and Operations (NMO) Lab Contact Tammy Tooley-Chelossi ttchelossi@soe.ucsc.edu

Brad Smith brad@soe.ucsc.edu Thank you! Brad Smith brad@soe.ucsc.edu