Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 2000 14:49:45 -0600 (CST)
From:      Jonathan Lemon <jlemon@flugsvamp.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/17290: getaddrinfo() does not seem to honor NIS
Message-ID:  <200003092049.OAA14205@prism.flugsvamp.com>

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

>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




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