<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Hostname resolution of chained hosts</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I am trying to log messages from many servers of the network, each to their own file. The messages are coming in via a program called Lasso, which polls windows servers and sends the messages to syslog-ng via TCP. Lasso turns out to look like a "relay" in syslog-ng parlance. Each message comes from it's source, through the lasso server, and arrives at the syslog-ng server. I have the</FONT> <FONT SIZE=2 FACE="ArialMT">chain_hostnames(yes) set.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Syslog-ng is able to resolve the hostname of the relay server, and shows the hostname instead of the IP address. Good. But the source servers are only being displayed by their IP address in the ${HOST} macro. I am using the ${HOST} macro to create the destination filename. It is not being resolved into a hostname. </FONT></P>
<P><FONT SIZE=2 FACE="Arial">Does anyone out there use any type of relaying, and do you see that each hop in the relay chain is being resolved from IP Address -> Hostname ??</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Thanks,</FONT>
<BR><FONT SIZE=2 FACE="Arial">Sam Darwin</FONT>
<BR><FONT SIZE=2 FACE="Arial">Thirteen WNET</FONT>
</P>
<BR>
</BODY>
</HTML>