Professional Documents
Culture Documents
What is DNS ?
Resolving
Why DNS ?
Working of DNS. DNS Hierarchy Features Intro to IP
Message format
ER diagram DNS DB Summary
The term DNS stands for domain name system. DNS created in 1983 by Paul Mockapetris . A globally distributed, scalable, reliable, dynamic database It translates human-friendly website addresses into computer-friendly IP
the Internet is based on IP addresses, not domain names. IP Addresses are convinient for computers address includes information used for routing.) (IP IP addresses are tough for humans to remember. IP addresses are impossible to guess. Domain names comprise a hierarchy so that names are unique, easy to
remember.
as one system.
A domain name is key to doing just about anything on the Internet, from
store.
A domain name is the sequence of labels from a node to the root, separated
Every interface on an internet must have a unique address called IP address. These addresses are 32 bit numbers, normally written as four decimal numbers,one for each byte of the address. This is called dotted-decimal notation.
identify the specific system in the network. That unique identifier is called
The IP address is basically the address that distinguishes where you want
The IP(internet Protocol) is available in two versions, There are, IPv4(Internet Protocol version 4)
for the number A-F. A leading zero in a set of numbers can be omitted
ABC:567:0:8888:0:9999:1111:0 abc:567:8888:0:9999:1111:0
11
a mapping between the name of the host on the internet and its numerical
address.
Name servers
Resolvers
12
It is 32 bit address provides uniquely identifying device. It has two components Network number Host address Domain refers to a group of hosts that are administrative control. Domains are organizes hierarchically, so that the domain has sub routines.
13
14
15
16
The top level of the DNS hierarchy, also called the root level
It is maintained by a set of 13 servers called root name servers. Those servers in turn knows all the TLDs which contain the same vital
information
They are coordinated by ICANN and are distributed around the world.
17
18
ICANN
The Internet Corporation for Assigned
19
To oversee administer Internet resources including Addresses Delegating blocks of addresses to the regional registries. Protocol identifiers Allocating port numbers, etc. Names Administration of the root zone file. Oversight of the operation of the root name servers.
20
SCALABILITY
No limit to the size of the database
One server has over 20,000,000 names Not a particularly good idea
21
RELIABILITY
Data is replicated
Data from master is copied to multiple slaves Clients can query
Master server
Any of the copies at slave servers Clients will typically query local caches DNS protocols can use either UDP or TCP If UDP, DNS protocol handles retransmission, sequencing, etc.
22
DYNAMICITY
Database can be updated dynamically
Add/delete/modify of any record Modification of the master database triggers replication
23
RESOLUTION
Mapping a name to an address or an address to a name is called nameaddress resolution.
24
Recursive resolution
25
Iterative resolution
26
www.google.com
27
1.The client contacts NameServer1 with a recursive query for www.google.com. The server must now return either the answer or an error message.
2.NameServer1 checks its cache and zones for the answer, but does not find it, so it contacts a server authoritative for the Internet (that is, a root server ) with an iterative query for www.google.com.
3.The server at the root of the Internet does not know the answer, so it responds with a referral to a server authoritative for the .com domain.
28
5.The server authoritative for the .com domain does not know the exact
7.The server authoritative for the google.com domain does know the answer. It responds with the requested IP address.
DNS MESSAGES
The DNS query message consists of a header and question records; the DNS response message consists of a header, question records, answer records, authoritative records, and additional records.
30
DNS messages
31
32
Section Name
Description
Header
Contains fields that describe the type of message and provide important information about it. Also contains fields that indicate the number of entries in the other sections of the message.
Question
Carries one or more questions, that is, queries for information being sent to a DNS name server.
33
Section Name
Answer
Authority
Additional
Description Carries one or more resource records that answer the question(s) indicated in the Question section above. Contains one or more resource records that point to authoritative name servers that can be used to continue the resolution process. Conveys one or more resource records that contain additional information related to the query that is not strictly necessary to answer the queries (questions) in the message.
34
The system which is in network request a web page to its local server.
The local DNS of that server maintain the details of the local clients
connected to it.
From that server the page request forwarded to the DNS of the web content.
The request or the query for the particular page is in the name of that local
server.
The query first processed by the resolver, it and then forward to the SLAVE
NAME SERVER. If the domain name is found in that it will return the IP
address to the requested resolver.
35
If the domain name is not found in the particular slave domain it and then
forward the detail of the requested resolver and the domain name to the higher name server.
The resolver details should be maintained in each level of name server if
name server of zones may be slave name server of another primary name server.
Each and every zone has its unique salve name server.
36
The IP address of the requested page can be directly forwarded from the
current name server level., or the address should be returned through the
address in found then the IP address and the domain name stored. Otherwise
domain name in its cached detail. If it is not found then it forward the
37
38
Key features:
39
40
Name Servers: These are server programs that hols information about a protion of the
41
The need of DNS is demonstrated here. Without DNS we can not imagine the internet itself. The achievement done in the internet and web environment are the branch
42
43