The blog includes a vivid coverage of the concepts of CCNA, CCNP (Routing & Switching) , Basic Linux and Linux servers. Projects have also been simulated to give a practical exposure.

Tuesday, 6 May 2014

IPv6 DNS Server on Linux

No comments

IPv6 DNS Name Resolution

IPv6 is of 128 bits, and each slot is of 16 bits, separated by column (:). It is very difficult to remember 128 bits address for each host and for each website. So Name Resolution can be done through DNS server.


DNS SERVER : DNS stands for DOMAIN NAME SERVER. DNS server is used to translate the IP address to HOSTNAME. In Linux Environment DNS server installed by BIND Packages. The name of service for DNS is NAMED.
DNS server is based on two versions of IP, 1 IPv4 DNS and 2. IPv6 DNS.
IPv4 DNS server is normal server which convert IPv4 address to hostname. But IPv6 DNS converts IPv6 address to hostname.
-          DNS server used hierarchical tree structure which include Host name, subdomain, 2nd level domain, top level domain.
-          DNS managed by ICANN (Internet Corporation Assign Name and Number ).
-          Total 13 Root- Domain work in DNS system in whole world (IPv6 Root Servers).

DNS Records :-
SOA  (start of authority) :- This record automatically created when ZONE fie created. This is the first record which is responsible for accept query and resolve it.
NS (Name Server) :- NS provide the domain name to clients.
CNAME  :-Alise name, Duplicate name
Host Record :- It is used to add the IP Address.
SPF (Sender Policy Framework) : - text record
TXT Record :- It is used for authentication purpose.

Two zone files are used to convert the IP address to Hostname.  


There are 5 files in which configuration should be change to make the DNS server.
  •   /etc/resolv.conf
  •    /etc/sysconfig/network 
  •    /etc/named.conf
  •   /var/named/chroot/var/named/for.zone    
  •   /var/named/chroot/var/named/res.zone
[root@server ~]# vim /etc/resolv.conf
The resolv.conf file contains directives with the default search domain or domains, used for FQDN completion when no domain suffix is supplied as part of the query. It also contains a list of IP addresses of nameservers available to a host. It usually looks like:


[root@server ~]# vim /etc/sysconfig/network
This file contain the configuration for enabling networking for IP version 4 and version 6 with HOSTNAME.

[root@server ~]# vim /etc/named.conf
This named.conf file contain the configuration for DNS server, and declaration of forward and reverse zone.



[root@server ~]# vim /var/named/chroot/var/named/for.zone
This file contain the configuration for forward zone. In which records like NS, A, AAAA, CNAME are placed. Here in this file A record is for IPv4 DNS and AAAA is for IPv6 DNS.

[root@server ~]# vim /var/named/chroot/var/named/res.zone
This file contains the PTR record for all the records of the Forward zone.



By :- Vishal Sharma

No comments :

Post a Comment