[Sussex] Ruby DNS resolver

Ronan Chilvers ronan at thelittledot.com
Wed Sep 6 11:24:59 UTC 2006


Hi folks

Been kicking around with ruby and DNS resolving, as you do!! Finding the
DNS resolution is VERY slow. Putting together a little class to check IPs 
in DNSBL lists. Looking up 1 ip in 4 DNSBLs takes over a minute which is 
way too slow. The eventual idea is putting together a little policy
script for postfix which scores a set of mail attributes based on
various stuff including DNSBL results.

Anyone any thoughts on speeding this up? I've tried both resolv and
resolv-replace libraries and there's no discernable difference in speed.

Cheers
-- 
Ronan
e: ronan at thelittledot.com
t: 01903 739 997

This email has been digitally signed using GNUPG to verify the identity
of the sender. Please see http://www.gnupg.org/ for further information.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://mailman.lug.org.uk/pipermail/sussex/attachments/20060906/457e5363/attachment.pgp 


More information about the Sussex mailing list