From owner-freebsd-bugs Thu Mar 9 12:50: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1D7D737B782 for ; Thu, 9 Mar 2000 12:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA55129; Thu, 9 Mar 2000 12:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from prism.flugsvamp.com (cb58709-a.mdsn1.wi.home.com [24.17.241.9]) by hub.freebsd.org (Postfix) with ESMTP id D5C2537B81F for ; Thu, 9 Mar 2000 12:46:31 -0800 (PST) (envelope-from jlemon@flugsvamp.com) Received: (from jlemon@localhost) by prism.flugsvamp.com (8.9.3/8.9.3) id OAA14205; Thu, 9 Mar 2000 14:49:45 -0600 (CST) (envelope-from jlemon) Message-Id: <200003092049.OAA14205@prism.flugsvamp.com> Date: Thu, 9 Mar 2000 14:49:45 -0600 (CST) From: Jonathan Lemon Reply-To: jlemon@flugsvamp.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/17290: getaddrinfo() does not seem to honor NIS Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17290 >Category: kern >Synopsis: getaddrinfo() does not seem to honor NIS >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 9 12:50:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Jonathan Lemon >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: 4.0-current, circa March 9th, ~ 10:30 PST >Description: telnet/ftp, which use the new getaddrinfo() call, do not appear to honor host entries listed in NIS, perferring the DNS entry, even if "nis" precedes "bind" in /etc/host.conf. >How-To-Repeat: Create /etc/host.conf: hosts nis bind Create and bind to a yp domain which contains a host entry different from DNS: ypcat hosts | grep prism 24.17.241.9 prism observe ping(1) works properly: ping prism PING prism (24.17.241.9): 56 data bytes observe telnet return the wrong host: telnet prism Trying 171.69.180.7... >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message