14 Jun
2002
14 Jun
'02
5:54 p.m.
On Fri, Jun 14, 2002 at 10:38:27AM -0400, Russo, Ben wrote:
For network nodes using OLD syslog daeomons that send using UDP (solaris, HP-UX, Linux etc...) The $HOST value is the FQDN as defined in in DNS reverse lookup.
However if I have syslog-ng on a remote box and it uses a TCP connection to my central syslog receiver then the hostname is missing the domain?
Since you're using macros, use the $HOST_FROM macro newly introduced. It uses gethostbyaddr() so you should get the FQDN you want no matter what's in your options{} settings. I'm not sure why you're seeing this behavior though. -- Got a light? Typical unix response: Got: No match.