From owner-cvs-all Mon Aug 10 12:43:41 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA22208 for cvs-all-outgoing; Mon, 10 Aug 1998 12:43:41 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA22199; Mon, 10 Aug 1998 12:43:36 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) From: Bill Paul Received: (from wpaul@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id MAA14835; Mon, 10 Aug 1998 12:43:34 -0700 (PDT) Date: Mon, 10 Aug 1998 12:43:34 -0700 (PDT) Message-Id: <199808101943.MAA14835@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ypserv yp_dnslookup.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 1998/08/10 12:43:33 PDT Modified files: usr.sbin/ypserv yp_dnslookup.c Log: DNS lookups for partially qualified hosts didn't work right. I was trying to be clever by avoiding the 'check all domains in the search list' cycle in certain cases, but this would lose if handed a name like "foo.ctr" which refers to an FQDN of "foo.ctr.columbia.edu". If "columbia.edu" is in the search list in /etc/resolv.conf then the DNS lookup code should resolve it, but it didn't. Revision Changes Path 1.15 +2 -5 src/usr.sbin/ypserv/yp_dnslookup.c