+ All Categories
Home > Documents > 3b. dns(29 Slide)

3b. dns(29 Slide)

Date post: 04-Jan-2016
Category:
Upload: yongode
View: 216 times
Download: 0 times
Share this document with a friend
Description:
3b. dns
Popular Tags:
29
Domain Name System (DNS)
Transcript
Page 1: 3b. dns(29 Slide)

Domain NameSystem(DNS)

Page 2: 3b. dns(29 Slide)

CONTENTSCONTENTS• NAME SPACE• DOMAIN NAME SPACE• DISTRIBUTION OF NAME SPACE• DNS IN THE INTERNET• RESOLUTION• DNS MESSAGES• TYPES OF RECORDS• COMPRESSION• EXAMPLES• DDNS• ENCAPSULATION

Page 3: 3b. dns(29 Slide)

1. Domain name space

Page 4: 3b. dns(29 Slide)

Domain namesand labels

Page 5: 3b. dns(29 Slide)

FQDN and PQDN

Page 6: 3b. dns(29 Slide)

Domains

Page 7: 3b. dns(29 Slide)

Hierarchy of name servers

2. DISTRIBUTION OF NAME SPACE

Page 8: 3b. dns(29 Slide)

Zones and domains

Page 9: 3b. dns(29 Slide)

A primary server loads all information from A primary server loads all information from the disk file; the secondary server loads the disk file; the secondary server loads

all information from the the primary server. all information from the the primary server. When the primary downloads information When the primary downloads information

from the secondary, it is called from the secondary, it is called zone transfer.zone transfer.

Page 10: 3b. dns(29 Slide)

3. DNS in the Internet

Page 11: 3b. dns(29 Slide)

Generic domains

Page 12: 3b. dns(29 Slide)

Country domains

Page 13: 3b. dns(29 Slide)

Inverse domain

Page 14: 3b. dns(29 Slide)

a. Recursive resolution

4. RESOLUTION

Page 15: 3b. dns(29 Slide)

b. Iterative resolution

Page 16: 3b. dns(29 Slide)

5. DNS messages

Page 17: 3b. dns(29 Slide)

Query and response messages

Page 18: 3b. dns(29 Slide)

Header format

Page 19: 3b. dns(29 Slide)

QR: Query/ResponseOpCode: 0 standard, 1 inverse, 2 server statusAA: AuthoritativeTC: TruncatedRD: Recursion DesiredRA: Recursion AvailablerCode: Status of the error

Flags fields

Page 20: 3b. dns(29 Slide)

a. Question record format

6. TYPES OF RECORDS

Page 21: 3b. dns(29 Slide)

admin.atc.fhda.edu.

b. Query name format

Page 22: 3b. dns(29 Slide)

c. Resource record format

Page 23: 3b. dns(29 Slide)

Format of an offset pointer

7. COMPRESSION

Page 24: 3b. dns(29 Slide)

Example 1Example 1

A resolver sends a query message to a local server to find the IP address for the host “chal.fhda.edu.”. We discuss the query and response messages separately.

8. EXAMPLES

Page 25: 3b. dns(29 Slide)

Example of a query message

Page 26: 3b. dns(29 Slide)

Example of a response message

Page 27: 3b. dns(29 Slide)

Example 2Example 2

An FTP server has received a packet from an FTP client with IP address 153.2.7.9. The FTP server wants to verify that the FTP client is an authorized client.

Page 28: 3b. dns(29 Slide)

Example of inverse query message

Page 29: 3b. dns(29 Slide)

Example of inverseresponse message


Recommended