02.09.07

Setting DNS menggunakan Bind9 pada Ubuntu Server 6.06 LTS Dapper Drake

Ditulis dalam open source pada 5:38 pm oleh hariste

Mengawali tulisan ini, didahului dengan kabar bahwa galileo server kesayangan semua mahasiswa Sistem Informasi mengalami kerusakan pada motherboardnya. Alias modyar.. Akhirnya berbekal prioritas, maka copernicus yang notabene memilki spek yang sama dikanibal lah dia. Copernicus mati, galileo hidup. Galileo ataukah copernicus? Copernicus ataukah galileo?? Nah lo..

Sekali dikanibal, eh malah system Ubuntu nya ga jalan, aduh. Dengan semangat ‘45 mulai dari jam 22.00 WIB melakukan backup data user untuk kemudian dilakukan proses instalasi ulang. Awalnya OS yang digunakan adalah Ubuntu Desktop 6.06 (Dapper), namun dengan melihat aspek bahwasanya beliau jarang diakses secara langsung. Jadilah ganti OS - Ubuntu Server 6.06 LTS Dapper Drake.. Abis download bentar ISO nya di ftp://tuma.vlsm.org langsung bakar dan install dah.

Perkara instalasi sih rada mirip ama Debian 3.1 yang dipake di thunderbirds. Cuman setelah selesai ga da XWindownya ja. Abis nginstal enaknya ngapain ya.. Pikir pikir lalu carilah di internet, dapet di situsnya howtoforge mengenai perfect setup Ubuntu Server 6.06 mulai dari awal ampe akhir. Galileo bertindak sebagai multi-server dengan rincian sebagai berikut : Database Server (Mysql), Web Server (Apache + Php), File Server (Samba) ama DNS Server (Bind9).

Setelah semua package buat kepentingan diatas diinstal, konfigurasi mulai mengambil peran. Apachenya cukup mudah, cukup merubah isi pada file /etc/apache2/sites-available/default dimana DocumentRoot nya dirubah ke folder /web/web. Restart apache, jalan dah.. Yang agak lupa waktu konfigurasi bind9 nya, maklum uda setaon lebih Kuliah Jarkom berlalu.. Sing.. Dengan semangat ‘66 berusaha untuk mengingat-ingat + browsing, akhirnya jadilah DNS Server nya, jalan sodara sodara.

Studi Kasus :
Bikin DNS Server yang memiliki domain labprog.si.its-sby.edu (10.126.15.0/24) dengan galileo (10.126.15.245) sebagai hostnya. Jika ada request yang ngga dikenali akan dilakukan forward ke DNS di atasnya, yakni 202.46.129.3 + 202.46.129.2.

Berikut isi dari beberapa file konfigurasi yang telah diubah dan disesuaikan dengan kebutuhan.  Antara lain :

  •  /etc/apache2/sites-available/default
    NameVirtualHost *
    <VirtualHost *>
    ServerAdmin webmaster@localhost

    DocumentRoot /web/web/
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    </Directory>
    <Directory /web/web/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    allow from all
    # Uncomment this directive is you want to see apache2’s
    # default start page (in /apache2-default) when you go to /
    #RedirectMatch ^/$ /apache2-default/
    </Directory>

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory “/usr/lib/cgi-bin”>
    AllowOverride None
    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
    Order allow,deny
    Allow from all
    </Directory>

    ErrorLog /var/log/apache2/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog /var/log/apache2/access.log combined
    ServerSignature On
    Alias /doc/ “/usr/share/doc/”
    <Directory “/usr/share/doc/”>
    Options Indexes MultiViews FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

    </VirtualHost>

  • /etc/bind/named.conf.local
    key “rndc-key” {
    algorithm hmac-md5;
    secret “AYQ/boASsLo6jxskv6hiXw==”;
    };

    controls {
    inet 127.0.0.1 port 953
    allow { localhost; } keys { “rndc-key”; };
    };

    zone “labprog.si.its-sby.edu” {
    type master;
    file “/etc/bind/labprog.si.its”;
    };

  • /etc/bind/named.conf.options
    options {
    directory “/var/cache/bind”;
    version “la mbuh a”;
    query-source address * port 53;
    forwarders {
    10.126.10.19;
    };

    };

  • /etc/bind/labprog.si.its
    @       IN      SOA     galileo.labprog.si.its-sby.edu. admin.labprog.si.its-sby.edu. (
    2006231200
    28800
    14400
    3600000
    86400
    )
    IN      NS      galileo.labprog.si.its-sby.edu.
    IN      A       10.126.15.245

    lpsi            IN      A       10.126.15.245
    phpmyadmin      IN      A       10.126.15.245
    nobel           IN      A       10.126.15.1
    clinkz          IN      A       10.126.15.11
    plumbum         IN      A       10.126.15.12
    zeus            IN      A       10.126.15.13
    akasha          IN      A       10.126.15.14
    darkterror      IN      A       10.126.15.15
    silencer        IN      A       10.126.15.16
    tinker          IN      A       10.126.15.17
    naix            IN      A       10.126.15.18
    gondar          IN      A       10.126.15.19
    venomancer      IN      A       10.126.15.20
    alchemist       IN      A       10.126.15.21
    viper           IN      A       10.126.15.22
    axe             IN      A       10.126.15.23
    solka           IN      A       10.126.15.24
    abadon          IN      A       10.126.15.25
    rikimaru        IN      A       10.126.15.26
    rhasta          IN      A       10.126.15.27
    sandking        IN      A       10.126.15.28
    chugar          IN      A       10.126.15.29
    pudge           IN      A       10.126.15.30
    nevermore       IN      A       10.126.15.31
    nessaj          IN      A       10.126.15.32
    lina            IN      A       10.126.15.33
    pandaren        IN      A       10.126.15.34
    centaur         IN      A       10.126.15.35
    furion          IN      A       10.126.15.36
    traxex          IN      A       10.126.15.37
    razor           IN      A       10.126.15.38
    morphling       IN      A       10.126.15.39
    rylei           IN      A       10.126.15.40
    sven            IN      A       10.126.15.41
    yunero          IN      A       10.126.15.42
    rexar           IN      A       10.126.15.43
    qyux            IN      A       10.126.15.44
    nitrogen        IN      A       10.126.15.45
    fosfor1         IN      A       10.126.15.46
    rikimartin      IN      A       10.126.15.47
    tiny            IN      A       10.126.15.48
    chen            IN      A       10.126.15.49
    lpsi50          IN      A       10.126.15.50
    dragon          IN      A       10.126.15.51
    wolfram         IN      A       10.126.15.52
    simbah          IN      A       10.126.15.53

    copernicus      IN      A       10.126.15.201
    galileo         IN      A       10.126.15.245
    newton          IN      A       10.126.15.251

