![]() Thinks about OS Linux Ubuntu | Ubuntu Tutorials |
HOW TO MAKE MONEY by INTERNET![]() |
||
Install DNS Server at Ubuntu 8.04
|
|||
An initial step is to download the package bind9 dns server by doing the following command: udiniq@server:/# aptitude update && aptitude install bind9 After doing the above command, it will be installed bind9 automatically and if the install process is complete it will return to the position prompt. The next step is to set up the folder /etc/bind/: udiniq@server:/# cd /etc/bind/ After being on the folder /etc/bind/ please do the ls command to find out what folders are in /etc/bind: udiniq@server:/etc/bind# ls and usually the folder that appears in /etc/bind/ by default when you first install is as follows : db.0
db.local
named.conf.local
zones.rfc1918 Ok,
next step is we need to create a database for the domain name we will
create the dns server and as plan at the beginning, a domain which we
will create is udiniqgeek.com with MX mail.udiniqgeek.com, and here I
am will create a database udiniqgeek.com.hosts and resolver file
with 10.14.10.100.rev. $ttl 38400 If the database already udiniqgeek.com.hosts ok, then we create a file resolver, the following steps: Next we must create the main file bind at folder /etc/bind/named.conf.local, the following steps: udiniq@server:/etc/bind# vim named.conf.local -- Add the following script -- zone "udiniqgeek.com" { To refine bind configuration, please edit the nameservers are in the folder /etc/resolv.conf, the command: udiniq@server:/etc/bind# vim /etc/resolv.conf search udiniqgeek.com The next step is to restart bind you to all the config can be run, run the following command: udiniq@server:/etc/bind# /etc/init.d/bind9 restart To check domain name, please do the following commands : 1. To check the SOA record, therein including the series of the new zone we created, run the following command: udiniq@server:/etc/bind# dig @localhost soa udiniqgeek.com 2. To check your MX records, use the following command: udiniq@server:/etc/bind# dig @localhost mx udiniqgeek.com 3. To Check with nslookupudiniq@server:/etc/bind# nslookup mailserver.udiniqgeek.com |
SITE
ARCHIVE
|
||
![]() Thinks about OS Linux Ubuntu | Ubuntu Tutorials Copyright©2009 | UdiniqGeek.com - Thinks about OS Linux Ubuntu -
Ubuntu Tutorials | Contact Us
| :: RSS |
![]() |
|||