From owner-freebsd-questions Mon May 31 6: 6:52 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by hub.freebsd.org (Postfix) with ESMTP id C5C5115335 for ; Mon, 31 May 1999 06:06:41 -0700 (PDT) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.0) with SMTP id XAA11600; Mon, 31 May 1999 23:06:22 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 31 May 1999 23:06:21 +1000 (EST) From: Ian Smith Reply-To: Ian Smith To: danny Cc: freebsd-questions@FreeBSD.ORG Subject: Re: named.run In-Reply-To: <04f901beab48$d91ffda0$6f00000a@domain.pentalpha.com.hk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 31 May 1999, danny wrote: > I found a file named.run in /etc/namedb and the file size is very large. It > is the log file of all dns query. Did I set something wrong or I get a > attack? More likely the former, hopefully. kill -usr1 [named's pid] turns on debug logging - though here it's written to /var/tmp/named.run (using the named with 2.2.6R) Kill -usr1 [pid] again increases the debug level. Level 2 is pretty voluminous (though it does compress well :) Kill -usr2 [pid] turns off debugging again. Check for lines like: Debug turned ON, Level 1 Debug turned ON, Level 2 Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message