batch reverse dns lookup

Richard Peiper rpeiper at waca.com
Mon Jun 14 19:41:20 UTC 2004


	Actually that is a really good idea except how do you distinguish a
valid A record entry from a stale A record entry?

	Richard


-----Original Message-----
From: Masood Ahmad Shah [mailto:masood at nexlinx.net.pk] 
Sent: Monday, June 14, 2004 2:22 PM
To: Richard Peiper; 'Andy Peters'; comp-protocols-dns-bind at isc.org
Subject: Re: batch reverse dns lookup

I will suggest better to write script in perl or shell ........that will
check valid dns record instead ping. Coz many service provider has been
blocked icmp :)


Best Regds,
Masood Ahmad Shah
Nexlinx
http://nexlinx.net.pk
----- Original Message ----- 
From: "Richard Peiper" <rpeiper at waca.com>
To: "'Andy Peters'" <abuse at 127.0.0.1>; <comp-protocols-dns-bind at isc.org>
Sent: Monday, June 14, 2004 10:42 PM
Subject: RE: batch reverse dns lookup


>
> I am sure someone can do this off the top of their head. I can do
> one for you in Perl5 if you have access to that in probably 15 mins. In
the
> middle of a cleanup of some issues right now so I wouldn't have it done
> until the end of the week. Let me know if you still need it and I can
write
> a quick loop thru the file, ping each one and generate 2 lists.
>
> Richard
>
>
> -----Original Message-----
> From: Andy Peters [mailto:abuse at 127.0.0.1]
> Sent: Saturday, June 12, 2004 12:37 PM
> To: comp-protocols-dns-bind at isc.org
> Subject: batch reverse dns lookup
>
>
> Hi i don't know if this is quite the group to ask this in (you are the dns
> guru's ?) so feel free to offer alternative group suggestions
>
> here's the problem, i have a list of domains (26,000+) in plain text
format
> (its a hosts file to be exact) and i would like to seperate the domains
that
> resolve to an ip from the ones that don't (to clean up the list and remove
> invalid and dead entries)
> any idea how i might achieve it ? i would of thought a quick bash or batch
> script could do this but not having any experience in shell scripts i dont
> know how i could do this
> any help or pointers would be appreciated (i have access to
> suse/knoppix/win*/)
>
> cheers folks
>
> Andy P
>
>
>
>



More information about the bind-users mailing list