lkml.org 
[lkml]   [2000]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: syslog() blocks on glibc 2.1.3 with kernel 2.2.x
On Mon, Oct 23, 2000 at 04:56:26PM -0400, Patrick J. LoPresti wrote:
....
> You are effectively suggesting that named should be rewritten not to
> use the glibc syslog functions at all. That strikes me as the worst
> suggestion so far; it would be far better for syslogd not to do name
> lookups. But my syslogd has no option to avoid name lookups; I will
> submit a request to add one.


/etc/nsswitch.conf:
hosts: files dns

/etc/hosts:

ip.of.named.host name.of.named.host
ip.of.other.host name.of.other.host


Give explicite IP/name mappings for those which
you don't want to be looked via the resolver.

This is, of course, system-wide, but use it sparingly.

/Matti Aarnio
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.088 / U:22.464 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site