Re: IPv6 vs. resolver

2011-05-01 Thread ming....@gmail.com
amc: maybe the ink_res_sockaddr_union is my fault :D just to get things fix, but no other long term planning. please refer to TS-313. I think the codes is hard to adapt for IPV6, I may agree with John that we need to do something more to get it done, feel free to change. dns is my lovely place,

Re: IPv6 vs. resolver

2011-04-29 Thread John Plevyak
This code is an import from Bind-9.5.2-P2 merged with the old code from Inktomi days which was built to interface with an older version of the Bind code. Even back then it never had a real "owner", so I am sure that what you see as problems are problems and whatever fixes you come up with are most

IPv6 vs. resolver

2011-04-28 Thread Alan M. Carroll
I'm working on ink_resolver.h and ink_res_init.cc with regard to use sockaddr_storage and have come across what I find rather odd bits of code. 1) What is the sort_list about? It is loaded during initialization but apparently never referenced again, and the #define that enables it isn't set by