logging "successes"
Andy Shellam
andy.shellam-lists at mailnetwork.co.uk
Mon May 14 17:57:21 UTC 2007
Hi Lisa,
Bind does allow for logging of successful transfers and other
operations, e.g.:
27-Apr-2007 09:20:41.861 zone andyshellam.eu/IN: loaded serial 2007041451
01-May-2007 20:33:32.815 zone nagioslookingglass.co.uk/IN: Transfer started.
01-May-2007 20:33:32.904 zone nagioslookingglass.co.uk/IN: transferred
serial 2007041117
08-May-2007 08:53:09.131 transfer of 'andyshellam.eu/IN' from
89.200.137.203#53: connected using 82.165.38.62#43255
08-May-2007 08:53:09.213 transfer of 'andyshellam.eu/IN' from
89.200.137.203#53: end of transfer
Look up the logging {} section in the administrator manual.
Once you've changed the main Bind configuration file, it's always a good
idea to test it using "named-checkconf /path/to/named.conf".
This will output any errors without affecting the running server,
however I do agree it'd be useful to have a "config file OK"
confirmation, like "named-checkzone" does.
Andy.
Lisa Casey wrote:
> Hi,
>
> I'm running Bind 9.3.0 on FreeBSD. I've noticed that when there is a failure
> of some sort, it gets logged in /var/log/messages, such as these two:
>
> May 14 07:57:17 netlink named[294]: client 209.149.56.11#46613: zone
> transfer '185.191.207.in-addr.arpa/IXFR/IN' denied
>
>
> May 14 10:32:17 netlink named[294]: reloading configuration failed: failure
> May 14 10:32:34 netlink named[294]: /etc/namedb/named.conf:129: missing ';'
> before '}'
>
> But when I fixed this, and these two events now suceed, nothing is logged. I
> can tell when a rndc reload succeeds because I don't get an error message
> when I issue the command, but it would still be nice to have a confirmation
> of that logged. Same with the zone transfer - the error message in the logs
> isn't happening anymore, so I assume my zone transfers are now taking place,
> but it would be nice to have a log confirmation of that.
>
> Can I have Bind log these successes or is that just not the way it happens?
>
> Thanks,
>
> Lisa Casey
>
>
>
>
>
>
> !DSPAM:37,46489693343941969510474!
>
>
>
More information about the bind-users
mailing list