Enable quesry log in 4.9

Situ, Kevin Kevin.Situ at FMR.COM
Fri Apr 16 13:31:24 UTC 2004


Barry,
I do not have ndc with my installation.  However, I did start the dns
with -q option.  I saw the "query log on" in the syslog, assume that it
has turned on the query log.
 Do you know where I can get bind 4.9 ndc.

Thanks

Kevin

-----Original Message-----
From: Barry Margolin [mailto:barmar at alum.mit.edu]=20
Sent: Thursday, April 15, 2004 8:52 PM
To: comp-protocols-dns-bind at isc.org
Subject: Re: Enable quesry log in 4.9


In article <c5mtah$egn$1 at sf1.isc.org>,
 "Situ, Kevin" <Kevin.Situ at FMR.COM> wrote:

> I have 4.9.4-P1 and want to enable query log.  I did the following
> steps:
> 	1. enable info logging in syslog.conf and restart syslogd
> 		daemon.info;mail.crit   /var/adm/messages
> 	2. send kill -WINCH to named

You should use "ndc querylog" (although in BIND 4 ndc is just a script=20
that sends the appropriate signals).

>=20
>  I successfully use logger -p daemon.info to send text stream to=20
> syslog, that means the info_log facility is working.  Then I ran=20
> couple queries, I do not see any DNS query being logged. =3D20 Then I=20
> modify named.boot with options query-log,  but still does not work

Did you do "ndc reload" and "ndc querylog" again after updating=20
named.boot?

--=20
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


More information about the bind-users mailing list