I am getting the messages on my syslog-ng server but the hostname is not there .......The messages are there on the IP address based .....Is there a way to replace IP with the hostname.......... Thanks in advance. Atif
On Tue, 01 Nov 2005 23:34:47 +0500, Atif Munir said:
I am getting the messages on my syslog-ng server but the hostname is not there .......The messages are there on the IP address based .....Is there a way to replace IP with the hostname..........
Most likely, you need 'reverse PTR' entries in the DNS.. So for instance, my laptop has an entry: turing-police.cc.vt.edu. 14400 IN A 128.173.14.107 There's also another entry: 107.14.173.128.in-addr.arpa. 14400 IN PTR turing-police.cc.vt.edu. You're probably missing the PTR zone.
You can also add the name to IP mappings to host file. Edit the /etc/hosts file and add the hostnames and the ip address. -----Original Message----- From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Atif Munir Sent: Tuesday, November 01, 2005 1:35 PM To: syslog-ng@lists.balabit.hu Subject: [syslog-ng] hostname I am getting the messages on my syslog-ng server but the hostname is not there .......The messages are there on the IP address based .....Is there a way to replace IP with the hostname.......... Thanks in advance. Atif _______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
participants (3)
-
Atif Munir
-
List.mail
-
Valdis.Kletnieks@vt.edu