Enable quesry log in 4.9
Barry Margolin
barmar at alum.mit.edu
Fri Apr 16 00:51:56 UTC 2004
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
that sends the appropriate signals).
>
> I successfully use logger -p daemon.info to send text stream to syslog,
> that means the info_log facility is working. Then I ran couple queries,
> I do not see any DNS query being logged. =20
> Then I modify named.boot with options query-log, but still does not
> work
Did you do "ndc reload" and "ndc querylog" again after updating
named.boot?
--
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