Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

logging to syslog on another host?

971 views
Skip to first unread message

Sten Carlsen

unread,
May 30, 2012, 6:16:27 AM5/30/12
to BIND Users Mailing List
Hi

I was considering to use the syslog on a different host for logging from bind. The purpose was to collect logs from various places into one repository.

This is not a busy installation so performance is not expected to be a problem.

I looked in the arm but could not see where I could put the IP/hostname of the host to receive the syslog.

Question:
Can bind send its logging output to an external syslog?
If it can, what is needed in terms of version etc.? How to put this into log statement?

Thanks in advance.
-- 
Best regards

Sten Carlsen

No improvements come from shouting:
       "MALE BOVINE MANURE!!!"

Jaco Lesch

unread,
May 30, 2012, 6:50:26 AM5/30/12
to Sten Carlsen, BIND Users Mailing List
Sten

The syslog daemon on the machine where BIND runs on will send the syslog messages to the central syslog server. So you need to configure your syslog.conf file to send the facility that BIND uses, normaly daemon, to the remote syslog server.

The syslog.conf on Solaris looks something like this:
# logging to remote syslog server
daemon.info            @syslog.domain.com
# send to local file on server
daemon.info            /var/log/messages

Hope this helps.

Regards
This body part will be downloaded on demand.

-- 
---
Jaco Lesch
SAIX HLS
Email: ja...@saix.net

Mark Andrews

unread,
May 30, 2012, 6:50:39 AM5/30/12
to Sten Carlsen, BIND Users Mailing List

It's syslogd's job to relay messages to other servers. You
need to configure syslogd to do this for named.

--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org

David Monro

unread,
May 30, 2012, 7:15:18 AM5/30/12
to bind-...@lists.isc.org, st...@s-carlsen.dk
I think the normal way to do this is run a syslog server on the host
running bind, which is configured to just forward all log messages to
the remote syslog server. Otherwise, bind would have to implement the
syslog network protocol(s) itself, rather than just use the system
standard local syslog functions.

Cheers

David


On 30/05/12 19:46, Sten Carlsen wrote:
> Hi
>
> I was considering to use the syslog on a different host for logging
> from bind. The purpose was to collect logs from various places into
> one repository.
>
> This is not a busy installation so performance is not expected to be a
> problem.
>
> I looked in the arm but could not see where I could put the
> IP/hostname of the host to receive the syslog.
>
> Question:
> Can bind send its logging output to an external syslog?
> If it can, what is needed in terms of version etc.? How to put this
> into log statement?
>
> Thanks in advance.
> --
> Best regards
>
> Sten Carlsen
>
> No improvements come from shouting:
> "MALE BOVINE MANURE!!!"
>
>
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>
> bind-users mailing list
> bind-...@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

Matus UHLAR - fantomas

unread,
May 30, 2012, 7:17:41 AM5/30/12
to bind-...@lists.isc.org
On 30.05.12 12:16, Sten Carlsen wrote:
>I was considering to use the syslog on a different host for logging from
>bind. The purpose was to collect logs from various places into one
>repository.
[...]
>Can bind send its logging output to an external syslog?

Not directly. However, that is what syslog daemon is for, simply
configure it to forward logs to another machine.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux is like a teepee: no Windows, no Gates and an apache inside...

Sten Carlsen

unread,
May 30, 2012, 1:04:44 PM5/30/12
to bind-...@lists.isc.org
Hi

Thanks for good answers, I now know what to do and how to proceed.

Thanks.



On 30/05/12 13:17, Matus UHLAR - fantomas wrote:
On 30.05.12 12:16, Sten Carlsen wrote:
I was considering to use the syslog on a different host for logging from
bind. The purpose was to collect logs from various places into one
repository.
[...]
Can bind send its logging output to an external syslog?

Not directly. However, that is what syslog daemon is for, simply configure it to forward logs to another machine.


-- 
Best regards

Sten Carlsen

No improvements come from shouting:

       "MALE BOVINE MANURE!!!" 
0 new messages