Hello Can syslog-ng resolve IP addresses using the /etc/hosts file? We do not have an internal dns at the moment. Currently , the filenames that are created are the IP addresses of the routers that are pushing their syslog onto the syslog server.
Regards Madhvi
On Fri, Jun 27, 2003 at 12:32:45PM +0400, Madhvi Gokool wrote:
Hello Can syslog-ng resolve IP addresses using the /etc/hosts file? We do not have an internal dns at the moment. Currently , the filenames that are created are the IP addresses of the routers that are pushing their syslog onto the syslog server.
syslog-ng uses gethostbyaddr() to resolve names when use_dns() is enabled. if your nsswitch.conf does not refer to the dns, then only /etc/hosts will be used: hosts: files dns (remove the dns tag here, and your resolver will not use DNS) -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
For those interested in where the standard is going: http://www.ietf.org/internet-drafts/draft-ietf-syslog-international-00.txt If you are interested in features and option, now is the time to speak up. Richard
participants (3)
-
Balazs Scheidler
-
Madhvi Gokool
-
Richard E. Perlotto II