TCP/IP and Upper Layer Protocols
TCP/IP and Upper Layer Protocols
Define DNS
GENERIC DOMAIN
COUNTRY DOMAIN
GENERIC DOMAIN
• A domain name is the sequence of labels from a node to the root,
separated by dots (“.”s), read left to right
• Domain names are limited to 255 characters in length
""
n o m in u m m e ta in fo b e r k e le y nwu a rm y
Country Domain
There are also country code top-level domain names
for every nation, like:
• .pk, Pakistan
• .ae, Arab Emirates
• .us, United States
• .mx, Mexico
• .uk, United Kingdom etc.
These are called “country code” top-level domains (ccTLDs).
Top Level Domains
• A Top Level Domain refers to the part of a domain name that comes
after the period.
• there's a comparatively static number of Top Level Domains;
• .com, .edu,.gov,.info and .org are just a few key examples.
Registrars sell domain names
• For most generic TLDs there are many registrars and a competitive
registration market place:
• http://www.name.com
• http://www.godaddy.com
• http://www.hostgator.com
• http://www.justhost.com etc.
Registering a domain – check for availability
Larrypress.com was taken, but these are available and
for sale
Getting a Web Page
• It`s Types,
• Primary: Locally stored files exists on the name server data base.
• Secondary: Gets data called a zone transfer from another server that is
the zone authority.
• No special hardware necessary
Types of Name Servers
• An Authoritative name server is one that is configured from an original
source
• e.g., the
• system administrator for the given domain
• Two forms of authoritative name servers
• whois – tells you the owner and primary DNS servers associated with a domain
• e.g. whois of yahoo.com https://www.whois.com/whois/yahoo.com
DNS Queries
• A DNS query packet is formed at the application layer.
•
The root node has a null label, written as “”
DNS Components
There are 3 components:
• Name Space:
Specifications for a structured name space and data associated with the
names
• Resolvers:
Client programs that extract information from Name Servers.
• Name Servers:
Server programs which hold information about the structure and the names.
Subdomains
One domain is a subdomain of another if its top node is a
descendant of the other’s top node
• So
• purchase.tradus.com is a subdomain of
• tradus.com
Loads On DNS
• DNS root servers get approximately 3000
queries per second.
Zones
• it represents an area of the Internet that is in one administered
space
• The zone statement defines the characteristics of a given zone
(subdomain)
• the zone name is extended to the domain name,
• zone options are largely but also include
• allow-transfer – which slaves can obtain info
• allow-update – the masters which can update this DNS
Name Servers and Zones
10.0.0.6 serves data for Name Servers Zones
both central university
ofbihar.ac.in and
cub.org zones 10.0.0.6
cub.ac.pk
10.0.0.5
serves data for
cub.ac.in zone 10.0.0.5
only
cu.com
20.1.1.1 serves
data for cu.com 20.1.1.1
zone only
Dividing a Domain into Zones
nominum.com
domain
""
nominum.com
zone
.a rp a .c o m .e d u
ams.nominum.com
rwc.nominum.com zone
zone acm ebw n o m in u m n e ts o l
rw c w w w ftp am s