[syslog-ng]dns caching

Torres Gallardo, Diego dtgallardo@aena.es
Tue, 9 Jul 2002 12:16:12 +0200


i've been using syslog-ng for a while, and now that i've setup dnscache
(from djb) to use syslog instead of his own loggin method (multilog), =
i've
found a funny thing that fulls my log files. (dnscache pc and syslog-ng
hosting pc are different machines, i log through network).

1- when a dnscache-request is made, dnscache issues a message to =
syslog-ng.
2- syslog-ng writes down to the syslog file the new entry, but it does =
a dns
lookup (because the log entry is coming from a machine on the network).
3- loop forever :)

i don't want to use the use_dns(off) option of syslog-ng, because i =
wan't
ips translated. Is there a way that syslog-ng could cache the dns =
querys, so
id doesn't do one dns lookup for each line?
=20


_____________________________________

Diego Torres Gallardo=20
Departamento Radar
Divisi=F3n de Navegaci=F3n y Vigilancia
AENA
dtgallardo@aena.es (+34) 913215472