Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 1997 16:10:47 -0800 (PST)
From:      robert@superior.net
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   bin/5306: gethostbyname() returns herror "Unknown host" on well known hosts
Message-ID:  <199712160010.QAA00709@hub.freebsd.org>
Resent-Message-ID: <199712160020.QAA01179@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         5306
>Category:       bin
>Synopsis:       gethostbyname() returns herror "Unknown host" on well known hosts
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 15 16:20:02 PST 1997
>Last-Modified:
>Originator:     Robert Blayzor
>Organization:
Telecon Communications Corp.
>Release:        2.2.5-STABLE
>Environment:
FreeBSD nimbus.superior.net 2.2.5-STABLE FreeBSD 2.2.5-STABLE #0: Sat Dec 13 23:25:48 EST 1997     robert@nimbusII.superior.net:/usr/src/sys/compile/NIMBUS  i386
>Description:
When on a well loaded system, gethostbyname() will return "Unknown
Host" on well known hosts. (ie: mit.edu, internic.net, etc.)  On a loaded
FreeBSD machine using many daemons, httpd, etc, programs such as squid,
popper cannot do a successul gethostbyname().  For example, programs 
such as popper 2.4 return:
Dec 15 19:08:17 nimbus popper[13158]: Client at "206.1.102.139" resolves to an unknown host name "pm1-alb-42.mydomain.com"

Even though forward and reverse match and the above will get through tcpd.
>How-To-Repeat:
Not sure if this makes a difference, this kernel has:
options         "CHILD_MAX=256"
options         "OPEN_MAX=256"

Load up a BSD system in which a lot of file discriptors are used. 
Compile and run something easy such as Squid and see that it's DNS
systems fail.  On this system named is running.  This is not that 
difficult to reproduce.
>Fix:
No fix as of 2.2.5-STABLE
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712160010.QAA00709>