SuSE GmbH

SuSE Support Database

Title: NSCD: host name not found

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

NSCD: host name not found

Applies to

SuSE Linux: Version 6.2

Symptom:

Long domain names return a ´host not found´, although the nameserver-entries were configured properly. This happens with all programs calling gethostbyname_r/gethostbyname2_r. Netscape does not show this behaviour, as long as it uses its own program code for the name server services.

Cause:

There is a bug in the library ´libnss_dns.so.2´, specifically a buffer-overflow, when the appropriate routine is called with extremely long strings (ie. computers with long names (and aliases) with many IP addresses). The "nscd" daemon (Name Service Cache Daemon) forces this error, whereby the error described often occurs.

Solution:

A quick fix is to edit the file ´/etc/nscd.conf´ and change the line ´enable-cache hosts´ from ´yes´ to ´no´ and start nscd again (/sbin/init.d/nscd restart). To remove the problem completely, it is necessary to install a fixed ´libnss_dns.so.2´ from our ftp-server.

Procedure:

There are two methods available:
  1. just download and update the whole shlibs package, obtainable from: ftp://ftp.suse.com/pub/suse/i386/update/6.2/a1/shlibs.rpm
  2. download and update only the buggy library ´libnss_dns.so.2´, available at ftp://ftp.suse.com/pub/suse/i386/update/6.2/a1/nss_dns.tar.gz
    and please don´t forget to read the installation comments ftp://ftp.suse.com/pub/suse/i386/update/6.2/a1/INSTALL.nss_dns

----------

Keywords: NSCD, HOST NAME NOT FOUND, BUGS62

----------

Categories: Applications , Network

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-sradmanic_nscd2, Copyright SuSE GmbH, Nuremberg, Germany - Version: 17. Aug 1999
SuSE GmbH - Last generated: 07. Oct 1999 18:05:48 by maddin with sdb_gen 1.00.0