Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2001 07:54:17 +1000
From:      Edwin Groothuis <edwin@mavetju.org>
To:        BSD Freak <bsd-freak@mbox.com.au>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Monitoring a BIND 8 server
Message-ID:  <20011016075417.S2865@k7.mavetju.org>
In-Reply-To: <13399a9133a1c7.133a1c713399a9@mbox.com.au>; from bsd-freak@mbox.com.au on Mon, Oct 15, 2001 at 08:32:18PM %2B1000
References:  <13399a9133a1c7.133a1c713399a9@mbox.com.au>

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




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