Docsity

Computer networks by Farouzan., Cheat Sheet of Computer Networks

Partial preview of the text

Download Computer networks by Farouzan. and more Cheat Sheet Computer Networks in PDF only on Docsity!

Data Communication and Networks

(CSC 313 )

By

Ms. Sadia Zar

Department of Computer Science,

Iqra University, Islamabad

Lecture Outlines

 Domain Name System

 Distributed and Hierarchical System

 FQDN and PQDN

 TLDs

 Authoritative Name Servers

Domain Name Space

To have a hierarchical name space, a domain name space was designed. In this design the names are defined in an inverted-tree structure with the root at the top. The tree can have only 128 levels: level 0 (root) to level 127.

Domain Name and Label

Domain Name System

People: use many identifiers e.g. SSN, name, passport # Internet hosts, routers: IP address (32 bits, 128 bits) - used for addressing datagrams

“name”, e.g., www.yahoo.com - used by humans “IP Address”, e.g. 209.85.128.0 – used by computers

Q: how to map between IP addresses and name?

DNS: Distributed and Hierarchical

Root DNS Servers

com DNS servers org DNS servers^ edu DNS servers poly.edu DNS servers

umass.edu yahoo.comDNS servers amazon.com DNS servers^ pbs.org DNS servers DNS servers

DNS: Root Name Servers

o Contacted by local name server that can not resolve name Root Name Server: o contacts authoritative name server if name mapping not known o gets mapping o returns mapping to local name server

b USC-ISI Marina del Rey, CA l ICANN Los Angeles, CA

e NASA Mt View, CA f Internet Software C. Palo Alto, CA (and 17 other locations)

i Autonomica, Stockholm (plus 3 other locations)^ k RIPE London (also Amsterdam, Frankfurt) m WIDE Tokyo

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)

Generic Domains and Labels

Country Domains

Local Name Server

 Does not strictly belong to hierarchy

 Each ISP (residential ISP, company, university) has one.

 Also called “default name server”

 When a host makes a DNS query, query is sent to its local DNS server  Acts as a proxy, forwards query into hierarchy.

Example

requesting host cis.poly.edu gaia.cs.umass.edu

root DNS server

local DNS server dns.poly.edu 1

2 3 4 5

6

authoritative DNS server dns.cs.umass.edu

8 7

TLD DNS server

Host at cis.poly.edu wants IP address for gaia.cs.umass.edu

FQDN and PQDN

Domains

Hierarchy of Name Servers

Zones and Domains

A primary server loads all information from the disk file; the secondary server loads all information from the primary server. When the secondary downloads information from the primary, it is called zone transfer.