ITEC350 Networks I Lecture 3. DNS (Domain Name Service)

Slides:



Advertisements
Similar presentations
Web Server Administration
Advertisements

2.1 Installing the DNS Server Role Overview of the Domain Name System Role Overview of the DNS Namespace DNS Improvements for Windows Server 2008 Considerations.
Web Server Administration Chapter 4 Name Resolution.
Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
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.
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.
Domain Name System: DNS
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 5 Introduction to DNS in Windows Server 2008.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
CPSC 441: DNS1 Instructor: Anirban Mahanti Office: ICT Class Location: ICT 121 Lectures: MWF 12:00 – 12:50 Notes derived.
TCP/IP Protocol Suite 1 Chapter 17 Upon completion you will be able to: Domain Name System: DNS Understand how the DNS is organized Know the domains in.
Domain Name Services Oakton Community College CIS 238.
Chabot College ELEC Name Resolution.
11.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
NET0183 Networks and Communications Lecture 25 DNS Domain Name System 8/25/20091 NET0183 Networks and Communications by Dr Andy Brooks.
DNS. Introduction What is DNS? –Hierarchy or Tree –Dot used as a separator.
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts: – IP address (32 bit) - used for addressing datagrams – “name”, e.g.,
Domain Name System (DNS)
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.
CN2140 Server II Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
DNS and C# SWE 344 Internet Protocols & Client Server Programming.
DNS (Domain Name System). Domain Name System (DNS) Developed by Postel & Mockapetris is a good site to browse The phone.
Petrozavodsk State University, Alex Moschevikin, 2003NET TECHNOLOGIES Domain Name System HISTORY File hosts (the size of Internet became more than 1000.
DNS: Domain Name System
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
14 DNS : The Domain Name System. 14 Introduction - Problem Computers are used to work with numbers Humans are used to work with names ==> IP addresses.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Network Protocols Chapter 25 (Data Communication & Networking Book): Domain Name System (DNS) 1.
Chapter 17 Domain Name System
DNS Related Commands Sayed Ahmed Computer Engineering, BUET, Bangladesh (Graduated on 2001 ) MSc, Computer Science, U of Manitoba, Canada
COMT 6251 Network Layers COMT Overview IP and general Internet Operations Address Mapping ATM LANs Other network protocols.
Chapter 29 Domain Name System (DNS) Allows users to reference computer names via symbolic names translates symbolic host names into associated IP addresses.
DNS ITL see: Douglas Comer: Internetworking with TCP/IP, volume I” pages
Domain Name System CH 25 Aseel Alturki
October 8, 2015 University of Tulsa - Center for Information Security Microsoft Windows 2000 DNS October 8, 2015.
CITA 310 Section 1 Name Resolution (Textbook Chapter 4)
Domain Name System. CONTENTS Definitions. DNS Naming Structure. DNS Components. How DNS Servers work. DNS Organizations. Summary.
Deploying a Web Application Presented By: Muhammad Naveed Date:
Chapter 16 – The Domain Name System (DNS) Presented by Shari Holstege Tuesday, June 18, 2002.
Internet and Intranet Protocols and Applications Lecture 5 Application Protocols: DNS February 20, 2002 Joseph Conron Computer Science Department New York.
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.
Configuring Name Resolution and Additional Services Lesson 12.
1 Internet Network Services. 2 Module - Internet Network Services ♦ Overview This module focuses on configuring and customizing the servers on the network.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
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.
Linux Operations and Administration
Web Server Administration Chapter 4 Name Resolution.
1 CMPT 471 Networking II DNS © Janice Regan,
1. Internet hosts:  IP address (32 bit) - used for addressing datagrams  “name”, e.g., ww.yahoo.com - used by humans DNS: provides translation between.
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.
TCP/IP Protocol Suite 1 Chapter 17 Upon completion you will be able to: Domain Name System: DNS Understand how the DNS is organized Know the domains in.
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
WHAT IS DNS??????????.
Configuring and Managing the DNS Server Role Lesson 4.
KAPLAN SCHOOL OF INFORMATION SYSTEMS AND TECHNOLOGY IT375 Window Enterprise Administration Course Name – IT Introduction to Network Security Instructor.
1 Internet Service DNS & BIND OPS335 Seneca College of Applied Technology.
Understand Names Resolution
Domain Name System (DNS)
Networking Applications
Chapter 9: Domain Name Servers
DNS (Domain Name System)
IMPLEMENTING NAME RESOLUTION USING DNS
Configuring and Managing the DNS Server Role
Domain Name System (DNS)
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Domain Name System: DNS
Presentation transcript:

ITEC350 Networks I Lecture 3

DNS (Domain Name Service)

Address “translation” Domain Name Service (DNS)  Given a Domain Name (e.g., yahoo.com), lookup the IP address.  Command nslookup returns: DNS Server name & IP addr IP address(es) of the domain Microsoft Windows 2000 [Version ] (C) Copyright Microsoft Corp. H:\>nslookup yahoo.com Server: newriver.radford.edu Address: Non-authoritative answer: Name: yahoo.com Addresses: ,

U.S. Top Level Domains

Address Resolution Early Internet had no Domain Name System – Just HOSTS file  Win2K: C:\WINNT\system32\drivers\etc\HOSTS  Unix\Linux: /etc/hosts Ancient History: Before DNS,  The master HOSTS file was maintained by SRI International  Periodically, every computer in the internet reloaded HOSTS file ~1984 someone realized that millions of computers and domains needed a central database – DNS was born Still, when a host needs to translate yahoo.com,  First, HOSTS file is scanned  Then DNS is used.

Domain Name Service (DNS) Developed by Postel & Mockapetris is a good site to browse The phone book of the internet  But more restrictive … Each entry must be Unique Authentic  Universal Resolvability is ensured  Distributed Database

Figure 1.27: Domain Name System (DNS) DNS Request Message “The host name is Voyager.cba.hawaii.edu” Originating Host DNS Server

Figure 1.27: Domain Name System (DNS) DNS Table Host Name … Voyager.cba.hawaii.edu … IP Address … … DNS Response Message “The IP address is ” Originating Host DNS Server

DNS 13 Identical Root Servers  All Top Level Domain (TLD) Registries  Database for each TLD.com.org.edu.biz …. (gTLDs).fr.ca etc. country-specific TLDs, or ccTLDs Root Servers are  Authoritative  Maintained by ICANN, (International Corporation for Assigned Names and Numbers)

DNS Why does Radford have a DNS server called newriver.radford.edu ?  The 13 authoritative servers could not handle the load of billions of name resolutions  Faster to have a “non-authoritative” local server  If there is a domain name that newriver.radford.edu does not have Newriver can contact one of the authoritative root servers

DNS Names Hierarchical, right to left  nth level ……. Top Level Domain (Label)  yadda.yadda.yadda.yadda……….edu TLD, or Label may be up to 63 chars long Total length of name must be <= 255 chars Total length <= 127 labels DNS Names are either  Relative (newriver)  Fully qualified (newriver.radford.edu, an actual host or server)

Sidebar on Domain Names in USA ISO 3166 is a standard that defines a unique TLD for each country (i.e.,.fr = France) Why don’t we see radford.edu.us?  Because the USA, alone among all other countries, decided not to bother using the ISO’s TLD scheme Other variations adopted by some countries include “sub-domains” e.g.:  In the UK, ac.uk, co.uk, and sch.uk are reserved for academic, company and schools  In Australia, a blend of the US and ISO is used:.edu.au,.com.au

The root zone, AKA DNS Zones: Any collection of hosts.edu radford.edu Network lab in DA214.

DNS Servers Each DNS zone has  A domain name  At least a primary server  Probably a secondary server as well A computer that maintains a single master list of DNS Names and IP Addresses for a zone  Has Authority for that Zone  Is known as the primary server for the zone

Application (Host Process) Interfaces Given a domain Name there are several methods of resolution  Host table lookup (on Unix, /etc/hosts is a text file )  Local name server process (on Unix, named)  Send msg to a DNS primary or secondary server

NSlookup – DNS Translation Manual Page for nslookup can be found at It is for Unix shell, but most operation is same for WIN2K or up. The command nslookup allows DNS translation to a DOS cmd window.

H:\>nslookup Default Server: newriver.radford.edu Address: > ? Commands: (identifiers are shown in uppercase, [] means optional) NAME - print info about the host/domain NAME using default server NAME1 NAME2 - as above, but use NAME2 as server help or ? - print info on common commands set OPTION - set an option all - print options, current server and host [no]debug - print debugging information [no]d2 - print exhaustive debugging information [no]defname - append domain name to each query [no]recurse - ask for recursive answer to query [no]search - use domain search list [no]vc - always use a virtual circuit domain=NAME - set default domain name to NAME srchlist=N1[/N2/.../N6] - set domain to N1 and search list to N1,N2, etc. root=NAME - set root server to NAME retry=X - set number of retries to X timeout=X - set initial time-out interval to X seconds type=X - set query type (ex. A,ANY,CNAME,MX,NS,PTR,SOA,SRV) querytype=X - same as type class=X - set query class (ex. IN (Internet), ANY) [no]msxfr - use MS fast zone transfer ixfrver=X - current version to use in IXFR transfer request server NAME - set default server to NAME, using current default server lserver NAME - set default server to NAME, using initial server finger [USER] - finger the optional NAME at the current default host root - set current default server to the root ls [opt] DOMAIN [> FILE] - list addresses in DOMAIN (optional: output to FILE) -a - list canonical names and aliases -d - list all records -t TYPE - list records of the given type (e.g. A,CNAME,MX,NS,PTR etc.) view FILE - sort an 'ls' output file and view it with pg exit - exit the program

(Example) Nslookup Server newriver.radford.edu  Not authoritative for yahoo.com  Authoritative for neelix Relative form used C:\>nslookup yahoo.com Server: newriver.radford.edu Address: Non-authoritative answer: Name: yahoo.com Addresses: , C:\>nslookup neelix Server: newriver.radford.edu Address: Name: neelix.RADFORD.EDU Addresses: ,

DNS records Domain Name Servers get their information from a database maintained by the domain administrator. A client sends a message to the DNS using the UDP protocol. A server has different types of entries

DNS Query types A, CNAME, NS, MX, PTR, SOA, TXT  Each query type returns slightly different subset of the total information. Following slides were the output from  Using radford.edu as the domain  Each different query type selected in turn

DNS Resource Records (RR) Start of Authority (SOA) – denotes the primary DNS and time limits. Address (A) – supplies a host name's IP address Canonical Name (CNAME) – provides alias host names Mail Exchanger (MX) – defines a domain's mail systems Name Server (NS) – defines a domain's name servers

RR example acme.com. IN SOA origin = acme.com. mail addr = jef.acme.com. serial = (Date format) refresh = (3 Hours) retry = 1200 (20 Minutes) expire = (1 Week) minimum = 3600 (1 Hours) acme.com. IN NS dns.acme.com. acme.com. IN MX 20 mail.acme.com. dns.acme.com. IN A ftp.acme.com. IN CNAME

RR example acme.com. IN SOA dns.acme.com. dnsowner.acme.com. ( ; serial # (date format) ; refresh (3 hours) 3600 ; retry (1 hour) ; expire (1 week) 86400) ; TTL (1 day) acme.com. IN NS dns.acme.com. IN NS ns1.isp.net. acme.com. IN MX 20 mail.acme.com. IN MX 40 mail.isp.com. dns.acme.com. IN A mail.acme.com. IN A IN A ftp.acme.com. IN CNAME pc.acme.com. IN A

All DNS records for Radford.edu Server: www-coastland-49.highertech.net Address: Non-authoritative answer: radford.edu nameserver = GNS1.NOMINUM.COM radford.edu nameserver = GNS2.NOMINUM.COM radford.edu nameserver = RUACAD.radford.edu radford.edu nameserver = RUSERVE.radford.edu radford.edu nameserver = WEBWORK.radford.edu radford.edu origin = RUSERVE.radford.edu mail addr = bbuskill.radford.edu serial = refresh = (3H) retry = 3600 (1H) expire = (1W) minimum = 900 (15M) Authoritative answers can be found from: radford.edu nameserver = GNS1.NOMINUM.COM radford.edu nameserver = GNS2.NOMINUM.COM radford.edu nameserver = RUACAD.radford.edu radford.edu nameserver = RUSERVE.radford.edu radford.edu nameserver = WEBWORK.radford.edu GNS1.NOMINUM.COM internet address = GNS2.NOMINUM.COM internet address = RUACAD.radford.edu internet address = RUSERVE.radford.edu internet address = WEBWORK.radford.edu internet address =

DNS uses two request flavors A recursive request will respond with the answer or an error message if the host is not known. This is the type of request made by a client when the user program executes a “gethostbyname” function. An Interactive request will respond with the answer or the name of a DNS that may be able to answer the question. This type of request is usually used between Domain Name Servers.

DNS Search Example. (ROOT) Newriver.radford.edu Cist_hp_da.radford. edu.COM DNS zone Server DNS.yahoo.com yahoo.com Cist_hp_da.radford.edu needs the address of a web server on yahoo.com Radford University Yahoo One of the 13 root servers Each blue oval is a network operated by a distinct organization. (ISP networks not shown)

Second DNS Search Example. (ROOT) Newriver.radford.edu Cist_da_hp.radford. edu.COM DNS DNS.yahoo.com ftp.yahoo.com cist_da_hp.radford.edu needs the address of ftp.yahoo.com after finding yahoo.com

.arpa An explicit way to signal for reverse translation Reverse lookups