From owner-freebsd-questions Mon Oct 15 14:54:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 2E5C137B40C for ; Mon, 15 Oct 2001 14:54:25 -0700 (PDT) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 4E4B62B6AD; Mon, 15 Oct 2001 23:54:21 +0200 (CEST) Received: by k7.mavetju.org (Postfix, from userid 1001) id 112A3182; Tue, 16 Oct 2001 07:54:17 +1000 (EST) Date: Tue, 16 Oct 2001 07:54:17 +1000 From: Edwin Groothuis To: BSD Freak Cc: FreeBSD Questions Subject: Re: Monitoring a BIND 8 server Message-ID: <20011016075417.S2865@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , BSD Freak , 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 On Mon, Oct 15, 2001 at 08:32:18PM +1000, BSD Freak wrote: > Hi all, > > 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? This is for working for me: logging { channel query_logging { file "/home/edwin/dns/qlog" versions 3 size 100M; print-time yes; }; category queries { query_logging; }; }; And it gives such an output: 16-Oct-2001 07:50:00.993 XX+/127.0.0.1/topaz.mdcc.cx/A/IN 16-Oct-2001 07:50:01.019 XX+/127.0.0.1/topaz.mdcc.cx/AAAA/IN 16-Oct-2001 07:50:01.021 XX+/127.0.0.1/topaz.mdcc.cx/A/IN 16-Oct-2001 07:50:34.359 XX+/127.0.0.1/cgi.omroep.nl/A/IN 16-Oct-2001 07:50:48.208 XX+/127.0.0.1/livestreams.omroep.nl/A/IN Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message