SlideShare a Scribd company logo
1 of 35
Download to read offline
DNS : A STUDY
Presented By- MAUOOD HAMIDI
MSC CS
CUB1102312006
GUIDED BY:-
NEMI CHANDRA RATHORE SIR
HOD Dept. Of Computer Science
Central University Of Bihar
8/2/2013 Presented For Dissertation On DNS
COVERAGE
 DNS DEFINITION
 DNS SERVER
 DNS TOOLS
 DNS QUERY
 DNS RECORDS
8/2/2013 Presented For Desertation On DNS
COVERAGE
NETWORK TOOLS
NEED OF DNS
DNS COMPONENTS
DNS TYPES
DNS CONTEXT
8/2/2013 Presented For Desertation On DNS
DOMAIN NAME SYSTEM
DNS Technology Allows Hosts On
TCP/IP Networks To Be Address By Its
Name. DNS Automatically Convert The
Names We Type In Our Web Browsers
Address Bar To The IPAddresses Of
Web Servers Hosting Those Sites.
Internet.w3school.com
Hostname Organization Top-level
domain
8/2/2013 Presented For Desertation On DNS
DNS CONTINUED
• DNS Include A Network Protocol for
Memorizing Host Name And Addresses
Through A Distributed Data Base.
• All The Top-Level domains, delegates
authority for second-level domains, and a
database of registered name servers for
all second-level domains Monitored by
The Network Information System(NIC).
8/2/2013 Presented For Desertation On DNS
DNS CONT………
• Host name assignments maintained
through zone files on primary DNS
server. Secondary DNS server gets zone
file from primary server.
8/2/2013 Presented For Desertation On DNS
DNS SERVER
• There are different types of DNS
SERVER available we can install any of
them as per our requirement. It Is Of
Three 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.
8/2/2013 Presented For Desertation On DNS
DNS SERVERS
• Caching:- Only caches name server
information and does not contain its own
files.
• For example:-
• BIND, DJBDNS, ANS/CNS, POWER
DNS etc.
8/2/2013 Presented For Desertation On DNS
SERVER SUBSCRIPTION
• Costs range from $20 to $50 per year.
• ISP’s beginning to offer domain name
registration as part of other packages.
• Need to register a primary and secondary
domain name servers for your domain
and arrange to have zone files created on
DNS servers.
8/2/2013 Presented For Desertation On DNS
DNS IN ACTION….
8/2/2013 Presented For Desertation On DNS
DNS TOOLS
• There are several tools for monitoring
DNS information:
– whois – tells you the owner and
primary DNS servers associated with a
domain (e.g. whois yahoo.com). Also
available via web browser at
www.networksolutions.com
8/2/2013 Presented For Desertation On DNS
DNS TOOLS
• -nslookup and host (on UNIX machines)
tell you IP address information for a
particular hostname on the internet (e.g.
-nslookup www.gmail.com or host
www.nic.edu)
8/2/2013 Presented For Desertation On DNS
DNS TASKS
• What are IP addresses of the DNS
servers that contain information about
rutgers.edu?
• What are the IP address of:
– www.ahuja.com
– sandy.admin.tcs.com
– www.linux.org
8/2/2013 Presented For Desertation On DNS
DNS Queries
• A DNS query packet is formed at the
application layer.
• DNS is unique, as it can utilize either
UDP/IP or TCP/IP to send a message.
– Uses UDP by defult – if message is too
bit (>512 bytes), it will use TCP
8/2/2013 Presented For Desertation On DNS
Types of DNS Records
There are several types of DNS records
that are kept by DNS servers:
– “A” Records: give the IP address for a
hostname.
– CNAME Records: give aliases for
hostanmes (i.e. web.cub.ac.in =
www.cub.ac.in)
8/2/2013 Presented For Desertation On DNS
DNS RECORDS
 -MX Records: give the IP address of the
‘mail host’ for a hostname or domain
(I.e. “Mail addressed to anyone
@cub.ac.in gets handled by the ‘mail
server’ mail.cub.ac.in)
 Some more are,
