[Libevent-users] MAX_ADDRS is too low in evdns

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Oct 12 09:41:44 EDT 2007


Now evdns can only parse DNS replies that contains up to 4 addresses. This is 
ruled by MAX_ADDRS macro in evdns.c 
I think this limit is not enough for normal using of evdns, for example:
>host py-out-1314.google.com | wc -l
       8
So I think it would be good to increase this constant up to some reasonable 
value (I've tested evdns with MAX_ADDRS=32).


More information about the Libevent-users mailing list