queries loggin does not work anymore!

Barry Margolin barmar at genuity.net
Thu Jun 29 17:36:00 UTC 2000


In article <8jfro4$ffhm$1 at ID-23826.news.cis.dfn.de>,
Ralf Siedow <replynews at bigfoot.com> wrote:
>
>Hello,
>
>I did query-logging with the following entry in named.conf:
>logging {
>        channel queries {
>                file "/var/log/named.queries"
>                versions 3
>                size 300k;
>                severity info;
>                print-time yes;
>        };
>        category queries { queries; };
>};
>
>But since I updated bind to a newer version logging stopped!

You have to use the "ndc querylog" command to start logging queries.  The
statements in the named.conf just say where the log messages go when you do
this, they don't turn on the logging.

-- 
Barry Margolin, barmar at genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.



More information about the bind-users mailing list