Date: Mon, 20 Aug 2001 14:17:41 -0600 (CST) From: Ryan Thompson <ryan@sasknow.com> To: Darryl Hoar <darryl@osborne-ind.com> Cc: freebsd-questions@freebsd.org Subject: RE: djbdns - Config questions Message-ID: <Pine.BSF.4.21.0108201413350.80334-100000@ren.sasknow.com> In-Reply-To: <004701c129b4$e9fda1d0$0701a8c0@darryl>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <ryan@sasknow.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0108201413350.80334-100000>
