Configure tinydns on Fedora Core 3
Jun 30, 2005
I am just making notes for myself and hope it is useful to other people, using
RedHat Linux 9
Fedora Core 1
Fedora Core 2
Fedora Core 3
groupadd dns
useradd -g dns -s /sbin/nologin -d /dev/null Gtinydns
useradd -g dns -s /sbin/nologin -d /dev/null Gdnslog
tinydns-conf Gtinydns Gdnslog /etc/tinydns 192.168.1.177
ln -s /etc/tinydns /service
sleep 5
svstat /service/tinydns
cd /etc/tinydns/root
./add-ns sec.exp 192.168.1.177
./add-host triper.sec.exp 192.168.1.177
./add-host dweller.sec.exp 192.168.1.244
make
vi /etc/resolv.conf
dig dweller
dig dweller.sec.exp
dig sec.exp
dig triper.sec.exp
./add-alias sec.exp 192.168.1.177
make
cd /etc/tinydns/root
vi data
---- this is how my data file looks like ----
.sec.exp:192.168.1.177:ns1.sec.exp:259200
=triper.sec.exp:192.168.1.177:86400
=dweller.sec.exp:192.168.1.244:86400
+sec.exp:192.168.1.177:86400
Congratulations !
Go to DJBDNS for what you want to do with this install.