background img

The New Stuff

Install DNS Server Dengan BIND9 di ubuntu

DNS server digunakan untuk memetakan IPAddress kedalam sebuah nama domain. Karena setiap situs sebenarnya mempunyai alamat IP, misal google memiliki IP sebagai berikut:


root@achmad-laptop:/home/achmad# ping google.co.id
PING google.co.id (216.239.61.104) 56(84) bytes of data.
64 bytes from sin01s01-in-f104.1e100.net (216.239.61.104): icmp_seq=1 ttl=247 time=113 ms
64 bytes from sin01s01-in-f104.1e100.net (216.239.61.104): icmp_seq=2 ttl=247 time=175 ms
64 bytes from sin01s01-in-f104.1e100.net (216.239.61.104): icmp_seq=3 ttl=247 time=69.6 ms
64 bytes from sin01s01-in-f104.1e100.net (216.239.61.104): icmp_seq=4 ttl=247 time=70.4 ms
^C
--- google.co.id ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3001ms
rtt min/avg/max/mdev = 69.669/107.307/175.372/43.160 ms
root@achmad-laptop:/home/achmad#

Dari tes diatas google.co.id memiliki IP 216.239.61.104, nah jadi jelas DNS disini mengganti 216.239.61.104 menjadi google.co.id.

OK sekarang mulai penginstalan dulu, buka termilal dulu Aplication -> Accesories -> Terminal, masuk jadi root dulu. (Terkoneksi dengan internet)


achmad@achmad-laptop:~$ sudo su
[sudo] password for achmad:
root@achmad-laptop:/home/achmad# apt-get install bind9
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  bind9-host bind9utils dnsutils libbind9-40 libdns45 libdns46 libisc45
  libisccc40 libisccfg40 liblwres40
Suggested packages:
  bind9-doc resolvconf rblcheck
The following NEW packages will be installed:
  bind9 bind9utils libdns46
The following packages will be upgraded:
  bind9-host dnsutils libbind9-40 libdns45 libisc45 libisccc40 libisccfg40
  liblwres40
8 upgraded, 3 newly installed, 0 to remove and 81 not upgraded.
Need to get 1390kB of archives.
After this operation, 1069kB of additional disk space will be used.
Do you want to continue [Y/n]? y

Jika merasa bingung, kita bisa menggunakan cara kedua:



achmad@achmad-laptop:~$ sudo su
[sudo] password for achmad:
root@achmad-laptop:/home/achmad# tasksel




Untk menandai paket yang akan kita install kita tekan spacebar. trus OK, tinggal tunggu proses selesai.

0 komentar:

Poskan Komentar

Ramaikan Blog Ini Dengan Komentar-Komentar Anda

Bebas, Sopan, Ataktif, Kritik Juga Boleh

Popular Posts