RE: [syslog-ng]fully qualified hostname help
Ugh...no. Can't it use DNS to resolve? I had use_dns(yes) set but it didn't work either. The number of hosts I'd have to add to /etc/hosts would be significant as we are relaying from *a bunch* of boxes to a central collection point. Kevin. -----Original Message----- From: Allen Bettilyon [mailto:allen@about-inc.com] Sent: Thursday, October 18, 2001 3:20 PM To: syslog-ng@lists.balabit.hu Subject: Re: [syslog-ng]fully qualified hostname help Do you have the hosts listed in /etc/hosts? -- Allen "Dawson, Kevin" wrote:
I'm sure this has been asked a thousand times before (although I couldn't find it in the archives), but here it goes. My options line reads:
options { sync(0); time_reopen(10); log_fifo_size(100); long_hostnames(yes); chain_hostnames(yes); };
I'm running version 1.4.12 on Solaris and the problem is my messages are still listing the short hostname. Any thoughts on this?
Best Regards, Kevin.
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng
Yes, it can use dns. I was just asking if you ALSO had the hosts listed in your /etc/hosts file. If you did, than it would ask that first. I actually relay about 80 boxes to my loghost, and I prefer having them all listed in /etc/hosts. This way, if dns falls down, my logs still retain hostnames. I think the option your looking for is: use_fqdn (yes); -- Allen "Dawson, Kevin" wrote:
Ugh...no. Can't it use DNS to resolve? I had use_dns(yes) set but itss didn't work either. The number of hosts I'd have to add to /etc/hosts would be significant as we are relaying from *a bunch* of boxes to a central collection point.
Kevin.
-----Original Message----- From: Allen Bettilyon [mailto:allen@about-inc.com] Sent: Thursday, October 18, 2001 3:20 PM To: syslog-ng@lists.balabit.hu Subject: Re: [syslog-ng]fully qualified hostname help
Do you have the hosts listed in /etc/hosts?
-- Allen
"Dawson, Kevin" wrote:
I'm sure this has been asked a thousand times before (although I couldn't find it in the archives), but here it goes. My options line reads:
options { sync(0); time_reopen(10); log_fifo_size(100); long_hostnames(yes); chain_hostnames(yes); };
I'm running version 1.4.12 on Solaris and the problem is my messages are still listing the short hostname. Any thoughts on this?
Best Regards, Kevin.
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng
participants (2)
-
Allen Bettilyon
-
Dawson, Kevin