#489381 rsyslog: Please provide support for syslog server discovery using RFC 2782

Package:
rsyslog
Source:
rsyslog
Description:
reliable system and kernel logging daemon
Submitter:
Petter Reinholdtsen
Date:
2026-01-12 17:39:02 UTC
Severity:
wishlist
Tags:
#489381#5
Date:
2008-07-05 11:14:59 UTC
From:
To:
One issue with large scale deployment of Linux is the need to
configure each client.  It would be easier if the clients were able to
automatically derive their configuration using network services.  This
is successfully done with MS Active directory, where it uses DNS to
locate the LDAP servers, and then uses the LDAP rootDSE to figure out
the LDAP base.  The DNS feature is using the mechanism described in
RFC 2782 to find servies.

It would be great if rsyslog could locate the local syslog servers
using the same mechanism.  This one-liner show how the SRV record at
_syslog._udp can be used to locate the syslog servers:

  syslog_servers=$(host -N 2 -t srv _syslog._udp | rev | awk '/VRS/ {print $1}' | cut -d. -f2- | rev)

Please implement a way to enable this in rsyslog, preferably using
debconf preseeding to allow it to be set automatically at install
time.

Happy hacking,
--
Petter Reinholdtsen

#489381#10
Date:
2008-07-05 13:53:09 UTC
From:
To:
An alternative might be to support the log-servers DHCP option.  See
#489376 for a discussion about this.  I tried to find out if the DHCP
option is supported by rsyslog, but did not succeed.

This require modifications to the /etc/dhcp3/dhclient.conf file to
make sure the client request the option from the DHCP server.

Happy hacking,

#489381#15
Date:
2008-07-10 17:14:57 UTC
From:
To:
Petter Reinholdtsen wrote:

Looks interesting. I don't have access to such a setup so I can't really
implement and test such functionality.

So, patches are welcome.

Cheers,
Michael

#489381#20
Date:
2025-11-21 17:14:54 UTC
From:
To:
Hi Petter!

This is an old bug report which got stale.

If you still want to see this feature implemented, please raise this
upstream at https://github.com/rsyslog/rsyslog/

I don't think there is a lot of value to keep this feature request open
downsteam, so I'm closing it now.

If you file such an upstream feature request, please let me know. In
this case, we can reopen the Debian bug report to track the progress.

Michael

#489381#25
Date:
2025-11-21 19:17:05 UTC
From:
To:
[Michael Biebl]

Done.