Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2001 07:39:51 -0500
From:      Lucas Bergman <lucas@slb.to>
To:        Darryl Hoar <darryl@osborne-ind.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: djbdns - Config questions
Message-ID:  <20010821073951.A98000@comp04.prc.uic.edu>
In-Reply-To: <004601c129b1$9dd2e980$0701a8c0@darryl>; from darryl@osborne-ind.com on Mon, Aug 20, 2001 at 02:52:16PM -0500
References:  <004601c129b1$9dd2e980$0701a8c0@darryl>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010821073951.A98000>