<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: logging cisco ios messages to external freebsd syslog</title>
	<atom:link href="http://bsd.dischaos.com/2009/02/25/logging-cisco-ios-messages-to-external-freebsd-syslog/feed/" rel="self" type="application/rss+xml" />
	<link>http://bsd.dischaos.com/2009/02/25/logging-cisco-ios-messages-to-external-freebsd-syslog/</link>
	<description>just some random notes on BSDs, linux and web development</description>
	<lastBuildDate>Tue, 10 Mar 2009 10:36:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: admin</title>
		<link>http://bsd.dischaos.com/2009/02/25/logging-cisco-ios-messages-to-external-freebsd-syslog/comment-page-1/#comment-541</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 07 Mar 2009 21:07:59 +0000</pubDate>
		<guid isPermaLink="false">http://bsd.dischaos.com/?p=86#comment-541</guid>
		<description>Thanks for your comment.

I have to admit that I skipped that option when I was looking at syslog&#039;s configuration and didn&#039;t even think DNS can affect syslog&#039;s decisions on whether to log a message or not.

thanks again!</description>
		<content:encoded><![CDATA[<p>Thanks for your comment.</p>
<p>I have to admit that I skipped that option when I was looking at syslog&#8217;s configuration and didn&#8217;t even think DNS can affect syslog&#8217;s decisions on whether to log a message or not.</p>
<p>thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: martin42</title>
		<link>http://bsd.dischaos.com/2009/02/25/logging-cisco-ios-messages-to-external-freebsd-syslog/comment-page-1/#comment-538</link>
		<dc:creator>martin42</dc:creator>
		<pubDate>Fri, 06 Mar 2009 17:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://bsd.dischaos.com/?p=86#comment-538</guid>
		<description>Thanks for those notes.

There&#039;s an issue that can stop syslog messages appearing: reverse DNS lookups.  

Example 1: You specify &quot;+10.0.0.1&quot;.  RDNS resolves to &quot;cisco.example.org&quot;.  Messages from 10.0.0.1 are not logged.  

Example 2: You specify &quot;+cisco.example.org&quot;, which resolves to 10.0.0.1. But the RDNS for 10.0.0.1 is &quot;gw.example.org&quot;.  Messages from 10.0.0.1 are not logged.  

I guess it&#039;s hard for syslog to get it right.  If it resolved all the hostnames in its config at boot time, they would get stale.  If it resolved them all each time a message came in, that could get expensive.

If you add the syslogd option: &quot;-n : Disable dns query for every request.&quot; then you can safely use IP addresses in /etc/syslog.conf regardless of any reverse DNS entries that might exist.

Regards,

- Martin</description>
		<content:encoded><![CDATA[<p>Thanks for those notes.</p>
<p>There&#8217;s an issue that can stop syslog messages appearing: reverse DNS lookups.  </p>
<p>Example 1: You specify &#8220;+10.0.0.1&#8243;.  RDNS resolves to &#8220;cisco.example.org&#8221;.  Messages from 10.0.0.1 are not logged.  </p>
<p>Example 2: You specify &#8220;+cisco.example.org&#8221;, which resolves to 10.0.0.1. But the RDNS for 10.0.0.1 is &#8220;gw.example.org&#8221;.  Messages from 10.0.0.1 are not logged.  </p>
<p>I guess it&#8217;s hard for syslog to get it right.  If it resolved all the hostnames in its config at boot time, they would get stale.  If it resolved them all each time a message came in, that could get expensive.</p>
<p>If you add the syslogd option: &#8220;-n : Disable dns query for every request.&#8221; then you can safely use IP addresses in /etc/syslog.conf regardless of any reverse DNS entries that might exist.</p>
<p>Regards,</p>
<p>- Martin</p>
]]></content:encoded>
	</item>
</channel>
</rss>
