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
3
votes
2 answers

Module whois not working in Python 3 even after importing it

Please Check the following output i get after installing and import whois module can someone help with this issue ? Python 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more…
IamBatman
  • 85
  • 1
  • 10
3
votes
7 answers

How to get whois information of a domain name in my program?

I want to get whois information of a domain name from my c#/java programs. Is there a simple way to do this?
Niyaz
  • 53,943
  • 55
  • 151
  • 182
3
votes
2 answers

Coding a domain lookup tool

I have been coding a domain checker and really stuck with the php. This is what i have so far:
Joe2010glas
  • 75
  • 1
  • 6
3
votes
0 answers

How to Allow People to Use Whois on Linux Server

I want user to use Whois in my website, so I am using ubuntu server and Flask, now the problem is should I run a os.system("whois " + domain). Because it will run the system for all the user who are using the site. So is there anyway to run the…
Jeeva Kumar
  • 353
  • 2
  • 8
3
votes
2 answers

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

I tried to execute this code: import whois w = whois.whois('webscraping.com') print w And I got the error above. Why?
shira stenmetz
  • 297
  • 1
  • 6
  • 11
3
votes
1 answer

C# - WHOIS server closing the connection early or not sending the whole response to my socket?

I'm sending the server 172.217.2.142\r\n and it's only responding with: # # ARIN WHOIS data and services are subject to the Terms of Use # available at: https://www.arin.net/whois_tou.html # # If you see inaccuracies in the results,…
g.b
  • 85
  • 3
3
votes
3 answers

RIPE: How to lookup IP Address using REST API

As per the RIPE REST API documentation, one needs to specify the requests in the following format: http://rest.db.ripe.net/{source}/{objecttype}/{key} So I am assuming that looking up an IP address will be like…
Mandeep Singh
  • 7,674
  • 19
  • 62
  • 104
3
votes
3 answers

BGP ASN Lookup with Python

Does anyone know of a Python module or a solution for how I could lookup company info (Name preferably) via the ASN (autonomous system number) number? There are lots of IP to ASN tools but that is not what I require. ASN needs to be the input -…
gamarga
  • 105
  • 2
  • 7
3
votes
2 answers

How to get list of countries IP Address ranges from WHOIS server?

I want to get all countries ip addresses range from IANA's whois server, Not from maxmind or ip2location site. IANA is authentic site hence I would like to get all ipaddress ranges for countries from that site. Is it possible to query the WHOIS…
Ravi
  • 41
  • 1
  • 5
3
votes
1 answer

How to get a list of domains that contain a particular keyword?

I want a list of registered domains which contain a specific keyword. For example, if "food" is the keyword, I want a list like the following: foodpanda.com orderfood.com www.foodnetwork.com ...
RMK
  • 1,111
  • 4
  • 14
  • 33
3
votes
3 answers

Is it expensive to do a WHOIS lookup using TcpClient.Connect() in C#?

A customer has asked that we do a dynamic whois lookup on the homepage of their ASP.NET site, based on the IP of the user accessing the site. The implementation would be something like what's described…
frankadelic
  • 20,543
  • 37
  • 111
  • 164
3
votes
1 answer

Using Apache Common's WhoisClient in Java

I'm trying to do a WHOIS query with the WhoisClient object, and things aren't working out well. My code is pretty simple: String WHOIS_SERVER = WhoisClient.DEFAULT_HOST; int WHOIS_PORT = 43; String hostName = "www.google.com"; WhoisClient…
Sander Smith
  • 1,371
  • 4
  • 20
  • 30
3
votes
1 answer

Where to get authoritative DNS information and is whois accurate

I've been told that there is a problem with the DNS records for for the following domain: horoscope-feeds.com, but I'm not yet convinced there is a problem with it. When I do host -C -a horoscope-feeds.com I get the response Trying…
Dom
  • 2,980
  • 2
  • 28
  • 41
2
votes
2 answers

How to create a list of recently expired domains?

I see many websites offering services to list recently expired domains. I also see many blogs on how to use these websites. However, none of them explain what is necessary to generate the list in a computerized manner. Is it possible to do this…
Unknown
  • 45,913
  • 27
  • 138
  • 182
2
votes
1 answer

How can I execute a WHOIS query for all domains registered in a given time period in a given TLD using Ruby?

I'm trying to understand how WHOIS works. I know there are third-parties and Gems that abstract this functionality, but I want to have some basic understanding of what goes on. Thus, I'm interested in how to do this in the most direct manner using…
glenn
  • 651
  • 1
  • 6
  • 14