+ All Categories
Home > Documents > DNS Presentation

DNS Presentation

Date post: 12-Apr-2017
Category:
Upload: shubham-srivastava
View: 394 times
Download: 0 times
Share this document with a friend
25
Domain Name System By : Shubham Srivastava
Transcript
Page 1: DNS Presentation

Domain Name SystemBy : Shubham Srivastava

Page 2: DNS Presentation

Agenda What is DNS Why DNS DNS Overview Resource Records Types of Name Servers Authoritative Name Servers DNS Resolution DNS Zone Zone transfer

Page 3: DNS Presentation

What is DNS ?

Domain Name Servers (DNS) are the Internet's equivalent of a phone book.

The mechanism by which Internet software translates names to attributes such as addresses

Page 4: DNS Presentation

Why DNS ? ARPANET utilized a central file HOSTS

Contains names to IP addresses mapping

As the system grew Speed ??? Scalability (traffic and load) ??? Management ???

Page 5: DNS Presentation

From history of Name Servers we saw how three needs emerged:

The Internet Domain Name System elegantly solves all these problems at the single stroke of a pen (well actually the whole of RFC 1034 to be precise).

The need for a hierarchy of names

Spread operational load

Delegate the administration of our Name servers

Page 6: DNS Presentation

DNS Overview

Translates human friendly hostname to IP addresses.

Uses a tree name structure.

The essence of DNS is invention of a hierarchical, domain-based naming scheme and a distributed database system for implementing this naming scheme.

Page 7: DNS Presentation

The DNS is also…A globally distributed, scalable,

reliable databaseComprised of three components

A “name space” Servers making that name space

available Resolvers (clients) which query the

servers about the name space

Page 8: DNS Presentation

DNS Name Space

root

com in aunetedu

Microsoft applegoogleyahoo

Top Level Domain

2nd Level Domain

store3rd Level Domain

GenericICANN

Country Specific

Page 9: DNS Presentation

Lecture 13: 02-22-2005

9

DNS RecordsRR format: (Name, TTL, Class, Type,Value)

• DB contains tuples called resource records (RRs)• Classes = Internet (IN)• Each class defines value associated with type

FOR IN class:• Type=CNAME

• name is an alias name for some “canonical” (the real) name

• value is canonical name• Type=MX

• value is hostname of mailserver associated with name

• Type=A (AAAA for IPv6)• name is hostname• value is IPv4 address

• Type=NS• name is domain (e.g. foo.com)• value is name of authoritative

name server for this domain

Page 10: DNS Presentation

SOA Record SOA – Start of Authorityexample.com. 14400 IN SOA ns1.ethii.com. admin.example.com.

2004123001 ; Serial number

86000 ; Refresh rate in seconds7200 ; Refresh Retry in seconds3600000 ; Expiry in seconds600 ; Minimum in seconds (for example: how long a resolver should consider a negative result for a subdomain to be valid before retrying)

Page 11: DNS Presentation

DNS Resource Records

Page 12: DNS Presentation

Types of Name ServersAuthoritative name server – for a host stores that host’s IP addressPrimary name server - Each Zone will have a primary name server and more secondary name servers

Secondary name server – Secondary servers retrieve information from primary servers.

Caching name server - ISPs

Page 13: DNS Presentation

DNS Resolution Translation of domain names into IP addresses.Resolution type

Recursive Query Iterative Query

Types of resolver/DNS Client : Full resolver Stub resolver

Page 14: DNS Presentation
Page 15: DNS Presentation

15

Recursive DNS Query Goes deep down the hierarchy to resolve Puts the burden of resolution on the contacted name

server

Page 16: DNS Presentation

16

Iterative DNS query Contact server replies with the name of the next authority in

the hierarchy “I don’t know this name, but this other server might”

Root

Page 17: DNS Presentation

Full Resolver – DNS ClientDNS Client is called a resolver.Full resolver is a program distinct from the user program, which forwards all queries to name server for processing.

User Program Name ServerFull

Resolver

Database

Cache

Cache

Q Q

R R

Page 18: DNS Presentation

Stub Resolver – DNS ClientStub resolver is a routine linked with the user program which forwards queries to DNS sever.

User Program

Name Server

Stub Resolver

Foreign Name Server

Database

CacheQ

Q

R

R

Page 19: DNS Presentation

DNS Zone

root

com in aueduorg

oxford

Apple

yale

storeengg

Zones

For each DNS domain name included in a zone, the zone becomes the authoritative source for information about that domain.

Page 20: DNS Presentation

DNS Zone File Zone file will contain the entire details for that domain

Page 21: DNS Presentation
Page 22: DNS Presentation

Zone Transfers One of the many mechanisms available for administrators to

replicate DNS databases across a set of DNS servers.

Zone transfer comes in two flavors, full (AXFR - RFC 1034, RFC 5936) and incremental (IXFR - RFC 1995).

Uses TCP for transfer zone files.

client requesting a zone transfer may be a slave server/secondary server, requesting data from a master server/primary server.

Zone transfer is entirely client-initiated.

Page 23: DNS Presentation

Summary

Page 24: DNS Presentation

Thanks

Page 25: DNS Presentation

Questions?


Recommended