Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 1998 18:50:02 -0800 (PST)
From:      Dan Busarow <dan@dpcsys.com>
To:        freebsd-bugs
Subject:   Re: bin/6121: gethostbyname(3) no longer returns NO_DATA for MX records
Message-ID:  <199804030250.SAA01255@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/6121; it has been noted by GNATS.

From: Dan Busarow <dan@dpcsys.com>
To: "Greg A. Woods" <woods@zeus.leitch.com>
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



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