Thank you all.
I use below list for whois server :

APNIC WHOIS(whois.apnic.net)
ARIN WHOIS(whois.arin.net)
RIPE WHOIS(whois.ripe.net)
LACNIC WHOIS(whois.lacnic.net)
AfriNIC WHOIS(whois.afrinic.net)

but i see some result in "Hacknotes - Linux And Unix Security Portable
Reference" book that is difference with my result.
The command that i see in book is :

1- Querying Domain Registrar Records by Domain Prefix

[bash]$ whois -h whois.crsnic.net "somecompany."

2- Querying Domain Registrar Records by Handle

[bash]$ whois -h whois.somewhoisserver.com "handle SOMEHANDLE"

3- Querying Domain Registrar Records by E-Mail

whois -h whois.somewhoisserver.com "@somecompanyasanexample.com"

4- Querying RIR Records by Company Prefix

whois -h whois.rirwhoisserver.net "companynameprefix"

5- Querying RIR Records by an IP Address or Network Block

whois –h whois.rirwhoisserver.net ipaddressorblock

6- Querying RIR Records by Handle

whois -h whois.rirwhoisserver.com "HANDLE"

7- Querying RIR Records by E-Mail

[bash]$ whois –h whois.rirwhoisserver.com "@somecompanyasanexample.com"

Thanks.
On Wed, Dec 21, 2011 at 7:31 PM, Dan King <[email protected]> wrote:

> Are you asking how to find out a list of all possible top level domain
> names for a specific domain?
>
> To find all possible TLDs for a specific domain, you first need a list of
> all the possible TLDs. The list is here:
>
> http://data.iana.org/TLD/tlds-alpha-by-domain.txt
>
> You will need to cycle over each one adding your target domain to each.
> You could use a bash script to iterate over each one but that's probably a
> little messy. There are tools that do this, but I'm not recalling their
> names at the moment.
>
> -dan
>
>
>
> On Wed, Dec 21, 2011 at 3:04 AM, Mohsen Mostafa Jokar <
> [email protected]> wrote:
>
>> Hello All.
>> I see in a book about find all prefix domain with whois command,syntax is
>> :
>>
>> whois -h whois.crsnic.net "somecompany."
>>
>> But not work,how find all prefix domain name?
>>
>> Thanks.
>>
>> _______________________________________________
>> Pauldotcom mailing list
>> [email protected]
>> http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
>> Main Web Site: http://pauldotcom.com
>>
>
>
>
> --
> I live in a world of cold steel and dungeons and mighty foes...
>
> _______________________________________________
> Pauldotcom mailing list
> [email protected]
> http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
> Main Web Site: http://pauldotcom.com
>
_______________________________________________
Pauldotcom mailing list
[email protected]
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com

Reply via email to