Questions tagged [whois]

The WHOIS protocol allows a user to query the registrant of a particular domain name or IP address.

The WHOIS service is a TCP based protocol that allows you to look up the registrant of a domain name.

The WHOIS service sits on TCP port 43 and can often be found at whois.nic.tld (where 'tld' is replaced with the appropriate top-level domain such as .it or .xyz).

One way to use it is to simply telnet to it and send the domain name followed with at CRLF. For example:

telnet whois.nic.coop 43 midcounties.coop

You will then get a list of all the details about the domain.

415 questions
4
votes
2 answers

Check Domain Availability from Rails

I'm trying to check domain name availability from my Rails app. Is there a good (free) API to do this with?
dshipper
  • 3,489
  • 4
  • 30
  • 41
4
votes
2 answers

How do I findout domain expiry date of a .org and .in website in java

I'm using WhoisClient (org.apache.commons.net.whois.WhoisClient) to retrieve my website domain expiry date. It is working for the domain with .com extension. When I try to check the expiry date for one of my .org domain the result says No match for…
Sonu
  • 179
  • 1
  • 11
4
votes
4 answers

How to resolve an IP address to an organization (with caching)

I would like to resolve IP(v4) addresses to owner organizations, from the registry of IP address allocations. To do it, I don't want to become an expert in whois protocols and templates or the structure of the registries themselves. I just want a…
Andrew
  • 5,611
  • 3
  • 27
  • 29
4
votes
2 answers

python whois for windows

I try to get whois in python. I use this http://code.google.com/p/pywhois/ but it run only in linux. Is it posible to run it on windows? currently i get errors (because internal linux command whois used)
Evg
  • 2,978
  • 5
  • 43
  • 58
4
votes
0 answers

Extracting historical IP Addresses for a given ASN

I need to identify all IP addresses assigned to a specific ASN (Autonomous System Number) at specific points in time in the past. Is it standard practice to reasign IP addresses from one ASN to another? If so, how do I get historical data on these…
rizzy
  • 41
  • 1
4
votes
5 answers

Doing a whois with a list of domain names

I've got a file of domain names e.g. equivalent to 2500. I would like to do a whois on these domain names. Issue is I've never done that and don't know where to start. If you have any ideas, I'm all ears. TIA.
Andy K
  • 4,944
  • 10
  • 53
  • 82
4
votes
6 answers

Whois list of Top Level Domain against their corresponding registrar

I'm trying to find a list of TLD's to their corresponding whois server, for example .com americanWhoisServer .net someOtherWhoisServer .au australianWhoisServer In the end i'm aiming for something like a Dictionary where the key is the TLD and the…
Daniel
  • 385
  • 1
  • 5
  • 6
4
votes
1 answer

"Secret Registration" providers list for filtering WHOIS API results

I'm using a WHOIS API to pull information up on companies that register domain names. However, I don't want results where the domain is registered through a proxy such as "Domains By Proxy." Is there a comprehensive or otherwise decent list of…
David Pfeffer
  • 38,869
  • 30
  • 127
  • 202
4
votes
1 answer

How to do a Whois lookup for the new gTLDs?

Does anyone know about how to go about doing a WhoIs lookup (PHP or JavaScript) for the new sponsored TLDs that are coming out - things like .insurance .guru etc - there appears to be hundreds of them. In other words as the new domains come on…
Brenton Thomas
  • 618
  • 1
  • 7
  • 17
4
votes
2 answers

How to change the creation date in domain registration record?

I'm interested to do it on domain .com zone. Does anyone know a registrar which will be able to do it?
4
votes
1 answer

Use fsockopen with proxy

I have a simple whois script if($conn = fsockopen ($whois_server, 43)) { fputs($conn, $domain."\r\n"); while(!feof($conn)) { $output .= fgets($conn, 128); } fclose($conn); return $output; …
nacholibre
  • 3,874
  • 3
  • 32
  • 35
3
votes
3 answers

Extract college name from email domain in registration form

Let's say I have a registration form with email validation for college edu email addresses only set up. What would be the best way to get the college name using PHP from that to insert into the database? The only way I can think of is to use if…
Jack
  • 31
  • 1
3
votes
1 answer

AttributeError: module 'whois' has no attribute 'whois'

I am running my ML code and getting this error- Enter website name=> www.google.com Traceback (most recent call last): File "Dphishing.py", line 12, in p2.category2(website) File "C:\xampp\htdocs\Detect_Phishing_Website\p2.py",…
weirdo 2045
  • 31
  • 1
  • 3
3
votes
2 answers

Get domain name expiration date via PHP

Here is my current code: function get_cmd () { if (file_exists('/usr/local/bin/whois')) $cmd = '/usr/local/bin/whois'; elseif (file_exists('/usr/bin/whois')) $cmd = '/usr/bin/whois'; elseif (file_exists('/bin/whois')) …
scarhand
  • 4,269
  • 23
  • 63
  • 92
3
votes
1 answer

Rdap query has less results than whois for google.com?

When I do a simple domain whois lookup for Google.com, I get the following results: [...] Registrant Organization: Google LLC Registrant State/Province: CA Registrant Country: US Registrant Email: Select Request Email Form at…