DNS regex lookup

Derek Atkins warlord at MIT.EDU
Fri Aug 16 08:49:56 EDT 2002


You cannot use regex in DNS lookups.

You can try an AXFR to grab the whole zone in question and then
grep that, but that requires the zone to allow zone transfers.

Other than that, you can try google?

-derek

Robert La Ferla <robertlaferla at attbi.com> writes:

> 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

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the Discuss mailing list