DNS regex lookup

Gordon Keegan gmkeegan at yahoo.com
Sat Aug 17 17:35:59 EDT 2002


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



More information about the Discuss mailing list