<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="Osso Notes">
<title></title></head>
<body>
<p>----- Original message -----
<br>> Hi list,
<br>>
<br>> With keep_hostname(yes), when the syslog-ng box receives a message which
<br>> does not have a host field, you end up with the last hop IP as the
<br>> hostname. Is there already a way to tell sysng to use_dns() when this
<br>> situation is encountered?
<br>
<br>it is exactly the use-dns option that controls this.
<br>
<br>>
<br>> I'd like to continue using keep_hostname(yes) for all log messages which
<br>> do have a hostname included, but in the instance that hostname is not
<br>> included, have syslog-ng do a reverse dns lookup in order to resolve
<br>> hostname.
<br>>
<br>
<br>this is the behaviour for use-dns(yes)</p>
</body>
</html>