[syslog-ng]Can I add "chain_hostnames(no)" to source?

Balazs Scheidler syslog-ng@lists.balabit.hu
Fri, 16 May 2003 09:55:42 +0200


On Fri, May 16, 2003 at 12:16:31PM +1200, Jason Haar wrote:
> 
> Well, under 1.6.0rc3 I know I can't :-)
> 
> I'm trying to do:
> 
> source s_local { internal();
>  tcp(ip("1.2.3.4") chain_hostnames(yes));
>  udp( chain_hostnames(no));
> }
> 
> ...so that UDP-based client get records with their DNS PTR hostnames,
> whereas TCP-based clients (which are other "collector" servers) are
> allowed to present the hostname as part of the record.
> 
> Is this possible? I'm hoping I just have the format wrong.

no it is not possible, chain_hostnames() is currently a global option. 

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1