Monthly Archives: November 2006

Installation of tinydns and axfrdns. djbdns

This is a small howto in installation of djbdns, with tinydns and axfrdns services.
First install daemontools

mkdir -p /package
chmod 1755 /package
cd /package
wget http://cr.yp.to/daemontools/daemontools-0.76.tar.gz
gunzip daemontools-0.76.tar.gz
tar -xf daemontools-0.76.tar
cd admin/daemontools-0.76
wget http://djbware.csi.hu/patches/daemontools-0.76.errno.patch
patch < daemontools-0.76.errno.patch
#Ask: /package/admin/daemontools-0.76/src/error.h
#to the question about witch file you want to patch
#
package/install

Now install ucspi-tcp

cd /usr/local/src
wget http://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz
gunzip ucspi-tcp-0.88.tar.gz
tar -xf ucspi-tcp-0.88.tar
cd ucspi-tcp-0.88
wget http://www.qmail.org/moni.csi.hu/pub/glibc-2.3.1/ucspi-tcp-0.88.errno.patch
patch < ucspi-tcp-0.88.errno.patch
make setup check

Then install djbdns

cd /usr/local/src
wget http://cr.yp.to/djbdns/djbdns-1.05.tar.gz
gunzip djbdns-1.05.tar.gz
tar -xf djbdns-1.05.tar
cd djbdns-1.05
wget http://djbware.csi.hu/patches/djbdns-1.05.errno.patch
patch -p1 < djbdns-1.05.errno.patch
make setup check

Global:

useradd dnslog

TinyDNS (DNS Server)

useradd tinydns
tinydns-conf tinydns dnslog /etc/tinydns 1.2.3.5
ln -s /etc/tinydns /service

DNS Cache (DNS Resolv)

useradd dnscache
dnscache-conf dnscache dnslog /etc/dnscache 1.2.3.5
ln -s /etc/dnscache /service

AXFR Server

useradd axfrdns
axfrdns-conf axfrdns dnslog /etc/axfrdns /etc/tinydns 1.2.3.4
ln -s /etc/axfrdns /service

Windows XP Service Pack 2 problem

Jeg har haft et problem idag, hvor jeg ikke kunne installere Service pack 2, til windows den gik fast ved “Checking Product Key”. Jeg fulgte denne guide, og det virkede herefter. Super.

1) Open a CMD prompt
2) Then type cd /d %windir%\inf
3) Then type ren oem*.inf oem*.old
4) Then type ren oem*.pnf oem*.old1
5) Then find the file by name INFCACHE.1 and remove it from the inf directory
6) Close all windows and reboot the computer to safe mode and
start the installation of SP2 and it should go fine

I Norge

Jeg har taget et smuttur til Norge, nærmer bestemt Kongsberg. Min lillesøster bor heroppe, så er lige oppe og sige goddag til hende.
Jeg syntes selv jeg trængte til lidt ferie, efter de sidste par ugers hektiske arbejdsuger.