Dns20

278 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
278
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Dns20

  1. 1. DNS
  2. 2. Konfigurasi IP ….Konfigurasi /etc/network/interfacesNano /etc/network/interfaces auto eth0iface eth0 inet staticaddress 192.168.100.1netmask 255.255.255.0 Atauauto eth1iface eth1 inet staticaddress 192.168.100.2netmask 255.255.255.0Restart service Ethernet/etc/init.d/networking restart
  3. 3. 3. Periksa apakah BIND sudah terinstallapt-get install bind9 ------menginstall BINDapt-get remove bind9 ------ meremove BIND4. Konfigurasi BINDcd /etc/bind/cp db.local ptrcp db.local domainku.com
  4. 4. a.nano ptrnano ptr============================================;; BIND data file for local loopback interface;$TTL 604800@ IN SOA domainku.com. root.domainku.com. ( 2009032001 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL;@ IN NS ns.190 IN PTR ns.domainku.com.
  5. 5. b. edit domainku.comnano domainku.com==============================================$TTL 86400@ IN SOA domainku.com. root.domainku.com. ( 200903181 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Negative Cache TTL;@ IN NS domainku.com.@ IN A 203.134.239.190www IN A 203.134.239.190 ( atau www IN CNAME domainku.com)mail IN A 203.134.239.188ftp IN A 203.134.239.191pop IN A 203.134.239.188smtp IN A 203.134.239.189
  6. 6. c. Konfigurasi named.conf.localnano named.conf.local#tambahkan inizone "domainku.com" {type master;file "/etc/bind/domainku.com";};zone "239.134.203.in-addr.arpa" {type master;file "/etc/bind/ptr";};
  7. 7. 5. Edit /etc/resolv.confpico /etc/resolv.confnameserver 203.134.239.190
  8. 8. 6. Restart BIND service bind9 restart atau /etc/init.d/bind9 restart atau reload

×