- SOA, NS, PTR, HINFO, TXT
8/2/2013 Presented For Desertation On DNS
Network Tools
• Ping (Windows and UNIX)
• Traceroute (tracert on Windows,
traceroute on UNIX)
• Nslookup (UNIX only)
• Host (UNIX only)
8/2/2013 Presented For Desertation On DNS
Why We Need DNS
• As the system grew, HOSTS.TXT had
problems with:
– Scalability (traffic and load)
– Reliability
– Dynamicity
– Name collisions
– Consistency
8/2/2013 Presented For Desertation On DNS
DNS NAME SPACE
• The name space is the structure of the
DNS database
– An inverted tree with the root node at the
top
• Each node has a label
– The root node has a null label, written as “”
8/2/2013 Presented For Desertation On DNS
DNS ROOTS
th ird -le v e l n o d e
s e c o n d -le v e l n o d e s e c o n d -le v e l n o d e
to p -le v e l n o d e
th ird -le v e l n o d e th ird -le v e l n o d e
s e c o n d -le v e l n o d e
to p -le v e l n o d e
s e c o n d -le v e l n o d e s e c o n d -le v e l n o d e
to p -le v e l n o d e
T h e ro o t n o d e
""
8/2/2013 Presented For Desertation On DNS
Domain Names
A domain name is the sequence of labels
from a node to the root, separated by
dots (“.”s), read left to right
– The name space has a maximum depth
of 127 levels
– Domain names are limited to 255
characters in length
A node’s domain name identifies its
position in the name space
8/2/2013 Presented For Desertation On DNS
TYPES OF DOMAIN
GENERIC DOMAIN
COUNTRY DOMAIN
8/2/2013 Presented For Desertation On DNS
GENERIC DOMAIN
d a k o ta
w e s t
to rn a d o
e a s t w w w
n o m in u m m e ta in fo
c o m
b e rk e le y n w u
e d u g o v
n a to
in t
a rm y
m il
u u
n e t o rg
""
8/2/2013 Presented For Desertation On DNS
COUNTRY DOMAIN
Each Country Is Assigned A Single
Top Level Domain, Like
 .in(ac.in, nic.in, gov.in)
 .us(ac.us, af.gov.us)
8/2/2013 Presented For Desertation On DNS
Subdomains
 One domain is a subdomain of another
if its top node is a descendant of the
other’s top node
 More simply, one domain is a
subdomain of another if its domain
name ends in the other’s domain name
So
purchase.tradus.com is a subdomain of
tradus.com
8/2/2013 Presented For Desertation On DNS
Delegation
Administrators can create subdomains to
group hosts
– According to geography, organizational
affiliation etc.
 An administrator of a domain can
delegate responsibility for managing a
subdomain to someone else
 The parent domain retains links to the
delegated subdomain
8/2/2013 Presented For Desertation On DNS
Zones By Delegation
 Each time an administrator delegates a
subdomain, a new unit of administration is
created
– The subdomain and its parent domain can now be
administered independently
– These units are called zones
– The boundary between zones is a point of delegation
in the name space
 Delegation is good: it is the key to scalability
8/2/2013 Presented For Desertation On DNS
Name Servers
 Name servers store information about the name
space in units called “zones”
– The name servers that load a complete zone are said
to “have authority for” or “be authoritative for” the
zone
 Usually, more than one name server are
authoritative for the same zone
– This ensures redundancy and spreads the load
 Also, a single name server may be authoritative
for many zones
8/2/2013 Presented For Desertation On DNS
Name Servers and Zones
10.0.0.6
cub.ac.in
20.1.1.1
10.0.0.5
Name Servers
cu.com
Zones
10.0.0.6 serves
data for both
centraluniversity
ofbihar.ac.in and
cub.org zones
10.0.0.5
serves data for
cub.ac.in zone
only
20.1.1.1 serves
data for cu.com
zone only
8/2/2013 Presented For Desertation On DNS
Types of Name Servers
 Two main types of servers
– Authoritative – maintains the data
• Master – where the data is edited
• Slave – where data is replicated
– Caching – stores data obtained from an
authoritative server
 Other types exist…
 No special hardware necessary
8/2/2013 Presented For Desertation On DNS
Loads On DNS
DNS can handle the load
– DNS root servers get approximately 3000
queries per second
oEmpirical proofs (DDoS attacks) show root name
servers can handle 50,000 queries per second
o Limitation is network bandwidth, not the DNS
protocol
– in-addr.arpa zone, which translates numbers
to names, gets about 2000 queries per second
8/2/2013 Presented For Desertation On DNS
DNS Efficiency
DNS is a very lightweight protocol
– Simple query – response
Any performance limitations are due to
the network limitations
– Speed of light
– Network congestion
– Switching/forwarding latencies
8/2/2013 Presented For Desertation On DNS
DNS Security
 Base DNS protocol (RFC 1034, 1035) is
