Operating System - Tru64 Unix
1753851 Members
9282 Online
108808 Solutions
New Discussion юеВ

Where is DNS logs?

 
Jefferson_6
Frequent Advisor

Where is DNS logs?

Hi guys,
where is the default dns logs for bind 8.2.2? Can i declare it on other files on the named.conf ?
3 REPLIES 3
Al Licause
Trusted Contributor

Re: Where is DNS logs?

By default named will log it's activity to daemon.log in /var/adm/syslog.dated/current.
This is assuming you are woking with the named image that comes with the Tru64unix distribution or one from the Internet Express kit.

If you want additional debugging you can issue a kill -30 to the named pid. This will create a file called named.run in /var/tmp. Each issuance of the kill -30 signal increases the debug level. One or two should be sufficient.

Kill -31 disables it. I would only suggest using this for temporary debugging as this can log a lot of data.
Ivan Ferreira
Honored Contributor

Re: Where is DNS logs?

You can configure other log locations using the logging directive.

logging ├в Allows for the use of multiple types of logs, called channels. By using the channel option within the logging statement, a customized type of log, with its own file name (file), size limit (size), versioning (version), and level of importance (severity), can be constructed. Once a customized channel has been defined, a category option is used to categorize the channel and begin logging when named is restarted.

By default, named logs standard messages to the syslog daemon. This occurs because several standard channels are built into BIND with various severity levels, such as one that handles informational logging messages (default_syslog) and another that specifically handles debugging messages (default_debug). A default category, called default, uses the built-in channels to do normal logging without any special configuration.

Customizing the logging process can be a very detailed process and is beyond the scope of this chapter. For information on creating custom BIND logs, see the BIND 9 Administrator Reference Manual in Section 12.7.1.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ivan Ferreira
Honored Contributor

Re: Where is DNS logs?

Here is a sample configuration:

http://www.zytrax.com/books/dns/ch7/logging.html
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?