Linux galileo.labprog.si.its-sby.edu 2.6.15-23-server #1 SMP Tue May 23 15:10:35 UTC 2006 i686 GNU/Linux

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
Last login: Fri Feb  9 17:03:46 2007 from 10.126.15.50
hariste@galileo:~$ sudo bash
Password:
root@galileo:~# cat /etc/apache2/sites-available/default | less
root@galileo:~# cat /etc/bind/named.conf.local | less
root@galileo:~# cat /etc/bind/named.conf.options | less
root@galileo:~# cat /etc/bind/labprog.si.its | less
root@galileo:~# /etc/init.d/bind9 restart
* Stopping domain name service…                                                                                     [ ok ]
* Starting domain name service…                                                                                     [ ok ]
root@galileo:~#

==========================================================
ps :  Uda, slese dah..

02.08.07

Formulir Rencana Studi - Semester 8 (Genap 2006)

Ditulis dalam kuliah pada 9:37 am oleh hariste

Hari ini kamis tanggal 08 Pebruari 2006, hari pertama pengisian FRS buat semester Genap tahun ajaran 2006 - 2007. Bingung mau ngambil apa, usia wis tuwek semester 8 tapi belum lulus-lulus. Baru lulus 128 SKS dari 144 yang harus diambil.

Setelah pikir pikir, akhirnya bulat untuk mengambil mata kuliah sebagai berikut :

  • Proyek Pengembangan Sistem Informasi - 3 SKS - Kelas B - Ir. Aris Tjahyanto, M.Kom
  • Teknologi Basis Data - 3 SKS - Kelas A - Rully Agus Hendrawan, S.Kom
  • Sistem Intelegensia - 3 SKS - Kelas B - Rully Soelaiman, S.Kom., M.Kom
  • Sistem Terdistribusi Berbasis Java - 3 SKS - Kelas ? - Faizal Johan Atletiko, S.Kom
  • Sistem Informasi Geografis - 3 SKS - Kelas ? - Ir. Khakim Ghozali
  • Teknik Peramalan - 3 SKS - Kelas ? - Wiwik Anggraeni,S.Si.

Ada 3 mata kuliah pilihan yang aku ambil, STBJ - SIG - Peramalan. Sebenarnya sih lebih dari cukup untuk mengambil MK Pilihannya, tapi gpp la. Itupun cuma 18 SKS dari 24 SKS yang boleh diambil untuk semester ini. Soale IPS ku semester lalu merupakan IPS tertinggi selama aku kuliah di Sistem Informasi ITS Surabaya, — 3.6

Ada juga 2 MK yang ta ulang. PPSI dulu dapet BC, sedangkan SI dulu malah dapet C. Perkara dosen itu urusan belakangan aja la. Yang penting berusaha untuk mendapatkan yang terbaik..

Ganbatte Kudasai — buat semester 8.