DNS Server Configuration
   A DNS server, or name server, is used to resolve an IP address to a hostname or vice versa.

Required Package

bind

Path

/var/named/ : Default path
/var/named/named.loopback : Reverse lookup zone

/var/named/localhost : Forward lookup Zone

Packages Installation




Get into /var/named and do the modification




Here I have take a copy for named.rev , named.fwd for named.loopback, named.localhost
respectively

Edit : Main Conf file




                             DNS Server Configuration – Thamizharasan P
Edit : Forward lookup zone file




Edit: Reverse lookup zone file




Edit :




                         DNS Server Configuration – Thamizharasan P
Add the DNS Server ip :




Restart the service




If its ask the rndc key



                                                                Then restart the service

Output




                          DNS Server Configuration – Thamizharasan P
Here :I have d changed the sever ip :




Note : In forward and reverse lookup zone you can add the client ip and hostname


                                                                Change the group owner



That’s it



By

Thamizharasan P
Linux Administrator
Email:rpthamizh@gmail.com
LinkedIn: in.linkedin.com/pub/thamizharasan-p/25/203/62




                           DNS Server Configuration – Thamizharasan P

DNS server configurationDns server configuration

  • 1.
    DNS Server Configuration A DNS server, or name server, is used to resolve an IP address to a hostname or vice versa. Required Package bind Path /var/named/ : Default path /var/named/named.loopback : Reverse lookup zone /var/named/localhost : Forward lookup Zone Packages Installation Get into /var/named and do the modification Here I have take a copy for named.rev , named.fwd for named.loopback, named.localhost respectively Edit : Main Conf file DNS Server Configuration – Thamizharasan P
  • 2.
    Edit : Forwardlookup zone file Edit: Reverse lookup zone file Edit : DNS Server Configuration – Thamizharasan P
  • 3.
    Add the DNSServer ip : Restart the service If its ask the rndc key Then restart the service Output DNS Server Configuration – Thamizharasan P
  • 4.
    Here :I haved changed the sever ip : Note : In forward and reverse lookup zone you can add the client ip and hostname Change the group owner That’s it By Thamizharasan P Linux Administrator Email:rpthamizh@gmail.com LinkedIn: in.linkedin.com/pub/thamizharasan-p/25/203/62 DNS Server Configuration – Thamizharasan P