Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Nov 2008 01:37:58 +0900
From:      Hajimu UMEMOTO <ume@freebsd.org>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        net@freebsd.org
Subject:   Re: Two copies of resolver routines in libc ?
Message-ID:  <ygezlkap40p.wl%ume@mahoroba.org>
In-Reply-To: <yge1vxmqizo.wl%ume@mahoroba.org>
References:  <20081106192103.GA46651@onelab2.iet.unipi.it> <yge3ai2r4pz.wl%ume@mahoroba.org> <20081108151023.GA72747@onelab2.iet.unipi.it> <yge1vxmqizo.wl%ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

>>>>> On Sun, 09 Nov 2008 01:29:15 +0900
>>>>> Hajimu UMEMOTO <ume@freebsd.org> said:

ume> It may cause the problem where either example.org or example.com
ume> cannot reply correctly.
ume> With the change, the query order will be:

ume>   1) Call res_nqueryN(hosta, T_A and T_AAAA)
ume> 	Query T_A RR for hosta
ume> 	Query AAAA RR for hosta
ume> 	Query T_A RR for hosta.example.org
ume> 	Query T_AAAA RR for hosta.example.org
ume> 	Query T_A RR for hosta.example.com
ume> 	Query T_AAAA RR for hosta.example.com

Oops, it would be:

  1) Call res_nqueryN(hosta, T_A and T_AAAA)
	Query T_A RR for hosta
	Query AAAA RR for hosta
  2) Call res_nqueryN(hosta.example.org, T_A and T_AAAA)
	Query T_A RR for hosta.example.org
	Query T_AAAA RR for hosta.example.org
  3) Call res_nqueryN(hosta.example.com, T_A and T_AAAA)
	Query T_A RR for hosta.example.com
	Query T_AAAA RR for hosta.example.com

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ygezlkap40p.wl%ume>