Wednesday 2 December 2009

DNS SERVER

Laporan Praktikum
Linux
Modul V
DNS SERVER

Disusun oleh :
Nadhif Iqbal Y
123070007
Plug 5
Assisten :
M. Riza Hilmi


JURUSAN TEKNIK INFORMATIKA
FAKULTAS TEKNOLOGI INDUSTRI
UPN “VETERAN” YOGYAKARTA
2009
1. INSTALASI

iqbal@iqbal-laptop:~$ apt-get install bind9
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
iqbal@iqbal-laptop:~$ sudo apt-get install bind9
[sudo] password for iqbal:
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 libisc45 libisccc40
libisccfg40 liblwres40
Suggested packages:
bind9-doc resolvconf rblcheck
The following NEW packages will be installed:
bind9 bind9utils
The following packages will be upgraded:
bind9-host dnsutils libbind9-40 libdns45 libisc45 libisccc40 libisccfg40
liblwres40
8 upgraded, 2 newly installed, 0 to remove and 291 not upgraded.
Need to get 1373kB of archives.
After this operation, 1028kB of additional disk space will be used.
Do you want to continue [Y/n]? yes
WARNING: The following packages cannot be authenticated!
dnsutils bind9-host libbind9-40 libisccfg40 libisccc40 libdns45 libisc45
liblwres40 bind9utils bind9
Install these packages without verification [y/N]? yes
Get:1 http://id.archive.ubuntu.com jaunty-updates/main dnsutils 1:9.5.1.dfsg.P2-1ubuntu0.1 [144kB]
Get:2 http://id.archive.ubuntu.com jaunty-updates/main bind9-host 1:9.5.1.dfsg.P2-1ubuntu0.1 [60.8kB]
Get:3 http://id.archive.ubuntu.com jaunty-updates/main libbind9-40 1:9.5.1.dfsg.P2-1ubuntu0.1 [32.3kB]
Get:4 http://id.archive.ubuntu.com jaunty-updates/main libisccfg40 1:9.5.1.dfsg.P2-1ubuntu0.1 [43.6kB]
Get:5 http://id.archive.ubuntu.com jaunty-updates/main libisccc40 1:9.5.1.dfsg.P2-1ubuntu0.1 [26.4kB]
Get:6 http://id.archive.ubuntu.com jaunty-updates/main libdns45 1:9.5.1.dfsg.P2-1ubuntu0.1 [543kB]
Get:7 http://id.archive.ubuntu.com jaunty-updates/main libisc45 1:9.5.1.dfsg.P2-1ubuntu0.1 [147kB]
Get:8 http://id.archive.ubuntu.com jaunty-updates/main liblwres40 1:9.5.1.dfsg.P2-1ubuntu0.1 [44.4kB]
Get:9 http://id.archive.ubuntu.com jaunty-updates/main bind9utils 1:9.5.1.dfsg.P2-1ubuntu0.1 [91.3kB]
Get:10 http://id.archive.ubuntu.com jaunty-updates/main bind9 1:9.5.1.dfsg.P2-1ubuntu0.1 [241kB]
Fetched 1373kB in 19s (71.8kB/s)
Preconfiguring packages ...
(Reading database ... 132260 files and directories currently installed.)
Preparing to replace dnsutils 1:9.5.1.dfsg.P2-1 (using .../dnsutils_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb) ...
Unpacking replacement dnsutils ...
Preparing to replace bind9-host 1:9.5.1.dfsg.P2-1 (using .../bind9-host_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb) ...
Unpacking replacement bind9-host ...
Preparing to replace libbind9-40 1:9.5.1.dfsg.P2-1 (using .../libbind9-40_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb) ...
Unpacking replacement libbind9-40 ...
Preparing to replace libisccfg40 1:9.5.1.dfsg.P2-1 (using .../libisccfg40_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb) ...
Unpacking replacement libisccfg40 ...
Preparing to replace libisccc40 1:9.5.1.dfsg.P2-1 (using .../libisccc40_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb) ...
Unpacking replacement libisccc40 ...
Preparing to replace libdns45 1:9.5.1.dfsg.P2-1 (using .../libdns45_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb) ...
Unpacking replacement libdns45 ...
Preparing to replace libisc45 1:9.5.1.dfsg.P2-1 (using .../libisc45_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb) ...
Unpacking replacement libisc45 ...
Preparing to replace liblwres40 1:9.5.1.dfsg.P2-1 (using .../liblwres40_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb) ...
Unpacking replacement liblwres40 ...
Selecting previously deselected package bind9utils.
Unpacking bind9utils (from .../bind9utils_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb) ...
Selecting previously deselected package bind9.
Unpacking bind9 (from .../bind9_1%3a9.5.1.dfsg.P2-1ubuntu0.1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ufw ...
Setting up libisc45 (1:9.5.1.dfsg.P2-1ubuntu0.1) ...

Setting up libdns45 (1:9.5.1.dfsg.P2-1ubuntu0.1) ...

Setting up libisccc40 (1:9.5.1.dfsg.P2-1ubuntu0.1) ...

Setting up libisccfg40 (1:9.5.1.dfsg.P2-1ubuntu0.1) ...

Setting up libbind9-40 (1:9.5.1.dfsg.P2-1ubuntu0.1) ...

Setting up liblwres40 (1:9.5.1.dfsg.P2-1ubuntu0.1) ...

Setting up bind9-host (1:9.5.1.dfsg.P2-1ubuntu0.1) ...
Setting up dnsutils (1:9.5.1.dfsg.P2-1ubuntu0.1) ...

Setting up bind9utils (1:9.5.1.dfsg.P2-1ubuntu0.1) ...
Setting up bind9 (1:9.5.1.dfsg.P2-1ubuntu0.1) ...
Adding group `bind' (GID 126) ...
Done.
Adding system user `bind' (UID 113) ...
Adding new user `bind' (UID 113) with group `bind' ...
Not creating home directory `/var/cache/bind'.
wrote key file "/etc/bind/rndc.key"
#
* Reloading AppArmor profiles ... [ OK ]
* Starting domain name service... bind9 [ OK ]

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
iqbal@iqbal-laptop:~$ sudo apt-get install dnsutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
dnsutils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 291 not upgraded.
iqbal@iqbal-laptop:~$ dpkg -l|grep bind9
ii bind9 1:9.5.1.dfsg.P2-1ubuntu0.1 Internet Domain Name Server
ii bind9-host 1:9.5.1.dfsg.P2-1ubuntu0.1 Version of 'host' bundled with BIND 9.X
ii bind9utils 1:9.5.1.dfsg.P2-1ubuntu0.1 Utilities for BIND
ii libbind9-40 1:9.5.1.dfsg.P2-1ubuntu0.1 BIND9 Shared Library used by BIND
iqbal@iqbal-laptop:~$ dpkg -l|grep dnsutils
ii dnsutils 1:9.5.1.dfsg.P2-1ubuntu0.1 Clients provided with BIND
iqbal@iqbal-laptop:~$













2. KONFIGURASI
root@iqbal-laptop:/home/iqbal# cp /etc/bind/named.conf.local /etc/bind/named.conf.lokal.backup
root@iqbal-laptop:/home/iqbal# vim /etc/bind/named.conf.local
root@iqbal-laptop:/home/iqbal# cp /etc/bind/named.conf.local /etc/bind/db.himatif.com
root@iqbal-laptop:/home/iqbal# vim /etc/bind/db.himatif.com
root@iqbal-laptop:/home/iqbal# cp /etc/bind/db.himatif.com /etc/bind/db.dot.com
root@iqbal-laptop:/home/iqbal# vim /etc/bind/db.dot.com
root@iqbal-laptop:/home/iqbal# vim /etc/bind/named.conf.local
root@iqbal-laptop:/home/iqbal# vim /etc/bind/db.127
root@iqbal-laptop:/home/iqbal# vim /etc/bind/named.conf.local
root@iqbal-laptop:/home/iqbal# vim /etc/bind/named.conf.local
root@iqbal-laptop:/home/iqbal# cp /etc/bind/db.127 /etc/bind/db.192
root@iqbal-laptop:/home/iqbal# vim /etc/bind/db.192
root@demoninc:/home/demmon# /etc/init.d/bind9 restart
* Stopping domain name service... bind9 [ OK ]
* Starting domain name service... bind9 [ OK ]

No comments:

Post a Comment