insecure
– “Spoof” attacks are possible
 DNS Security Enhancements (DNSSEC, RFC
2565) remedies this flaw
– But creates new ones
• DoS attacks
• Amplification attacks
 DNSSEC strongly discourages large flat zones
– Hierarchy (delegation) is good
8/2/2013 Presented For Desertation On DNS
REFERENCES
• Computer Networks-Andrew S
Tanenbaum
• Fundamental Of Computer Networks
• CDEEP BOMBAY(TUTORIALS)
• Wikipedia.com
• W3school.com
8/2/2013 Presented For Desertation On DNS
Time To Ask
?
8/2/2013 Presented For Desertation On DNS

More Related Content

Similar to dnsppt-130413003933-phpapp02.pdf

Similar to dnsppt-130413003933-phpapp02.pdf (20)

slide on DNS
slide on DNSslide on DNS
slide on DNS
 
Domain Name System(ppt)
Domain Name System(ppt)Domain Name System(ppt)
Domain Name System(ppt)
 
Domain Name System (DNS)
Domain Name System (DNS)Domain Name System (DNS)
Domain Name System (DNS)
 
Dns introduction
Dns   introduction Dns   introduction
Dns introduction
 
DNS Fundamentals Presentation_PANDI-2022.pdf
DNS Fundamentals Presentation_PANDI-2022.pdfDNS Fundamentals Presentation_PANDI-2022.pdf
DNS Fundamentals Presentation_PANDI-2022.pdf
 
Domain Name Service
Domain Name ServiceDomain Name Service
Domain Name Service
 
Chapter4 configuringandmanagingthednsserverrole-140520003253-phpapp01
Chapter4 configuringandmanagingthednsserverrole-140520003253-phpapp01Chapter4 configuringandmanagingthednsserverrole-140520003253-phpapp01
Chapter4 configuringandmanagingthednsserverrole-140520003253-phpapp01
 
Dns1111111111
Dns1111111111Dns1111111111
Dns1111111111
 
How to configure dns server(2)
How to configure dns server(2)How to configure dns server(2)
How to configure dns server(2)
 
Hands-on DNSSEC Deployment
Hands-on DNSSEC DeploymentHands-on DNSSEC Deployment
Hands-on DNSSEC Deployment
 
Dns interview
Dns interviewDns interview
Dns interview
 
ION Bucharest - Deploying DNSSEC
ION Bucharest - Deploying DNSSECION Bucharest - Deploying DNSSEC
ION Bucharest - Deploying DNSSEC
 
DNS ( Domain Name System)
DNS ( Domain Name System)DNS ( Domain Name System)
DNS ( Domain Name System)
 
70 640
70 64070 640
70 640
 
Dns
DnsDns
Dns
 
What is active directory
What is active directoryWhat is active directory
What is active directory
 
DNS Configuration
DNS ConfigurationDNS Configuration
DNS Configuration
 
DNS(In_Linux).pptx
DNS(In_Linux).pptxDNS(In_Linux).pptx
DNS(In_Linux).pptx
 
7 understanding DNS
7 understanding DNS7 understanding DNS
7 understanding DNS
 
DNS - Jaringan Komputer
DNS - Jaringan KomputerDNS - Jaringan Komputer
DNS - Jaringan Komputer
 

Recently uploaded

꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023ymrp368
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxolyaivanovalion
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 

Recently uploaded (20)

꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 

