From owner-cvs-all Fri Sep 20 13: 9:29 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25D3837B401; Fri, 20 Sep 2002 13:09:28 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC98043E65; Fri, 20 Sep 2002 13:09:27 -0700 (PDT) (envelope-from markm@FreeBSD.org) Received: from freefall.freebsd.org (markm@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8KK9RCo070810; Fri, 20 Sep 2002 13:09:27 -0700 (PDT) (envelope-from markm@freefall.freebsd.org) Received: (from markm@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8KK9RuX070809; Fri, 20 Sep 2002 13:09:27 -0700 (PDT) Message-Id: <200209202009.g8KK9RuX070809@freefall.freebsd.org> From: Mark Murray Date: Fri, 20 Sep 2002 13:09:27 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/ypserv yp_dnslookup.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG markm 2002/09/20 13:09:27 PDT Modified files: usr.sbin/ypserv yp_dnslookup.c Log: The resolver library does a pretty acceptable set of domain suffix attempts before failing. No need to try again by hand, particularly when it fills your log with failures because localhost.example.com..example.com fails to resolve. Also improve the log message that helped find this error. There is still (maybe) an uninitialised pointer problem here, but in a month of testing I haven't triggered it. Revision Changes Path 1.23 +2 -19 src/usr.sbin/ypserv/yp_dnslookup.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message