မင်္ဂလာပါ!

လှိုက်လှဲစွာကြိုဆိုပါသည်။ ယခု ပထမဆုံးအကြိမ် ရောက်ဖူးခြင်းဖြစ်ပါသလား? ဝင်ရောက် ဆွေးနွေး မေးမြန်းလိုပါလျှင် အောက်တွင်ဖော်ပြထားသော button များမှတဆင့် ဝင်ရောက် ဆွေးနွေးနိုင်သကဲ့သို့ အဖွဲ့ဝင်အသစ်အနေဖြင့်လည်း လျှောက်ထားနိုင်ပါတယ်။

MYSTERY ZILLION တွင် English သို့မဟုတ် Unicode ဖြင့်သာ အသုံးပြုခွင့်ရှိသည်။ ဇော်ဂျီ ၊ ဧရာ စသည်တို့ကို အသုံးပြုခွင့် မရှိ။ Unicode fonts များမှာ Mon3,Yunghkio, Myanamr3 စသည်များ အသုံးပြုနိုင်သည်။ Unicode Guide ကို ဒီမှာ Download ချပါ။ Zawgyi to Unicode Converter
Don't share ebook or software if nobody request. You can find free book websites on here. We are welcome for discussion or asking question instead.

Setup DNS server on ubuntu 11.04 vps (bind9)

edited September 2012 in Ubuntu
Tutorial for "NEWBIE" in Sys Administration. If you are pro in sys administration field, you can skip this tutorial.
First, you must connect your vps via ssh using putty. And log in as root.

Step 1. Now I'll firstly install Bind9 -in case you don't have it installed yet- by typing following command:
apt-get install bind9

Step 2. Now edit named.conf.local file. Use following command:
nano /etc/bind/named.conf.local
you can use another editor instead of 'nano'. But 'nano' is really suitable for beginners. :)

Step 3.Add/type following line: (replace nyinyinaing.info with your own domain name)
zone "nyinyinaing.info" {
type master;
file "/etc/bind/zones/nyinyinaing.info.db";
};

zone "3.2.1.in-addr.arpa" {
type master;
file "/etc/bind/zones/rev.3.2.1.in-addr.arpa";
};

Once done, press [Ctrl]+[O] keys to save followed by hitting enter. Then exit by pressing [Ctrl]+[X] keys.

[Step 4].Make zones directory by typing following command:
cd /etc/bind [Hit Enter]
mkdir zones [Hit Enter]
cd /etc/bind/zones [Hit Enter]

[Step 5].Now lets make nyinyinaing.info.db file. Type this:
nano cachecluster.com.db

then add following lines (replace xxx.xxx.xxx.xxx with IP Address of your vps):
; BIND data file for nyinyinaing.info
;
$TTL 14400
@ IN SOA ns1.nyinyinaing.info. indo.nyinyinaing.info. (
201006601 ; Serial
7200 ; Refresh
120 ; Retry
2419200 ; Expire
604800) ; Default TTL
;
cachecluster.com. IN NS ns1.nyinyinaing.info.
cachecluster.com. IN NS ns2.nyinyinaing.info.

cachecluster.com. IN MX 10 mail.nyinyinaing.info.
cachecluster.com. IN A xxx.xxx.xxx.xxx

ns1 IN A xxx.xxx.xxx.xxx
ns2 IN A xxx.xxx.xxx.xxx
www IN CNAME nyinyinaing.info.
mail IN A xxx.xxx.xxx.xxx
ftp IN CNAME nyinyinaing.info.
cachecluster.com. IN TXT "v=spf1 ip4:xxx.xxx.xxx.xxx a mx ~all"
mail IN TXT "v=spf1 a -all"

Once done, press [Ctrl]+[O] keys to save followed by hitting enter. Then exit by pressing [Ctrl]+[X] keys.

[Step 6].Now I'll also define reverse DNS lookup:type following line
nano /etc/bind/zones/rev.3.2.1.in-addr.arpa

then add following lines:
@ IN SOA nyinyinaing.info. indo.nyinyinaing.info (
2010081401;
28800;
604800;
604800;
86400 );

IN NS ns1.nyinyinaing.info.
4 IN PTR nyinyinaing.info.

Once done, press [Ctrl]+[O] keys to save followed by hitting enter. Then exit by pressing [Ctrl]+[X] keys.

[Step 7].Now add your domain at /etc/resolv.conf:type the following line
nano /etc/resolv.conf

then add following line:
search nyinyinaing.info

Once done, press [Ctrl]+[O] keys to save followed by hitting enter. Then exit by pressing [Ctrl]+[X] keys.

[Step 8]. Now restart bind service using this command:
/etc/init.d/bind9 restart

[Step 9].Well basically I am done here but lets run some test to make sure your DNS setting is fine using following command:
First I'll install DNS Utility:type the following line
apt-get install dnsutils

Now run the test:type the following line
dig nyinyinaing.info

It'll show some messages. If you see some keywords like that "status : NOERROR", it is successfully done.

Refer :pressbyte.com
(P.S If you have any issues, you can comment.)

Best Regards
Jinx Wayne
Sign In or Register to comment.