Berikut cara konfigurasi bind9 DNS Server di Ubuntu Server
edit file /etc/bind/named.conf.options
isinya kira-kira:
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
forwarders {
203.130.208.18;
};
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
edit file /etc/bind/named.conf.local
contoh isinya:
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "birucom.co.cc" {
type master;
file "/etc/bind/db.birucom";
};
zone "0.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.client";
};
buat file /etc/bind/db.birucom
contoh:
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA birucom.co.cc. root.birucom.co.cc. (
42
604800
86400
2419200
604800 )
;
@ IN NS ns01.birucom.co.cc.
@ IN A 192.168.0.1
@ IN A 10.1.0.1
@ IN AAAA ::1
www IN A 192.168.0.1
ns01 IN A 192.168.0.1
$GENERATE 2-254 $.subnet192-168-0 IN A 192.168.0.$
buat file /etc/bind/db.client
contoh:
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA birucom.co.cc. root.birucom.co.cc. (
43
604800
86400
2419200
604800 )
;
@ IN NS ns01.birucom.co.cc.
1.0.168.192.in-addr.arpa. IN PTR ns01.birucom.co.cc.
$GENERATE 2-254 $.0.168.192.in-addr.arpa. IN PTR $.subnet192-168-0.birucom.co.cc.
restart DNS Server
/etc/init.d/bind9 restart
Selesai
artikel dikutip dari forum ngapak : http://www.ngapak.web.id/Thread-Konfigurasi-bind9-DNS-Server-Ubuntu
edit file /etc/bind/named.conf.options
isinya kira-kira:
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
forwarders {
203.130.208.18;
};
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
edit file /etc/bind/named.conf.local
contoh isinya:
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "birucom.co.cc" {
type master;
file "/etc/bind/db.birucom";
};
zone "0.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.client";
};
buat file /etc/bind/db.birucom
contoh:
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA birucom.co.cc. root.birucom.co.cc. (
42
604800
86400
2419200
604800 )
;
@ IN NS ns01.birucom.co.cc.
@ IN A 192.168.0.1
@ IN A 10.1.0.1
@ IN AAAA ::1
www IN A 192.168.0.1
ns01 IN A 192.168.0.1
$GENERATE 2-254 $.subnet192-168-0 IN A 192.168.0.$
buat file /etc/bind/db.client
contoh:
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA birucom.co.cc. root.birucom.co.cc. (
43
604800
86400
2419200
604800 )
;
@ IN NS ns01.birucom.co.cc.
1.0.168.192.in-addr.arpa. IN PTR ns01.birucom.co.cc.
$GENERATE 2-254 $.0.168.192.in-addr.arpa. IN PTR $.subnet192-168-0.birucom.co.cc.
restart DNS Server
/etc/init.d/bind9 restart
Selesai
artikel dikutip dari forum ngapak : http://www.ngapak.web.id/Thread-Konfigurasi-bind9-DNS-Server-Ubuntu
Hi there! I simply would like to give you a big thumbs up for your great info you have got right here on this post. I will be coming back to your site for more soon. Backpage alternative websites 2019 & Putlocker9 movies
BalasHapus