multi-protocol support of queryperf

Brian Wellington Brian.Wellington at nominum.com
Mon Jul 8 22:03:48 UTC 2002


On Thu, 4 Jul 2002, JINMEI Tatuya / [ISO-2022-JP] $B?@L at C#:H(B wrote:

> The attached patch will add an ability to support multiple protocols
> (particularly IPv6) to bind9/contrib/queryperf.  The patch is for
> bind-9.3.0s20020618.
> 
> I believe the patch does not affect the current behavior in a single
> protocol environment.  If the patch is reasonable, please merge it to
> the bind9 kit.

This will break on platforms that don't have getaddrinfo().  The right 
solution might be to use bind9_getaddresses() from libbind9, or to modify 
configure to check for getaddrinfo() and use gethostbyname() otherwise.

Brian




More information about the bind-workers mailing list