From owner-freebsd-questions Mon Oct 15 4:50:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from drex.staff.izr.com (drex.staff.izr.com [195.26.38.16]) by hub.freebsd.org (Postfix) with ESMTP id E858137B410 for ; Mon, 15 Oct 2001 04:50:17 -0700 (PDT) Received: by drex.staff.izr.com (Postfix, from userid 1001) id DF256337A8; Mon, 15 Oct 2001 12:50:15 +0100 (BST) Date: Mon, 15 Oct 2001 12:50:15 +0100 From: Mark Drayton To: FreeBSD Questions Subject: Re: Monitoring a BIND 8 server Message-ID: <20011015125015.A34334@drex.staff.izr.com> Mail-Followup-To: FreeBSD Questions References: <13399a9133a1c7.133a1c713399a9@mbox.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <13399a9133a1c7.133a1c713399a9@mbox.com.au>; from bsd-freak@mbox.com.au on Mon, Oct 15, 2001 at 08:32:18PM +1000 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 BSD Freak (bsd-freak@mbox.com.au) wrote: > I am running a pair of FreeBSD 4.3 / BIND 8 DNS servers and I want to > monitor in real time the requests being made/satisfied. Kind of the > way you can "tail -f" a proxy/web server log file .... Anyone know how > to do this? You could add something like this in your named.conf: logging { channel log { file "/var/log/named.log"; }; category queries { log; }; }; The queries category will quickly fill up /var if you don't keep an eye on it. One of my (not that busy) nameservers will make about 80 megs of logs in an hour. Cheers, -- Mark Drayton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message