On Tue, 30 Dec 2003 04:03:35 +0200 "Vahric MUHTARYAN" <[EMAIL PROTECTED]> wrote:
> I'm using FreeBSD 4.9 > > I red this link http://cr.yp.to/djbdns/run-cache-x.html ok > I created Gdnscache and Gdnslog users ok > dnscache-conf Gdnscache Gdnslog /etc/dnscache 192.168.0.1 > > ( 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 192.168.0.1 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 192.168.0.1/24 > nameserver 192.168.0.1 in /etc/resolv.conf Just checking: 192.168.0.1 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. 2. # 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 127.0.0.1 but it's not working .. If you put 127.0.0.1 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. -- IOnut Unregistered ;) FreeBSD user _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"