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
0
votes
0 answers

excute CMD commands in php on local server Xampp

I want to run CMD commands in php through shell_exec() function to get the domain details. When I try $detail = "whois " . "google.com"; echo $res = shell_exec($detail); on online php editor it return correct information but when I run this…
0
votes
2 answers

Is there a permanent record/history of who owned a domain?

Is there a record (history) of whomever ever owned a domain? Maybe at the top level? Or if someone transfers a domain to a new whois server, is the history never visible? Or is there a record of which whois server had the domain at different points…
strangeQuirks
  • 4,761
  • 9
  • 40
  • 67
0
votes
2 answers

Whois server time out

I would like to ask why every time I try to request to these whois servers I always get a time out…
Rogin Neil
  • 55
  • 1
  • 7
0
votes
0 answers

Query a whois server with a Socket

So I've pulled this handy list of TLDs and I was about to test it out. I've got my file loaded from a .tsv and its in my vectors. When I try to open a socket connection to port 43 to whois.verisign-grs.com, all I get is Error #2031: Socket Error.…
sfxworks
  • 1,031
  • 8
  • 27
0
votes
0 answers

Capture Whois output from subprocess.call

I am trying to capture the output from a whois call made by a python script inside a docker container using subprocess.call. I have tried using Popen and check_output but they throw errors. Here is the code: live_data = subprocess.call('whois…
noinot
  • 49
  • 6
0
votes
0 answers

whois/testwhois.php 404 error

I check if a domain exists with this code in my controller: public function check_domain($domain) { if ( checkdnsrr($domain, 'A') ) { echo 0;//not available } else { echo 1; } } I call…
Andreea Onica
  • 315
  • 5
  • 13
0
votes
0 answers

Sinon test error with whois-json

I have a service API which up until recently used the whois library to get data. I use sinon to test the API: const mockWhoisLookup = sinon.mock(whois); mockWhoisLookup .expects('lookup') .once() .withArgs('deals.dk') .callsFake((domain,…
B.T.
  • 1
0
votes
0 answers

Whois IP Addresses From Shell Script and Print in a table

I have an input file with IP addresses like: 106.1.2.5 42.34.74.34 173.23.74.34 And so on I am decoding all the IP addresses from a shell script the code of which is as follows: while read line do #nslookup $line echo " " echo "# IP Analysis…
0
votes
1 answer

Get Expiry Date Using PHP Whois Library?

I am using Whois Library to get Domain Information . but i just Want to get Domain Expiry Date . When I echo $domain->info(); i get lot of information from domain and also get expire date on 298 line , how can i get only expiry date ? here is php…
Hashaam
  • 83
  • 1
  • 1
  • 9
0
votes
1 answer

Bash script, domain expiration date with email sending

I am trying to implement a solution for automatic mail sending once it finds a domain that expiration date has been exceeded. I am really new to this, therefore I managed to get as far as code below, that shows expiration dates and sends an email…
ashaneen
  • 137
  • 1
  • 15
0
votes
1 answer

Why isn't my whois result the same from one whois search engine to another?

I'm trying to register for an EV SSL certificate, but the company requires that the registrant match the company submitting. They've been unable to do this because they are getting a whois result that doesn't match the whois result that I'm getting…
Kori
  • 1,031
  • 2
  • 10
  • 15
0
votes
1 answer

How to deserialize a JSON object containing an object or object array

I'm trying to deserialize the JSON response that I get back from the ARIN whois REST API. I'm new to JSON but I think they are returning two different schemas depending on the results and I'm having a hard time taking it apart. Here is an…
GMAP
  • 19
  • 9
0
votes
1 answer

How to Implement Domain Name Checker and Whois Domain in my website

I am about to start a Web Hosting website. So i want Domain Name Checker (Domain availability) and Whois Domain (Information regarding a particular Domain) in my web site. How could i achieve this?
KillerFish
  • 5,042
  • 16
  • 55
  • 64
0
votes
1 answer

Issue with whois and subprocess (Python 3.4; 64-bit Windows)

So I'm just trying to get the suggested query (domain = whois.query("google.com")) working. But whenever I run it, I get the following traceback: File "file.py", line x, in weight_sources domain = whois.query("google.com") File "C:\Users\User…
user3684314
  • 707
  • 11
  • 31
0
votes
1 answer

python whois library return nothing for active domain names

I am trying to use python whois library to gather whois records of some web sites. The problem is that I got nothing for some web sites such as nih.gov which is an active domain name! w = whois.whois("nih.gov") print w {u'updated_date': None,…