1. INSTALL BIND sudo su apt-get install bind9 yum install
bind9
2. SETTING IP
· - pico /etc/network/interfaces
· -rubah ip
auto eth0
iface eth0 inet
static
address
192.168.69.1
netmask
255.255.255.0
gateway
192.168.69.1
· - restart servicenya
· - /etc /init . d/networking restart
· -/etc /init . d/networking reload
· - ifconfig
· -ping 192.168.69.1
3.DNS SERVER
· - pico /etc/resolv . conf
· - cd /etc/bind
· - pico named. conf . local
};
};
· - cp db . local db.dani.org
· - pico db.dani.org
$TTL
604800
@
IN SOA dani.org.
root.dani.org. (
2
;Serial
604800
;Resfresh
86400
;Retry
2419200
;Expire
604800
) ;Negative Cache TTL
;
@
IN NS
dani.org.
@
IN
A 192.168.69.1
@
IN AAAA ::1
www
IN
CNAME @
· -cp db . 127 db . 69.168.192
· -pico db . 69.168.192
$TTL
604800
@
IN SOA dani.org.
root.dani.org. (
2
;Serial
604800
;Resfresh
86400
;Retry
2419200
;Expire
604800
) ;Negative Cache TTL
;
@ IN
NS
dani.org.
1
IN PTR
dani.org.
1
IN PTR www.dani.org.
· - touch db.dani.org
· - touch db . 69.168.192
· - chown bind. bind db.dani.org
· - chown bind. bind db . 69.168.192
· - chmod 644 db.dani.org
· - chmod 644 db . 69.168.192
· - restart servicenya
· - /etc /init . d/bind9 restart
· - /etc /init . d/bind9 reload
· - nslookup 192.168.69.1
· - ping 192.168.69.1
Pembuatan DNS Server selesai.