dnsppt-130413003933-phpapp02.pdf

  • 1. DNS : A STUDY Presented By- MAUOOD HAMIDI MSC CS CUB1102312006 GUIDED BY:- NEMI CHANDRA RATHORE SIR HOD Dept. Of Computer Science Central University Of Bihar 8/2/2013 Presented For Dissertation On DNS
  • 2. COVERAGE  DNS DEFINITION  DNS SERVER  DNS TOOLS  DNS QUERY  DNS RECORDS 8/2/2013 Presented For Desertation On DNS
  • 3. COVERAGE NETWORK TOOLS NEED OF DNS DNS COMPONENTS DNS TYPES DNS CONTEXT 8/2/2013 Presented For Desertation On DNS
  • 4. DOMAIN NAME SYSTEM DNS Technology Allows Hosts On TCP/IP Networks To Be Address By Its Name. DNS Automatically Convert The Names We Type In Our Web Browsers Address Bar To The IPAddresses Of Web Servers Hosting Those Sites. Internet.w3school.com Hostname Organization Top-level domain 8/2/2013 Presented For Desertation On DNS
  • 5. DNS CONTINUED • DNS Include A Network Protocol for Memorizing Host Name And Addresses Through A Distributed Data Base. • All The Top-Level domains, delegates authority for second-level domains, and a database of registered name servers for all second-level domains Monitored by The Network Information System(NIC). 8/2/2013 Presented For Desertation On DNS
  • 6. DNS CONT……… • Host name assignments maintained through zone files on primary DNS server. Secondary DNS server gets zone file from primary server. 8/2/2013 Presented For Desertation On DNS
  • 7. DNS SERVER • There are different types of DNS SERVER available we can install any of them as per our requirement. It Is Of Three 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. 8/2/2013 Presented For Desertation On DNS
  • 8. DNS SERVERS • Caching:- Only caches name server information and does not contain its own files. • For example:- • BIND, DJBDNS, ANS/CNS, POWER DNS etc. 8/2/2013 Presented For Desertation On DNS
  • 9. SERVER SUBSCRIPTION • Costs range from $20 to $50 per year. • ISP’s beginning to offer domain name registration as part of other packages. • Need to register a primary and secondary domain name servers for your domain and arrange to have zone files created on DNS servers. 8/2/2013 Presented For Desertation On DNS
  • 10. DNS IN ACTION…. 8/2/2013 Presented For Desertation On DNS
  • 11. DNS TOOLS • There are several tools for monitoring DNS information: – whois – tells you the owner and primary DNS servers associated with a domain (e.g. whois yahoo.com). Also available via web browser at www.networksolutions.com 8/2/2013 Presented For Desertation On DNS
  • 12. DNS TOOLS • -nslookup and host (on UNIX machines) tell you IP address information for a particular hostname on the internet (e.g. -nslookup www.gmail.com or host www.nic.edu) 8/2/2013 Presented For Desertation On DNS
  • 13. DNS TASKS • What are IP addresses of the DNS servers that contain information about rutgers.edu? • What are the IP address of: – www.ahuja.com – sandy.admin.tcs.com – www.linux.org 8/2/2013 Presented For Desertation On DNS
  • 14. DNS Queries • A DNS query packet is formed at the application layer. • DNS is unique, as it can utilize either UDP/IP or TCP/IP to send a message. – Uses UDP by defult – if message is too bit (>512 bytes), it will use TCP 8/2/2013 Presented For Desertation On DNS
  • 15. Types of DNS Records There are several types of DNS records that are kept by DNS servers: – “A” Records: give the IP address for a hostname. – CNAME Records: give aliases for hostanmes (i.e. web.cub.ac.in = www.cub.ac.in) 8/2/2013 Presented For Desertation On DNS
  • 16. DNS RECORDS  -MX Records: give the IP address of the ‘mail host’ for a hostname or domain (I.e. “Mail addressed to anyone @cub.ac.in gets handled by the ‘mail server’ mail.cub.ac.in)  Some more are, - SOA, NS, PTR, HINFO, TXT 8/2/2013 Presented For Desertation On DNS
  • 17. Network Tools • Ping (Windows and UNIX) • Traceroute (tracert on Windows, traceroute on UNIX) • Nslookup (UNIX only) • Host (UNIX only) 8/2/2013 Presented For Desertation On DNS
  • 18. Why We Need DNS • As the system grew, HOSTS.TXT had problems with: – Scalability (traffic and load) – Reliability – Dynamicity – Name collisions – Consistency 8/2/2013 Presented For Desertation On DNS
  • 19. DNS NAME SPACE • The name space is the structure of the DNS database – An inverted tree with the root node at the top • Each node has a label – The root node has a null label, written as “” 8/2/2013 Presented For Desertation On DNS
  • 20. DNS ROOTS th ird -le v e l n o d e s e c o n d -le v e l n o d e s e c o n d -le v e l n o d e to p -le v e l n o d e th ird -le v e l n o d e th ird -le v e l n o d e s e c o n d -le v e l n o d e to p -le v e l n o d e s e c o n d -le v e l n o d e s e c o n d -le v e l n o d e to p -le v e l n o d e T h e ro o t n o d e "" 8/2/2013 Presented For Desertation On DNS
  • 21. Domain Names A domain name is the sequence of labels from a node to the root, separated by dots (“.”s), read left to right – The name space has a maximum depth of 127 levels – Domain names are limited to 255 characters in length A node’s domain name identifies its position in the name space 8/2/2013 Presented For Desertation On DNS
  • 22. TYPES OF DOMAIN GENERIC DOMAIN COUNTRY DOMAIN 8/2/2013 Presented For Desertation On DNS
  • 23. GENERIC DOMAIN d a k o ta w e s t to rn a d o e a s t w w w n o m in u m m e ta in fo c o m b e rk e le y n w u e d u g o v n a to in t a rm y m il u u n e t o rg "" 8/2/2013 Presented For Desertation On DNS
  • 24. COUNTRY DOMAIN Each Country Is Assigned A Single Top Level Domain, Like  .in(ac.in, nic.in, gov.in)  .us(ac.us, af.gov.us) 8/2/2013 Presented For Desertation On DNS
  • 25. Subdomains  One domain is a subdomain of another if its top node is a descendant of the other’s top node  More simply, one domain is a subdomain of another if its domain name ends in the other’s domain name So purchase.tradus.com is a subdomain of tradus.com 8/2/2013 Presented For Desertation On DNS
  • 26. Delegation Administrators can create subdomains to group hosts – According to geography, organizational affiliation etc.  An administrator of a domain can delegate responsibility for managing a subdomain to someone else  The parent domain retains links to the delegated subdomain 8/2/2013 Presented For Desertation On DNS
  • 27. Zones By Delegation  Each time an administrator delegates a subdomain, a new unit of administration is created – The subdomain and its parent domain can now be administered independently – These units are called zones – The boundary between zones is a point of delegation in the name space  Delegation is good: it is the key to scalability 8/2/2013 Presented For Desertation On DNS
  • 28. Name Servers  Name servers store information about the name space in units called “zones” – The name servers that load a complete zone are said to “have authority for” or “be authoritative for” the zone  Usually, more than one name server are authoritative for the same zone – This ensures redundancy and spreads the load  Also, a single name server may be authoritative for many zones 8/2/2013 Presented For Desertation On DNS
  • 29. Name Servers and Zones 10.0.0.6 cub.ac.in 20.1.1.1 10.0.0.5 Name Servers cu.com Zones 10.0.0.6 serves data for both centraluniversity ofbihar.ac.in and cub.org zones 10.0.0.5 serves data for cub.ac.in zone only 20.1.1.1 serves data for cu.com zone only 8/2/2013 Presented For Desertation On DNS
  • 30. Types of Name Servers  Two main types of servers – Authoritative – maintains the data • Master – where the data is edited • Slave – where data is replicated – Caching – stores data obtained from an authoritative server  Other types exist…  No special hardware necessary 8/2/2013 Presented For Desertation On DNS
  • 31. Loads On DNS DNS can handle the load – DNS root servers get approximately 3000 queries per second oEmpirical proofs (DDoS attacks) show root name servers can handle 50,000 queries per second o Limitation is network bandwidth, not the DNS protocol – in-addr.arpa zone, which translates numbers to names, gets about 2000 queries per second 8/2/2013 Presented For Desertation On DNS
  • 32. DNS Efficiency DNS is a very lightweight protocol – Simple query – response Any performance limitations are due to the network limitations – Speed of light – Network congestion – Switching/forwarding latencies 8/2/2013 Presented For Desertation On DNS
  • 33. DNS Security  Base DNS protocol (RFC 1034, 1035) is insecure – “Spoof” attacks are possible  DNS Security Enhancements (DNSSEC, RFC 2565) remedies this flaw – But creates new ones • DoS attacks • Amplification attacks  DNSSEC strongly discourages large flat zones – Hierarchy (delegation) is good 8/2/2013 Presented For Desertation On DNS
  • 34. REFERENCES • Computer Networks-Andrew S Tanenbaum • Fundamental Of Computer Networks • CDEEP BOMBAY(TUTORIALS) • Wikipedia.com • W3school.com 8/2/2013 Presented For Desertation On DNS
  • 35. Time To Ask ? 8/2/2013 Presented For Desertation On DNS