* [gentoo-user] bind: no logging...?
@ 2006-07-06 19:09 Jarry
2006-07-06 19:24 ` kashani
0 siblings, 1 reply; 4+ messages in thread
From: Jarry @ 2006-07-06 19:09 UTC (permalink / raw
To: gentoo-user
Hi,
I'm testing my chrooted bind/nameserver with dig/nslookup,
but I think I screwed up its configuration somehow, because
I'm not getting expected answers.
So I tried to search logs, but to my surprise, it seems to me
that bind does not make any logs. Or at least I can not find
anything, just starting and loading zone-files (/var/log/syslog)
but after that no info about clients requesting dn/ip-resolving...
Does bind write logs about its activities somewhere?
Should it be in /var/log, or /chroot/dns/var/log?
Jarry
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] bind: no logging...?
2006-07-06 19:09 [gentoo-user] bind: no logging...? Jarry
@ 2006-07-06 19:24 ` kashani
2006-07-06 19:43 ` Jarry
0 siblings, 1 reply; 4+ messages in thread
From: kashani @ 2006-07-06 19:24 UTC (permalink / raw
To: gentoo-user
Jarry wrote:
> Hi,
>
> I'm testing my chrooted bind/nameserver with dig/nslookup,
> but I think I screwed up its configuration somehow, because
> I'm not getting expected answers.
>
> So I tried to search logs, but to my surprise, it seems to me
> that bind does not make any logs. Or at least I can not find
> anything, just starting and loading zone-files (/var/log/syslog)
> but after that no info about clients requesting dn/ip-resolving...
>
> Does bind write logs about its activities somewhere?
> Should it be in /var/log, or /chroot/dns/var/log?
Bind is like Apache in that it does its own logging. Here's my config
with all named logs split out into their own files. Just change the
paths to something local in your chroot.
http://gentoo-wiki.com/HOWTO_Setup_a_DNS_Server_with_BIND#Logging_conf
kashani
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] bind: no logging...?
2006-07-06 19:24 ` kashani
@ 2006-07-06 19:43 ` Jarry
2006-07-06 20:15 ` kashani
0 siblings, 1 reply; 4+ messages in thread
From: Jarry @ 2006-07-06 19:43 UTC (permalink / raw
To: gentoo-user
kashani wrote:
>> Does bind write logs about its activities somewhere?
>> Should it be in /var/log, or /chroot/dns/var/log?
>
> Bind is like Apache in that it does its own logging. Here's my config
> with all named logs split out into their own files. Just change the
> paths to something local in your chroot.
> http://gentoo-wiki.com/HOWTO_Setup_a_DNS_Server_with_BIND#Logging_conf
Thanks for pointing me to the right place.
So many log-files? I hope I can reduce it somehow...
But I am surprised that bind does not do logging
"right of the box", like apache...
Jarry
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] bind: no logging...?
2006-07-06 19:43 ` Jarry
@ 2006-07-06 20:15 ` kashani
0 siblings, 0 replies; 4+ messages in thread
From: kashani @ 2006-07-06 20:15 UTC (permalink / raw
To: gentoo-user
Jarry wrote:
> kashani wrote:
>
>>> Does bind write logs about its activities somewhere?
>>> Should it be in /var/log, or /chroot/dns/var/log?
>>
>> Bind is like Apache in that it does its own logging. Here's my config
>> with all named logs split out into their own files. Just change the
>> paths to something local in your chroot.
>> http://gentoo-wiki.com/HOWTO_Setup_a_DNS_Server_with_BIND#Logging_conf
>
> Thanks for pointing me to the right place.
> So many log-files? I hope I can reduce it somehow...
> But I am surprised that bind does not do logging
> "right of the box", like apache...
In an ISP setting having the logs broken out like that made it easier
to troubleshoot things. Also made it easier to estimate the number of
lookups per second or tail the general.log for errors without having to
see all the queries or lame servers.
Bind may log right out of the box, but it would depend on the
configuration in your named.conf. I've been using my confs for a few
years and haven't looked at the Gentoo default lately.
kashani
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-07-06 20:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-06 19:09 [gentoo-user] bind: no logging...? Jarry
2006-07-06 19:24 ` kashani
2006-07-06 19:43 ` Jarry
2006-07-06 20:15 ` kashani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox