1 Oct 2005 07:03
Re: syslog-ng 1.6.8 and dns cache issue
<Valdis.Kletnieks <at> vt.edu>
2005-10-01 05:03:02 GMT
2005-10-01 05:03:02 GMT
On Fri, 30 Sep 2005 15:33:27 EDT, Ketan Vankawala said: > I have currently installed Syslog-ng ver 1.6.8. Here is a snippet of my > syslog-ng config file.So accordingly when a syslog message comes in, > depending on the ip address, it does a lookup in /etc/hosts, creates an > appropriate host name folder and forwards the message there. If the > hostname does not exists, it creates a folder named with the ip address. Updating /etc/hosts *should* provide fast response. I'm wondering if your /etc/nsswitch.conf specifies 'hosts: NIS files dns', and the NIS query functions are being too clever about caching..
_______________________________________________ syslog-ng maillist - syslog-ng <at> lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>
> Remove the backslashes before the hyphens - you'd only need to do that
> inside a character class, e.g. [a-z\-] to match any of a through z and
> hyphen. Outside a character class it means itself (or if it's the
> first character in a character class and not escaped, like this [-a-z]).
Didn't help I'm afraid. I've got
host ("-
RSS Feed