On Tue, 30 Dec 2003 04:03:35 +0200

> I'm using FreeBSD 4.9 
> I red this link http://cr.yp.to/djbdns/run-cache-x.html


> I created Gdnscache and Gdnslog users 

> dnscache-conf Gdnscache Gdnslog /etc/dnscache 
> ( Which mydns is working same with same ip ) 

I don't know if I understand you correctly here; This means that
dnscache will listen on ip port 53 both udp and tcp.
> ln -s /etc/dnscache /service

ok ... or not, see below.
> touch /etc/dnscache/root/ip/192.168.0

so it will answer to queries from
> nameserver

in /etc/resolv.conf
Just checking: is on the machine you are running dnscache,
right ?

> But it's not working ... 
> I cant find /service/dnscache because with tihs configuration no
> dnscahce linked to service directory 

Take a look at /usr/local/etc/rc.d/svscan.sh.sample 

1. SVDIR=/var/service/ - so svscan will look at /var/service and not
/service; either do:
a) what is suggested and use /var/services (e.g. ln -s /etc/dnscache
/var/service) or 
b) change SVDIR=/var/service/ to SVDIR=/service/

I would use a); also note that creating the log file in /etc/dnscache is
IMHO a bad idea.

# cp /usr/local/etc/rc.d/svscan.sh.sample /usr/local/etc/rc.d/svscan.sh
# /usr/local/etc/rc.d/svscan.sh start
# svstatus /var/services/dnscache
# svstatus /var/services/dnscache/log
# dnsip www.freebsd.org

> I tried this configuration with but it's not working .. 

If you put in /etc/resolv.conf with this configuration it
won't work.
> I'm using MyDNS but it's not support -Non Auth. Answer .... But I need
> recursive query some times 

Please elaborate, I do not understand.

Unregistered ;) FreeBSD user
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to