Hello all,
FreeBSD djbdns from ports user here; meaning that /var/service is the daemontools directory, insted of the traditional /service
ls -l /var/service/*
lrwxr-xr-x 1 root wheel 22 Aug 6 2003 /var/service/httpd -> /home/publicfile/httpd
lrwxr-xr-x 1 root wheel 22 Jul 13 14:06 /var/service/testing -> /usr/local/etc/testing
lrwxr-xr-x 1 root wheel 22 Jul 5 15:34 /var/service/tinydns -> /usr/local/etc/tinydns
svstat /var/service/* /var/service/httpd: up (pid 491) 668041 seconds /var/service/testing: up (pid 80214) 1753 seconds /var/service/tinydns: up (pid 493) 668041 seconds
I already have a working tinydns server on this box but bound to a different IP. The testing server is bound to the loopback.
[/usr/local/etc/testing/root]# 324 > ls -l data* -rw-r--r-- 1 root wheel 186 Jul 13 14:32 data -rw-r--r-- 1 root wheel 2338 Jul 13 14:32 data.cdb -rw-r--r-- 1 root wheel 186 Jul 13 14:32 data.srv-$[$[0]+1]
This is the datafile: cat data
#testing.int Ztesting.int:ns1.testing.int:hostmaster.testing.int::16384:2048:1048576:2560:86400 +testing.int:127.0.0.1:3600 +*.testing.int:127.0.0.1:3600 @testing.int::127.0.0.1:0:3600
and here is me testing various dig requests:
tail -f /var/service/testing/log/main/current | tai64nlocal 2004-07-13 14:27:39.569572500 7f000001:c555:1657 - 000f www.testing.int 2004-07-13 14:32:43.948961500 7f000001:c559:043f - 0001 testing.int 2004-07-13 14:32:48.954344500 7f000001:c559:043f - 0001 testing.int 2004-07-13 14:32:56.937628500 7f000001:c55a:280c - 0001 blah.testing.int
What is missing to make this work?
I thank you for taking the time to read this message.
- Brian
