From owner-freebsd-questions@FreeBSD.ORG Tue Oct 31 11:45:55 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2DBF16A407 for ; Tue, 31 Oct 2006 11:45:55 +0000 (UTC) (envelope-from zbyszek@szalbot.homedns.org) Received: from lists.lc-words.com (lists.lc-words.com [83.19.156.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4743C43D5A for ; Tue, 31 Oct 2006 11:45:55 +0000 (GMT) (envelope-from zbyszek@szalbot.homedns.org) Received: from [127.0.0.1] (helo=localhost) by lists.lc-words.com with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Ges41-000NG6-5O for freebsd-questions@freebsd.org; Tue, 31 Oct 2006 12:45:53 +0100 Date: Tue, 31 Oct 2006 12:45:53 +0100 (CET) From: Zbigniew Szalbot X-X-Sender: zbyszek@192.168.11.51 To: freebsd-questions@freebsd.org In-Reply-To: <20061031100915.G79696@192.168.11.51> Message-ID: <20061031124242.H89286@192.168.11.51> References: <20061031100915.G79696@192.168.11.51> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: dns caching service X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Oct 2006 11:45:55 -0000 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