[ldns-users] Critical bug in ldns core lookup

Henri Asseily henri at asseily.com
Sat Apr 4 14:39:53 UTC 2009


On Apr 4, 2009, at 1:28 PM, Jelte Jansen wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Henri Asseily wrote:
>>
>> drill -b 4096 vignes.vip.tel naptr in
>>
>> does that work consistently as well? I'm trying to figure out what's
>> going on. Seems like it's a combo of bad DNS servers and/or GPRS  
>> idiocy.
>>
>
> i just took a quick look at the iphone sources, and noticed they are  
> based on
> 1.3.0. This shouldn't be a problem but might help in reproducing the  
> problem.
>
> I tried the queries and they seem to work on my linux machine  
> (although in my
> experiments i also tried the authoritative servers, and one of them  
> (c) was
> refusing queries for a while). Seems to work fine on OS X here too  
> (Tiger, i
> think). I have no iphone though.
>
> Jelte

I've upgraded my source to 1.5.1... somewhat of a pain actually. If  
you don't have SSL (the iPhone doesn't have OpenSSL available), there  
are a number of places that fail because of missing ifdefs.
Anyway, I think I've isolated the problem(s) to local nameservers  
being broken (not supporting EDNS0), the iphone simulator needing a  
full quit and restart to clear its memory between runs, and in GPRS/ 
EDGE the necessity to drop back to TCP because EDNS0 UDP will fail  
even using well-behaved OpenDNS servers.

I'll ping the list back if problems still arise, but thanks very much  
for the quick responses.
BTW, also thanks VERY much for ldns. I love it, it's very fast and  
simple to use.
H.



More information about the ldns-users mailing list