Running:
SUSE Linux Enterprise Server 12 SP3
Open Enterprise Server 2018 (x86_64)
How do I permanently enable the named service to log client queries to a file?
I do not want debugging, just client query logging.
Here is what I’ve tried without success:
/etc/named.conf
options {
querylog yes;
}
logging {
# Log queries to a file limited to a size of 100 MB.
channel query_logging {
file “/var/lib/named/log/named_querylog”
versions 3 size 100M;
print-time yes; // timestamp log entries
};
category queries {
query_logging;
};
# Don't log lame server messages.
category lame-servers { null; };
};
rcnovell-named restart
What am I missing?