From owner-freebsd-bugs Thu Apr 2 18:50:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA01263 for freebsd-bugs-outgoing; Thu, 2 Apr 1998 18:50:03 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA01255; Thu, 2 Apr 1998 18:50:02 -0800 (PST) (envelope-from gnats) Date: Thu, 2 Apr 1998 18:50:02 -0800 (PST) Message-Id: <199804030250.SAA01255@hub.freebsd.org> To: freebsd-bugs Cc: From: Dan Busarow Subject: Re: bin/6121: gethostbyname(3) no longer returns NO_DATA for MX records Reply-To: Dan Busarow Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/6121; it has been noted by GNATS. From: Dan Busarow To: "Greg A. Woods" Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/6121: gethostbyname(3) no longer returns NO_DATA for MX records Date: Thu, 2 Apr 1998 18:46:37 -0800 (PST) On Wed, 1 Apr 1998, Greg A. Woods wrote: > The resolver library in the BIND-4.9.6 does return NO_DATA as it > should (must, actually), but both FreeBSD's and NetBSD's resolvers are > broken in this respect (and arguably in some other respects too! ;-). OK, so what changed in the libc resolver code between 2.1.5 and now? > If you want a compliant resolver one possible work-around is to > obtain the BIND-4.9.6 distribution and build libresolv.a from it > and statically link your application with it (you'll also have to > be careful to compile against BIND's headers too!). Thanks for the suggestion, that did get me going. But it would really be nice to have libc do the job correctly :) Dan -- Dan Busarow 714 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message