DNS - PowerPoint PPT Presentation

1 / 26
About This Presentation
Title:

DNS

Description:

ORG Organizations other than those above. ARPA Temporary ARPANET domain ... Most servers don't ask authoritative servers for DNS directly. ask a caching DNS server ... – PowerPoint PPT presentation

Number of Views:102
Avg rating:3.0/5.0
Slides: 27
Provided by: maha6
Category:
Tags: dns | upload

less

Transcript and Presenter's Notes

Title: DNS


1
DNS
2
Introduction
  • What is DNS?
  • Hierarchy or Tree
  • Dot used as a separator

3
Top-level domain
  • Domain Name Meaning
  • COM Commercial organizations
  • EDU Educational institutions
  • GOV Government institutions
  • MIL Military groups
  • NET Major network support
  • ORG Organizations other than those above
  • ARPA Temporary ARPANET domain
  • INT International organizations
  • country codeEach country (geographical scheme)

4
(No Transcript)
5
zone
  • Domain Delegation
  • Primary (Master) Name Server
  • Contains the writable authoritative copy for the
    zones
  • Secondary (Slave) Name Server
  • Contains mirror copy of the data from a primary
    nameserver

6
(No Transcript)
7
Introduction to DNS
  • DNS Clients
  • /etc/resolv.conf
  • Authoritative DNS Servers
  • provide the information for your DNS domain
  • Caching DNS Server
  • Most servers dont ask authoritative servers for
    DNS directly
  • ask a caching DNS server

8
How Does It Work?
  • Listens at UDP and TCP port 53
  • UDP for routine queries
  • TCP used for zone transfers

9
(No Transcript)
10
Basic DNS Testing of DNS Resolution
  • The Host Command
  • host www.google.com
  • The nslookup Command
  • nslookup www.google.com
  • nslookup

11
The /etc/resolv.conf File
  • Nameserver
  • IP address of your DNS nameserver
  • Search
  • Domain
  • localdomain use by default
  • search my-site.com my-site.net my-site.org
  • nameserver 192.168.1.100
  • nameserver 192.168.1.102

12
BIND
  • Downloading and Installing the BIND

13
How To Get BIND Started
  • service named start
  • service named stop
  • service named restart

14
DNS File Locations
  • named.conf
  • /etc/named.conf
  • zone files
  • /var/named

15
Named.conf
  • This file usually has two zone areas
  • Forward zone file
  • Reverse zone file

16
Forward zone file
  • zone "my-site.com"
  • type master
  • file "my-site.zone"

17
Reverse zone file
  • zone "1.168.192.in-addr.arpa"
  • type master
  • notify no
  • file "192-168-1.zone"

18
Configuring The Zone Files
  • By default located in the directory /var/named
  • Each zone file contains a variety of records
    (SOA, NS, MX, A, and CNAME)

19
Time to Live Value
  • D signifies days
  • W signifies weeks
  • H signifies hours
  • TTL 3D

20
Standard Resource Records
  • SOA
  • Start of Authority, Marks the begining of a
    zone's data
  • NS
  • IP address or CNAME of the name server
  • A
  • IP address of server

21
  • MX
  • Mail server DNS name
  • CNAME
  • Server name alias
  • PTR
  • Last octet of server's IP address

22
The SOA Record
  • Format
  • Name Class Type Name-Server Email-Address
    Serial-No Refresh Retry Expiry Minimum-TTL

23
  • _at_ IN SOA ns1.my-site.com. hostmaster.my-site.com
    . ( 2004100801   serial
  • 4H   refresh
  • 1H   retry
  • 1W   expiry
  • 1D )   minimum

24
the general format
  • Name Class Type Data

25
  • eeunix IN A 130.111.148.45
  • IN MX 0 eeunix
  • IN MX 1 maine.maine.edu.

26
Trouble Shoot
  • Domain cmu.ac.th
  • ns.cmu.ac.th
  • Domain Delegation
  • eng.cmu.ac.th
  • ???/????? work ?
  • Transfer zone ?
Write a Comment
User Comments (0)
About PowerShow.com