Date: Tue, 31 Oct 2006 12:45:53 +0100 (CET) From: Zbigniew Szalbot <zbyszek@szalbot.homedns.org> To: freebsd-questions@freebsd.org Subject: Re: dns caching service Message-ID: <20061031124242.H89286@192.168.11.51> In-Reply-To: <20061031100915.G79696@192.168.11.51> References: <20061031100915.G79696@192.168.11.51>
next in thread | previous in thread | raw e-mail | index | archive | help
hello, On Tue, 31 Oct 2006, Zbigniew Szalbot wrote: > Hello, > > I have followed all the instructions from > http://www.tnpi.biz/internet/dns/djbdns-freebsd.shtml > to install and run a dns caching services using djbdns. > > I have the svscan process up and running. > > 2454 ?? S 0:00.07 svscan /var/service > > And yet when I changed the /etc/resolv.conf so that the nameserver is > 127.0.0.1 and not my ISP's one, I got "host lookup did not complete" from > exim. Neither could I run lynx as it did not load its default page nor any > other for that matter. I used the simplest possible host cache configuration > so that the caching service is available only to the FBSD machine. > > I am trying to find out what went wrong. For the time being I have changed > the resolv file back to the DNS server of my ISP. Actually, the more I think about it, the more I suspect that it was the problem with rehash command. The instructions are as follows: chmod 755 /usr/local/etc/rc.d/services.sh ln -s /usr/local/etc/rc.d/services.sh /usr/local/sbin/services rehash; services start Now when I came to the rehash command, I saw in my tty that command was not found. I just sheepishly went on and issued services restart. Could that be the reason why DNS is not working? I killed svscan (I think it was automatically started again) but it did not help. Any suggestions greatly appreciated. -- Zbigniew Szalbot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061031124242.H89286>