Freebsd – Remote Logging with syslog

freebsdremote-accesssyslogsyslogd

I have two machines running FreeBSD, bsdclient and bsdserver. I am trying to setup remote logging such that bsdclient sends all the logs to bsdserver. My syslog.conf on bsdclient goes like this

*.*        @bsdserver.domain.com

On bsdserver, the syslog.conf is configured as:

+bsdclient.domain.com
*.*        /var/log/bsdclient.log

syslogd in bsdserver was started in rc.conf as:

syslogd_enable="YES"
syslogd_flags="-a bsdclient.domain.com"

To test, on bsdclient i did

logger -p auth.info "user authenticated"

I can see entry in the /var/log/auth.log on bsdclient, however there is nothing in the /var/log/bsdclient.log on bsdserver. I am trying to send all type of logs to bsdserver. Did i make any mistake?? Thanks in advance

Best Answer

is bsdclient.domain.com and bsdserver.domain.com global DNS aware ? If not have you tried putting in an IP instead of DNS names.

Please following this excellent handbook section from freebsd handbook