[syslog-ng]SIGHUP res_init feature request

Balazs Scheidler bazsi@balabit.hu
Wed, 4 Sep 2002 16:52:27 +0200


On Wed, Sep 04, 2002 at 03:35:55PM +0100, Ted_Rule@flextech.co.uk wrote:
> 
> 
> Following on from some experience with DNS misbehaviour on an old syslogd
> instance,
> I was forced to add the ability to force a re-read of resolv.conf upon SIGHUP.
> This allowed me to
> change the DNS server that a given central syslog server interrogated without
> requiring
> a complete restart of the daemon - which would otherwise have potentially lost
> messages.
> 
> Without this tweak, a given process effectively "caches forever" the contents of
> resolv.conf
> during the first call to gethostbyaddr().

I added this change, and commited to CVS.

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