Hi,
I use ubuntu/bind9:9.18-22.04_edge docker image and I can't set it for file logging.
Here is my logging conf :
# cat /etc/bind/named.conf.local [...] logging { channel query { file "/var/log/named/query.log"; severity info; print-time yes; }; category queries { query; }; }; [...]
File /var/log/named/query.log is still empty...
Bind starts with -g option and I think it's the reason of the issue :
# ps ax|grep bind 1 ? Ssl 0:00 /usr/sbin/named -u bind -g
I don't understand from where the -g option is set :
# cat /etc/default/named # # run resolvconf? RESOLVCONF=no
# startup options for the server OPTIONS="-u bind"
Can someone help me ?
Thanks
Hi,
I use ubuntu/ bind9:9. 18-22.04_ edge docker image and I can't set it for file logging.
Here is my logging conf :
# cat /etc/bind/ named.conf. local named/query. log";
[...]
logging {
channel query {
file "/var/log/
severity info;
print-time yes;
};
category queries { query; };
};
[...]
File /var/log/ named/query. log is still empty...
Bind starts with -g option and I think it's the reason of the issue :
# ps ax|grep bind
1 ? Ssl 0:00 /usr/sbin/named -u bind -g
I don't understand from where the -g option is set :
# cat /etc/default/named
#
# run resolvconf?
RESOLVCONF=no
# startup options for the server
OPTIONS="-u bind"
Can someone help me ?
Thanks