Results 1 to 4 of 4

Thread: bind9 not logging

  1. #1
    Join Date
    Dec 2010
    Beans
    3

    bind9 not logging

    Hi there,
    I'am running Ubuntu server 10.10.
    Bind instalation is the default one (apt-get install bind9).
    It doesn't log the a file only to syslog.
    I need some help, I can't figure the problem.

    In named.conf.options

    Code:
    ogging { 
            channel my_log { 
                    file "/var/log/bind.log" versions 10 size 5M; 
                    severity info;
                    print-time yes;
                    print-category yes;
                    print-severity yes; 
            }; 
    
    category queries { my_log; };  
            category default { my_log; };  
    };
    The file /var/log/bind.log exists and belongs to bind.

    rndc status

    Code:
    version: 9.7.1-P2
    CPUs found: 2
    worker threads: 2
    number of zones: 33
    debug level: 0
    xfers running: 0
    xfers deferred: 0
    soa queries in progress: 0
    query logging is ON
    recursive clients: 0/0/1000
    tcp clients: 0/100
    server is up and running
    ls -l /var/log/bind.log

    Code:
     -rw-r----- 1 bind bind 1 2010-12-21 15:31 /var/log/bind.log
    ps -ef | grep named
    Code:
    bind      2723     1  0 15:58 ?        00:00:00 /usr/sbin/named -u bind
    root      3502  3454  0 17:50 pts/0    00:00:00 grep --color=auto named

  2. #2
    Join Date
    Dec 2010
    Beans
    3

    Solved - Re: bind9 not logging


  3. #3
    Join Date
    Oct 2007
    Location
    Madison, Wisconsin
    Beans
    90
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Solved - Re: bind9 not logging

    Quote Originally Posted by ddaas View Post
    dead link

  4. #4
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,639
    Distro
    Ubuntu

    Re: Solved - Re: bind9 not logging

    Quote Originally Posted by spezticle View Post
    dead link
    Not surprising considering the age of the thread.

    Closed.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •