Using BIND to generate Domain Name Lists?

Mathias Koerber mathias at
Sat Nov 27 16:04:48 UTC 1999

Also note that asking NSI only gives you the info in .COM, .ORG, .NET, .EDU
You would then have to ask each registry for the other TLDs (ccTLDs like
.de, .sg, .au) for the same data..

In short, it looke like an impossible task....

-----Original Message-----
From: Joseph S D Yao <jsdy at>
To: Jeremy D . Cook <jcook at>; Barry Margolin <barmar at>
Cc: comp-protocols-dns-bind at
<comp-protocols-dns-bind at>
Date: Saturday, November 27, 1999 10:58 PM
Subject: Re: Using BIND to generate Domain Name Lists?

|On Sun, Nov 21, 1999 at 07:15:41AM +0000, Barry Margolin wrote:
|> In article <or2b3sg1srl1b9dg2ees4ml1oc4lt97dch at>,
|> Jeremy D. Cook <jcook at> wrote:
|> >My boss wants me to All Domain Names Starting with the word "scan" to
|> >retrieve what names are & aren't registered, as well as who owns the
|> >used records.  I can figure you how to setup the extended whois on the
|> >list of registered names, but I can't figure out how to query a DNS
|> >server for scan* - I am running my own Linux BIND-8 server, so I can
|> >do it locally... Any thoughts?
|> grep 'zone "scan' named.conf
|Of course, this would only give him the zones on his server, and he
|already said that he knew how to do this [probably needs a more generic
|pattern to catch the generic case].
|There is no way for you to query a DNS server for its domains, much less
|query ALL of the DNS servers for their domains.  And doing a 'whois
|scan' will just generate all the records that have any kind of 'scan' in
|any field ... up to the point that the server decides it's given you
|enough ... ISTM that that is around 50 records.
|ISTM also, though, that I remember that if you write NSI with a good
|reason for needing this information, they would 'grep' their WHOIS
|database for you.  It might cost some money.
|Joe Yao jsdy at - Joseph S. D. Yao
|COSPO/OSIS Computer Support EMT-B
|This message is not an official statement of COSPO policies.

More information about the bind-users mailing list