From owner-freebsd-questions Tue Aug 21 5:39:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from comp04.prc.uic.edu (comp04.prc.uic.edu [128.248.230.104]) by hub.freebsd.org (Postfix) with SMTP id 2587337B409 for ; Tue, 21 Aug 2001 05:39:30 -0700 (PDT) (envelope-from lucas@comp04.prc.uic.edu) Received: (qmail 98010 invoked by uid 1000); 21 Aug 2001 12:39:51 -0000 Date: Tue, 21 Aug 2001 07:39:51 -0500 From: Lucas Bergman To: Darryl Hoar Cc: freebsd-questions@freebsd.org Subject: Re: djbdns - Config questions Message-ID: <20010821073951.A98000@comp04.prc.uic.edu> Reply-To: lucas@slb.to References: <004601c129b1$9dd2e980$0701a8c0@darryl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <004601c129b1$9dd2e980$0701a8c0@darryl>; from darryl@osborne-ind.com on Mon, Aug 20, 2001 at 02:52:16PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I have installed daemontools 0.70 from ports. In addition I have > installed djbdns from the ports. I have configured tinydns as per > the djbdns web site (it listens on 127.0.0.1). I have configured > dnscache on the same machine as tinydns. It is configured for > 192.168.1.44. The IP address of the machine with tinydns and > dnscache is 192.168.1.44. This setup should work fine. > > # dnsq a www.osborneindustries.com 192.168.1.44 > it gives me a connection refused messages. > # dnsqr a www.osborneindustries.com > it also gives me a connection refused message. > > I look at the log file for tinydns and it has: > tinydns: fatal: unable to bind UDP socket: address already used You have accidentally configured dnscache to listen on 127.0.0.1, rather than 192.168.1.44. You want to do: # echo 192.168.1.44 >/service/dnscache/env/IP # svc -t /service/dnscache # svc -t /service/tinydns Lucas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message