setting DNS bind9 di ubuntu 7.10
Keterangan ip address local : 192.168.0.6
ip addres public : 202.134.0.155, 202.134.1.5
————————————————————————————————
Edit file konfigurasi vim /etc/bind/named.conf.options
forwarders {
202.134.0.155;
202.134.1.5;
};
————————————————————————————————–
edit file /etc/bind/named.conf.local
———————————————————————————
zone “nusaguide.com” {
type master;
file “/etc/bind/zones/www.nusaguide.com.db”;
};
zone “0.168.192.in-addr.arpa” {
type master;
file “/etc/bind/zones/rev.0.168.192.in-addr.arpa”;
};
—————————————————————————————–
Buat Direktori mkdir /etc/bind/zones
Buat file dan konfigurasi filenya
vim /etc/bind/zones/www.nusaguide.com.db
——————————————————————————-
nusaguide.com. IN SOA ns1.nusaguide.com. admin.nusaguide.com. (
2006081401
28800
3600
604800
38400
)
nusaguide.com. IN NS ns1.nusaguide.com.
nusaguide.com. IN MX 10 mta.nusaguide.com.
www IN A 192.168.0.6
mta IN A 192.168.0.6
ns1 IN A 192.168.0.6
——————————————————————————————————————–
Buat file dan konfigurasi filenya
vim /etc/bind/zones/rev.0.168.192.in-addr.arpa
———————————————————————————————————————-
@ IN SOA ns1.nusaguide.com. admin.nusaguide.com. (
2006081401;
28800;
604800;
604800;
86400
)
IN NS ns1.nusaguide.com.
6 IN PTR nusaguide.com.
———————————————————————————————————————————-
TESTING
dig www.nusaguide.com
nslookup www.nusaguide.com
host www.nusaguide.com
* semoga membantu jika ada kesalahan mohon di koreksi
-
Archives
- November 2008 (5)
- October 2008 (2)
- August 2008 (1)
- February 2008 (4)
- January 2008 (1)
- July 2007 (19)
-
Categories
-
RSS
Entries RSS
Comments RSS
