"(code) Resolve list of DNS names" thread might be worth a looksee, Baz. Is how I automate bulk forward lookups, and includes links to a few CPAN modules of possible interest for reverse-lookupping.
cheers,
Don
striving toward Perl Adept (it's pronounced "why-bick")