29
A Presentation On DNS CONFIGARATION SUBMITTED BY: Vinod Gour

DNS Configuration

Embed Size (px)

DESCRIPTION

DNS Configuration on linux.

Citation preview

Page 1: DNS Configuration

A Presentation

On

DNS CONFIGARATION

SUBMITTED BY:

Vinod Gour

Page 2: DNS Configuration

CONTENTS:OverviewHistoryDNS-Name Space & WorkingExample of DNS Name SpaceDNS-Name ServerDNS-ZoneDNS-Configuration

Page 3: DNS Configuration

DNS-OverviewDomain Name System (DNS) is a database

system that translates a computer's fully qualified domain name into an IP address.

For example Domain name www.amazon.com corresponding to IP address (207.171.166.48).

DNS serves as an electronic telephone book for a computer network.

Page 4: DNS Configuration

HISTORY OF DNSIn 1967, DNS did not exist.

in 1971, Peggy Karp conceived of “host mnemonics” (RFC 226) and develop “HOSTS.txt”

The first version of this file was distributed in 1972.

The Domain Name System was conceived in RFC 799 in 1981 Written by Dr. David Mills.

In 1987, the publication of RFC 1034 and RFC 1035 updated the DNS specification.

Page 5: DNS Configuration

DNS –Name Space & WorkingThe namespace refers to the hierarchical layout of

DNS names

the DNS namespace is laid out in an inverted tree.

At the top of the DNS namespace is the "Root" defined by null character

The root is not normally explicitly specified in user applications but when specified is denoted by a trailing period(www.vtc.com)

Page 6: DNS Configuration

DNS –Name Space & WorkingBelow the root in the DNS namespace, are

the top level domains or TLDs.

These TLDS are maintained by the Internet corporation for assigned names and numbers, or ICAN, for Internet use

On a private network you can use any TLD you want but it is bad practice in case you ever connect your network to the internet.

Page 7: DNS Configuration

DNS –Name Space & WorkingThe remainder of the namespace is open

for use

You can register domain names beneath several of the TLDs

Page 8: DNS Configuration

An Example of Name-Space

Page 9: DNS Configuration

DNS-Name ServerA Server which handles DNS-Queries called “Name-Server”.

This server hold a list of all the IP addresses within its network and a cache of IP addresses.

When your computer requests an IP address, one of three things happens.

Page 10: DNS Configuration

DNS-Name ServerIf the requested IP address is registered

locally.

If the requested IP address is not registered locally ,but someone within your organization has recently requested the same IP address.

If the requested IP address is not registered locally, and you are the first person to request information about this system in a certain period of time.

Page 11: DNS Configuration

DNS ZONESEvery domain name, which is a part of the

DNS system, has several DNS settings, also known as DNS records. In order for these DNS records to be kept in order, the DNS zone was created.

Their are 2 types of zones:1) A forward lookup zone 2) A reverse lookup zone

Page 12: DNS Configuration

DNS ZONESA forward lookup zone is a DNS zone in

which hostname to IP address relations are stored. When a computer requests the IP address of a specific hostname, the forward lookup zone is queried and the result is returned.

A reverse lookup zone does just the opposite. When a computer requests the hostname of an IP address, the reverse lookup zone is queried and the result is returned.

Page 13: DNS Configuration

DNS-Co

nfigu

ratio

n

Page 14: DNS Configuration

STEPSIt involves following steps:-sudo sunano /etc/network/interfaces – for static IP./etc/init.d/networking restartifconfigapt-get install bind9nano /etc/bind/named.conf.localnano /etc/bind/db.up.omg (forward lookup zone)nano /etc/bind/db.192 (reverse lookup zone)nano /etc/resolv.conf/etc/init.d/bind9 restartnslookup sgsits.up.omg & nslookup 192.168.1.3

Page 15: DNS Configuration

Step 1 : nano /etc/network/interfaces – for static IP

Page 16: DNS Configuration

Step 2 : /etc/init.d/networking restart

Page 17: DNS Configuration

Step 3 : ifconfig - Our DNS Server has now a static IP

Page 18: DNS Configuration

Bind9BIND (Berkeley Internet Name Domain) is an

implementation of the DNS protocols and provides an openly redistributable reference implementation of the major components of the Domain Name System.

BIND9 is latest version of BIND architecture.

 features of BIND9 : are DNS Security, IPv6,DNS Protocol Enhancements, Views, Multiprocessor Support, and an Improved Portability Architecture.

Page 19: DNS Configuration

Step 4 : apt-get install bind9

Page 20: DNS Configuration

Step 5 : nano /etc/bind/named.conf.locals

Page 21: DNS Configuration

Step 6: nano /etc/bind/db.up.omg

Page 22: DNS Configuration

A(Address):points our domain to an ip address.

AAAA: same as A record.

CNAME(Canonical name): this record points our sub-domain to another domain name

MX(Mail exchanger): MX records control where our emails are received.

DNS ZONE RECORDS

Page 23: DNS Configuration

PTR(Pointer): defines what name will be called when an IP address is looked up. 

TXT: The TXT records are custom records which contain machine-readable data.

NS: identify the names of the DNS servers.

DNS ZONE RECORDS

Page 24: DNS Configuration

Step 6 : nano /etc/bind/db.up.omg

Page 25: DNS Configuration

Step 7 : nano /etc/bind/db.192

Page 26: DNS Configuration

Step 8 : nano /etc/resolv.conf

Page 27: DNS Configuration

Step 9 : /etc/init.d/bind9 restart

Page 28: DNS Configuration

Step 11 : nslookup sgsits.up.omg & nslookup 192.168.1.3

Page 29: DNS Configuration

THANK-YOU