From owner-freebsd-questions Mon Aug 20 13:17:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by hub.freebsd.org (Postfix) with ESMTP id 00E3637B412 for ; Mon, 20 Aug 2001 13:17:44 -0700 (PDT) (envelope-from ryan@sasknow.com) Received: from localhost (ryan@localhost) by ren.sasknow.com (8.9.3/8.9.3) with ESMTP id OAA81935; Mon, 20 Aug 2001 14:17:41 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Mon, 20 Aug 2001 14:17:41 -0600 (CST) From: Ryan Thompson To: Darryl Hoar Cc: freebsd-questions@freebsd.org Subject: RE: djbdns - Config questions In-Reply-To: <004701c129b4$e9fda1d0$0701a8c0@darryl> Message-ID: Organization: SaskNow Technologies [www.sasknow.com] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Darryl Hoar wrote to 'Ryan Thompson': > Thanks, > sockstat shows dnscache pid 338 doing a > udp and tcp connection to 127.0.0.1:53. > What is causing that ? dnscache is a daemon listening on port 53 of 127.0.0.1 You will not be able to bind another daemon (djbdns) to 127.0.0.1:53. To get both running simultaneously, you can: a) Put dnscache on a different IP b) Put djbdns on a different IP c) Use different port numbers (somewhat tricky with DNS) If it is only for local resolution, you can make up private (RFC1918) IP addresses if you need a bunch of servers on the same port, but one of a) or b) will likely do the trick for you. > thanks, > Darryl > > -----Original Message----- > From: Ryan Thompson [mailto:ryan@sasknow.com] > Sent: Monday, August 20, 2001 3:00 PM > To: Darryl Hoar > Cc: freebsd-questions@FreeBSD.ORG > Subject: Re: djbdns - Config questions > > > Darryl Hoar wrote to freebsd-questions@FreeBSD.ORG: > > > [...] > > Yes I have setup the alias per the website. I look at the log > > file for dnscache and it looks ok. I look at the log file for > > tinydns and it has: > > tinydns: fatal: unable to bind UDP socket: address already used > > > > What am I missing here ? > > > > I want tinydns and dnscache to be running on the same box. I want > > all my local Windows clients to have their primary dns setting point > > to this box. I have followed the instructions for making dnscache > > act as a forwarding proxy server. What am I missing ? > > You have two services on port 53, on the IP address in question. Be > careful that, if you are trying to run two daemons on port 53, that they > are explicitly bound to different IP addresses. You can see what is > running on port 53 with sockstat(1). > > > > > I can provide more info, if its needed. > > > > thanks, > > Darryl > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > -- Ryan Thompson Network Administrator, Accounts SaskNow Technologies - http://www.sasknow.com #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2 Tel: 306-664-3600 Fax: 306-664-1161 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message