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 regex lookup



You used to be able to use nslookup:

# nslookup
Server a.b.c.d

 ls -d domain.com > outfile.txt
 ####### (x records received)

 exit

# more outfile.txt

But the current versions of nslookup that I've tried
in RedHat and Mandrake say that nslookup is deprecated
and to use host or dig.  The help/man page for dig
looks like you might be able to get the same info, but
it might take some , um, digging. (sorry...)

Gordon



--- Robert La Ferla <robertlaferla at attbi.com> wrote:
> Linux gurus,
> 
> I am looking for a program that can lookup all host
> names matching a 
> certain pattern:
> 
> e.g.
> 
> *.mydomain.com or *.my*.com
> 
> I don't think I can use 'dig' or 'nslookup' to do
> this.  For the most 
> part, I just need the host name.  I may need
> additional records but that 
> isn't critical.
> 
> Thanks,
> Robert
> 
> 
> 
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com




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