Upgrading Bind9 on centos 4.7

I’ve just upgrading one of my dns server recently. Orginaly centos 4.7 using bind-9.2.4-30.el4_7.2. Although this version not affected by cache poisoning vulnerability. as Dan Kaminsky  announced a massive, multi-vendor issue with DNS that could allow attackers to compromise any name server. Here’s how to upgrade bind-9.2.4 to bind-9.5.0.

Download the SOURCE rpms

# wget http://patrick.vande-walle.eu/upload/bind-9.5.0-33.P1.src.rpm

Compile/Build source RPM

# rpm -Ivh bind-9.5.0-33.P1.src.rpm
# cd /usr/src/redhat/SPECS/
# vi bind.spec

find this lines

# configuration files:
tar -C ${RPM_BUILD_ROOT} -xf %{SOURCE28}

change it to

tar -C ${RPM_BUILD_ROOT} -xjf %{SOURCE28}

Source28 is tar.bz2 file so we need tar -xjf options

Postfix IPv6 + RBL + BIND9 as DNSBL

Here we go again :) for using ipv6 dnsbl, we need postfix version => 2.6 as the author of postfix state in postfix-users list. This site is a good reference on how to build postfix RPM under redhat based system http://postfix.wl0.org/en/ How ipv6 dnsbl keep AAAA record in their zone?…

speedy quota 1G + winxp(laptop) + squid + bind9 + cache youtube (lanjutan)

YouTube is a video-sharing website on which users can upload, share, and view videos, created by three former PayPal employees in February 2005. The company is based in San Bruno, California, and uses Adobe Flash Video and HTML5[4] technology to display a wide variety of user-generated video content, including movie clips, TV clips, and music videos, as well as amateur content such as video blogging and short original videos. Most of the content on YouTube has been uploaded by individuals, although media corporations including CBS, BBC, Vevo, Hulu and other organizations offer some of their material via the site, as part of the YouTube partnership program

Nerusin topik sebelumnya , setelah berhasil bikin proxy pakai squid di winxp, akan di coba nambahin local resolver dns pakai bind9(windows precompile binary).

step pertama, nginstall bind9 di winxp
download precompile bind9 untuk windows di sini:

http://ftp.isc.org/isc/bind9/9.5.0-P2-W2/BIND9.5.0-P2-W2.zip

  • extrak di satu folder.
  • didalam folder klik 2 kali BINDInstall
  • muncul popup windows installer kecil, biarkan semua nya default, kecuali service account password,klik install

tunggu sampai selesai.

hasil instalasi nya nanti akan berada di sini C:\WINDOWS\system32\dns

  • klik start -> run -> ketik cmd, cd ke C:\WINDOWS\system32\dns\etc\

– buat file dengan nama named.conf,isinya seperti ini: