Brian wrote:

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

This works: cat data #testing.int +testing.int:127.0.0.1:3600 +*.testing.int:127.0.0.1:3600 @testing.int::127.0.0.1:0:3600 &testing.int::127.0.0.1.:3600 Ztesting.int:127.0.0.1.:hostmaster.testing.int.::16384:2048:1048576:2560:86400

There was no NS entry for the domain :/

- Brian

Reply via email to