Posts

Showing posts from March, 2007

DJBDNS in 2 minutes!

Here's how to setup djbdns in 2 minutes: On a machine that has a standard Linux installation like Fedora Core, run the following commands in a script with proper arguments: #!/bin/bash # $1 is this server's IP address # $2 is slave server's IP address to which you want to allow AXFR # $3 is the domain for which you want to allow AXFR # Installs daemontools mkdir -p /package chmod 1755 /package cd /package echo " Getting daemontools-0.76 from cr.yp.to " wget http://cr.yp.to/daemontools/daemontools -0 . 76 .tar.gz gunzip daemontools -0 . 76 .tar tar -xpf daemontools -0 . 76 .tar rm -f daemontools -0 . 76 .tar cd admin/daemontools -0 . 76 echo gcc -O2 -include /usr/include/errno.h > src/conf-cc echo " Starting compilation and installation " package/ install # Installs ucspi-tcp-0.88 mkdir -p /package chmod 1755 /package cd /package echo " Getting ucspi-tcp-0.88 from cr.yp.to " wget http://cr.yp.to/ucspi-tcp/ucspi-tcp -0