Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DNS mapping tool?



On Tue, 8 Jan 2002, Chuck Young wrote:

> Hi,
> 
> Does anyone know of a tool that can be used to perform repeated reverse
> lookups on a network and then build a list of returned A records lined up
> with the IP's?
> 
> I'm sure one is out there, but my searches have turned up nothing so far.

dig -x 209.73.162.71 | 
  perl -ne 'if(/(\S*)\s+\S+\s+IN A\s+([0-9.]+)/) {print("[$1\t$2]\n");}' 
[NS1.ALTAVISTA.com.     209.73.164.76]
[NS2.ALTAVISTA.com.     209.73.164.7]
[NS3.ALTAVISTA.com.     209.73.176.204]


You might want to use sed instead of perl; I was just trying to bang out a 
quick example.

-------------------------------------------------------------------
DDDD   David Kramer                           http://thekramers.net
DK KD  
DKK D  "Before you criticize someone, you should walk a mile in
DK KD  their shoes.  That way, when you criticize them, you're a
DDDD   mile away and you have their shoes."                      ??





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org