netserve
09-14-2001, 11:25 AM
I'm having problems getting messages from named piped to a separate log file.
named.* /var/log/named
Aboev seemed a logical entry in syslogd.conf but after reastartign syslogd all named messages are still going into var/log/messages
Am I missing something here?
It's a standard RedHat7 installation.
Originally posted by john@domaincity
I'm having problems getting messages from named piped to a separate log file.
named.* /var/log/named
Aboev seemed a logical entry in syslogd.conf but after reastartign syslogd all named messages are still going into var/log/messages
Am I missing something here?
It's a standard RedHat7 installation.
Did you use spaces or tabs in the configuration file?
netserve
09-14-2001, 04:48 PM
Can't recall. I'm guessing that it matters then? :-)
netserve
09-14-2001, 04:54 PM
Just tried with Tabs and it's still logging the named errors to messages file.
Sep 14 21:46:37 svr named[3004]: sysquery: findns error (NXDOMAIN) on ns1.nsnoc.com?
For a bonus point what the h*!! do they mean anyway? My guess was that domains are pointing at the name server but the name server hasn't got them in the named.conf file.
RutRow
09-14-2001, 07:57 PM
You have to use one of the pre-defined facilities defined in syslogd.... named.* is not a facility.
From the man 5 syslogd.conf on a RH7.1 box:
The facility is one of the following keywords: auth, authpriv, cron, daemon, kern, lpr, mail, mark, news, security (same as auth), syslog, user, uucp and local0 through local7.
The facility bind uses can be modified to one of the above.