Chapter 7 DHCP
Chapter 7 DHCP
SD
Mycorp
(city) zacker
www
Hosts paris newyork
(street)
• IP address is uniquely assigned by using 2 tier system
1.Network identifier
2.Host Identifier
• Domain name is assigned similarly using the hostname +parent domain+
root of the DNS tree.
• It is 255 characters long
• Domain and host name can contain any symbols like:! @ # $ : / \
Top level Domain
• First word at the right represents the domain at the highest level in
DNS tree called as top level
• The are registrars for the domains at second level
• www.zacker.com
7 top level domains
• .com
• .edu
• .gov
• .int
• mil
• net
• .org
Country Code Domains
• There are 239 country code domains
• Named by ISO designation
• Such as in,pk,fr etc
Second level domains
• The registrars of top level domain are responsible for registering the
second level domain
• The top level domain maintains the information about second level
domain, for eg-owner details, billing information
• Second level domain can create many sub domains without the
permission of root registrar
• DNS server record for sub domains
subdomains
• Level next to second level domain is subdomain
• Many domains on internet stop at second level
• Many organization creates a third level domain based on the country
or city such as paris.zacker.com ,newyork.zacker.com
• It can expand based on department like sales.zacker.com
• Subdomain can be distributes based on zones
DNS Function
1.Resource records:-
• DNS servers are database servers that store information about the
host and sub domains
• To access the domain from over the network
• There are several types of resource records
1. SOA(start of authority):-A start of authority (SOA) record is information
stored in a domain name system (DNS) zone about that zone and about
other DNS records.
• The SOA record stores information about the name of the server that
supplied the data for the zone; the administrator of the zone
commun
ication
Client receiver
Server
DNS Request
• 2 types of queries
1.Recursive
2.iterative
Root name servers
• Root name servers are the servers at the root of the Domain Name
System (DNS) hierarchy.
• DNS includes a hierarchy of “authoritative name servers”, each level
of which contains different pieces of information.
• To translate www.netnod.se, a resolver – the name server a user
queries directly – first has to figure out where .se is, then netnod.se,
and finally www.netnod.se.
• The authoritative name servers that the resolvers use to find top level
Domains (like .se) are the root name servers.
• The root servers contain the information that makes up the root zone,
which is the global list of top level domains. The root zone contains:
• generic top level domains – such as .com, .net, and .org
• country code top level domains – two-letter codes for each country,
such as .se for Sweden or .no for Norway
Resolving a Domain name
• Step 1 - Send a Request to Resolve a Domain Name
• Step 2 - Search for an IP Locally
• Step 3 - Contact ISP and its Recursive DNS Server to Resolve a
Domain Name
• Step 4 - Ask Outside DNS Servers to Provide an IP Address:-
Root domain nameservers.
TLD nameservers.
Authoritative nameserver.
• Step 5 - Receive the IP Address
Root
Server