Two copies of resolver routines in libc ?

Hajimu UMEMOTO ume at freebsd.org
Sat Nov 8 08:38:05 PST 2008


Hi,

>>>>> On Sun, 09 Nov 2008 01:29:15 +0900
>>>>> Hajimu UMEMOTO <ume at 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 at mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


More information about the freebsd-net mailing list