dig/nslookup

Barry Margolin barmar at alum.mit.edu
Wed Jun 30 15:49:53 UTC 2004


In article <cbubr0$blg$1 at sf1.isc.org>,
 "Eric Rousse" <ericrousse at jetemail.net> wrote:

> Hello,
> 
> Not really related to bind, specifically. But maybe someone
> could let me know where I could find the answer.
> 
> I have like 3000 IP that I would need to do reverse lookups
> on them, I'll do the request using our nameservers, but is there
> a sleep I should do between each lookups ?

Unless your nameserver is overloaded, it should be able to handle 
rapid-fire queries.

> And does anyone have a script that could help me to do all these lookups
> in one shot and so that I have all the dnsname associated with the IP
> in ascending order by using the IP, guess I'll have to do the script by my
> self,

Rather than parse the output of dig or nslookup, it might be easier to 
do it as a Perl script.  There's a Net::DNS module that should make it 
pretty easy.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


More information about the bind-users mailing list