Bind's logs

dev_null dev_null at pubbox.net
Sat Dec 9 03:50:16 UTC 2006


Hello lists,
I just saw few things about bind's start info in /var/log/messages.If I want to see the full log of query from clients,how to do it?Thanks.From spoo at isc.org  Sat Dec  9 04:53:43 2006
Received: with ECARTIS (v1.0.0; list bind-users); Sat, 09 Dec 2006 04:53:43 +0000 (UTC)
Return-Path: <spoo at isc.org>
X-Original-To: bind-users at webster.isc.org
Received: from farside.isc.org (farside.isc.org [IPv6:2001:4f8:3:bb::5])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "farside.isc.org", Issuer "ISC CA" (verified OK))
	by webster.isc.org (Postfix) with ESMTP id D84E910E443
	for <bind-users at webster.isc.org>; Sat,  9 Dec 2006 04:53:43 +0000 (UTC)
	(envelope-from spoo at isc.org)
Received: by farside.isc.org (Postfix, from userid 107)
	id BA084E60B2; Sat,  9 Dec 2006 04:53:43 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on farside.isc.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS 
	autolearn=ham version=3.1.7
X-Original-To: spoo at farside.isc.org
Received: from mx.isc.org (mx.isc.org [IPv6:2001:4f8:0:2::1c])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mx.isc.org", Issuer "ISC CA" (verified OK))
	by farside.isc.org (Postfix) with ESMTP id AAC03E60AB
	for <spoo at farside.isc.org>; Sat,  9 Dec 2006 04:53:39 +0000 (UTC)
	(envelope-from greg.chavez at gmail.com)
X-Greylist: delayed 406 seconds by postgrey-1.24 at post.isc.org; Sat, 09 Dec 2006 04:53:39 UTC
Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191])
	by mx.isc.org (Postfix) with ESMTP id 18C7E11404F
	for <bind-users at isc.org>; Sat,  9 Dec 2006 04:53:38 +0000 (UTC)
	(envelope-from greg.chavez at gmail.com)
Received: by nf-out-0910.google.com with SMTP id c2so1267276nfe
        for <bind-users at isc.org>; Fri, 08 Dec 2006 20:53:37 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=c/ZdT1/dLJLdexnhLpa8XkoHmWZj1p1A3U4qF0LU9vXfa+U6vyWtcAyyUatf1TcrsLjJYIbdQBN1TzBdt7GAhD8E3zKQXrKjAMvYAs7Ji2LZSwesOQdrgFHvU7N3Etq4FQ9h5fHCfmXs+X9IegXEEvt3EtECAJBHBtzZJLRymIs=
Received: by 10.48.202.14 with SMTP id z14mr1251461nff.1165639612292;
        Fri, 08 Dec 2006 20:46:52 -0800 (PST)
Received: by 10.49.3.20 with HTTP; Fri, 8 Dec 2006 20:46:52 -0800 (PST)
Message-ID: <ea5125c10612082046n6a77912fw520add00afaeed36 at mail.gmail.com>
Date: Fri, 8 Dec 2006 23:46:52 -0500
From: "Greg Chavez" <greg.chavez at gmail.com>
To: bind-users at isc.org
Subject: Re: Bind's logs
In-Reply-To: <ea5125c10612082044q2a143de6r4f58fd236fab13c0 at mail.gmail.com>
MIME-Version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
References: <001301c71b45$39603c10$4a12a8c0 at corp56sysadmi>
	 <ea5125c10612082044q2a143de6r4f58fd236fab13c0 at mail.gmail.com>
Sender: bind-users-bounce at isc.org
Errors-to: bind-users-bounce at isc.org
Precedence: bulk
List-unsubscribe: <mailto:bind-users-request at isc.org?Subject=unsubscribe>
List-Id: <bind-users.isc.org>
X-List-ID: <bind-users.isc.org>

On 12/8/06, dev_null <dev_null at pubbox.net> wrote:
> Hello lists,
> I just saw few things about bind's start info in /var/log/messages.If I want to see the full log of query from clients,how to do it?Thanks.

Run "rndc querylog".

It is quite chatty.  Just run it again to turn it off.

Running "rndc status" will tell you whether query logging is on or
off.  I am assuming that you are not running a very old BIND.

--
--Greg Chavez
--



More information about the bind-users mailing list