Membuat DNS Server
1.1. Instal paket BIND9 atau BIND
— apt-get install bind9
2.2. Konfigurasi file named.conf
— Nano /etc/bind9/named.conf tambah
Dari scrib named.conf kita edit
Zone “kelompok2.net”{
type master;
file “/etc/bind/db.filesatu”;
};
Zone “1.168.192.in-addr.arpa”{
type master;
file “/etc/bind/db.filedua”;
};
3.3. Buat files Satu
nano /etc/bind/db.file1
nano /etc/bind/db.file1
;
; BIND reverse data file for broadcast zone
;
$TTL 604800
@ IN SOA localhost. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
4.4. Buat filedua
nano /etc/bind/db.file2
nano /etc/bind/db.file2
;
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA localhost. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
1.0.0 IN PTR localhost.
0 komentar:
Posting Komentar