Cara Install/Build dan Konfigurasi DNS Unbound High Performance di Ubuntu Server

Cara Install/Build dan Konfigurasi DNS Unbound Hight Performance di Ubuntu Server

DNS Unbound High Performace bisa kita gunakan untuk mempercepat DNS resolv, Selai itu unboun lebih sedikit memakan memori di bandingkan dengan DNS Bind dan lainya.

Cara Install/Build dan Konfigurasi DNS Unbound Hight Performance di Ubuntu Server
Berikut adalah Cara Install/Build dan Konfigurasi DNS Unbound High Performance di Ubuntu Server.

Download dan extract bahan-bahan yang di butuhkan :
wget http://www.nlnetlabs.nl/downloads/ldns/ldns-1.6.16.tar.gz
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
wget http://www.unbound.net/downloads/unbound-latest.tar.gz
tar -xzf ldns-1.6.16.tar.gz
tar -xzf libevent-2.0.21-stable.tar.gz
tar -xzf unbound-latest.tar.gz
Setelah itu install juga pendukung DNS Unbound Lainya :
apt-get install libldns-dev libexpat1-dev libssl-dev
Install ldns-1.6.16 dengan cara berikut :
cd ldns-1.6.16
./configure --disable-gost
make && make install
Installasi libevent-2.0.21-stable
cd /home/user/libevent-2.0.21-stable
./configure
make
Sekarang kita Kompile dan Install DNS Unbound versi terbaru :
./configure \
--with-ldns=/usr/local \
--with-libevent=/root/libevent-2.0.21-stable \
--with-conf-file=/etc/unbound/unbound.conf \
--with-pidfile=/etc/unbound/unbound.pid \
--with-run-dir=/etc/unbound \
--with-rootkey-file=/etc/unbound/root.key \
--with-rootcert-file=/etc/unbound/icannbundle.pem \
--disable-gost
make && make install
cd /etc/unbound
wget ftp://FTP.INTERNIC.NET/domain/named.cache
wget http://giga-proxy.googlecode.com/files/unbound.conf
wget http://giga-proxy.googlecode.com/files/unbound.pid
Edit file unbound.conf di /etc/unbound/unbound.conf
nano /etc/unboind/unbound.conf
sesuaikan interface dan control-interface anda. Tahap terakhir :
/usr/local/sbin/unbound-control-setup
groupadd unbound
useradd -g unbound unbound
chown unbound:unbound unbound_*
chmod 777 unbound_*
cd /etc/init.d
wget http://giga-proxy.googlecode.com/files/unbound
chmod +x /etc/init.d/unbound
update-rc.d unbound defaults
reboot
Nah itu sedikit share tentang Cara Install/Build DNS Unbound High Performance Di ubuntu server.

Comments