Saturday, 8 November 2014

Configuring the Administration Server " DNS Server " from VM-Ware

- The first step is setting the IP Address
   if you can not set the IP Address see here

- The second step install bind9
     # Apt-get install bind9


- The third step bind9 directory entry
    # Cd / etc / bind
    # ls


- Step four copies db.127 be db.192
    # Cp db.127 db.192

- The fifth step db.local copy into your domain address example: shafa7
    # Cp db.local db.shafa7

- The sixth step change db.192 like this
   # nano db.192
       @                                       shafa7.com.      shafa7.com.                                                


      @                IN                    NS                   shafa7.com.
       1.1.168       IN                    NS                   shafa7.com.
       1.1.168       IN                    NS                   www.shafa7.com.
       1.1.168       IN                    NS                   ftp.shafa7.com.
       1.1.168       IN                    NS                   mail.shafa7.com.

   save changes ctrl + x ==> y

- The seventh step change db.shafa 7 as below
   # nano db.shafa7
      @                                            shafa7.com.      shafa.7.com.
                                                 
      @              IN                       NS                  shafa7.com.
      @              IN                       A                     192.168.1.1
      www          IN                       A                     192.168.1.1
      ftp              IN                       A                     192.168.1.1
      mail            IN                       A                      192.168.1.1

       save changes ctrl + x ==> y

- Step Eight domain zone and zone change ip address
   # nano named.conf
 
       zone "shafa7.com"
                file "/tc/bind/db.shafa7";

       zone "192.in-addr.arpa"
                file "/etc/bind/db.192";
      
       save changes ctrl + x ==>

- The ninth step change resolv
   # nano /etc/resolv.conf
      search shafa7.com
      nameserver 192.168.1.1

      save changes ctrl + x ==> y

- Step ten restart the DNS / bind9
   # /etc/init.d/bind9 restart
   wait until the process is complete

- Step eleventh check whether it has been successful
   # nslookup shafa7.com
    if it comes out like this then your settings successfully

      server : 192.168.1.1
      address : 192.168.1.1#53

      name : faiz.com
      address : 192.168.1.1

- Step twelve ping domain
   # ping shafa7.com
   if successful it will appear " REPLAY FORM .........."

- Step thirteenth try opening your domain address in a web browser LINUX and XP

if it appears the words "IT WORKS" then you declared successful,

so many of the tutorial setting the DNS server administration form VM-Ware

please try good luck .......
 
     

Categories:

0 comments:

Post a Comment