Here is an idea on how to do it:

#!/bin/bash
for domain in `/tmp/list` ; do
        if [ -n "`dig @zinc.mlink.net $domain ns | grep -i "$yourdns"`" ] ; then
                echo -e "\t"$domain
                     fi
                fi
        done


You use a NameServer (but not mine!) somewhere out there.  I use zinc.mlink.net, a DNS server of my upstream provider.

Marc


At 06:55 AM 10/12/2001 +0000, Peter Kiem wrote:
Hi Bill,

> registered through you).  Once you have the list, you could use it to
> query the registry name servers to get the authoritive nameservers for
> each domain.

Sorry how do you do this?  If I query a domain my own nameserver says it is
authoritive for the domain so it doesn't do me any good :(

--
Regards,
+-----------------------+---------------------------------+
| Peter Kiem            | E-Mail    : <[EMAIL PROTECTED]> |
| Zordah IT             | Mobile    : +61 0414 724 766    |
|   IT Consultancy &    | WWW       : www.zordah.net     |
|   Internet Hosting    | ICQ       : "Zordah" 866661     |
+-----------------------+---------------------------------+


 Cyberlogic
 4545, rue St-Denis, Montreal (Quebec) H2J 2L4
 Tel: (514) 844-9946 Fax: (514) 844-9799
 e-Mail: [EMAIL PROTECTED]
 Web: http://www.cyberlogic.ca

Reply via email to