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

Whois server not returning results?

Hi I have been messing with this Whois script I got of the 'net, and have been messing with variables and arrays for ever trying to figure out why it won't return the whois results for Google and Facebook (i tested google, as this is the obvious…
John Davies
  • 21
  • 1
  • 3
2
votes
1 answer

Domain name Whois: how to find contact information?

I use this code fragment for Whois information: org.apache.commons.net.whois.WhoisClient whois = new org.apache.commons.net.whois.WhoisClient(); whois.connect("whois.verisign-grs.com", 43); String domainWhois =…
Justinas Jakavonis
  • 8,220
  • 10
  • 69
  • 114
2
votes
1 answer

python: how to perform whois with uwhoisd proxy

I'm trying to use the undocumented library uwhoisd and I cannot figure out how to successfully call the whois() function on the UWhois object. I start the deamon by calling a file UwhoisDeamon.py with following content: import…
evolution
  • 593
  • 6
  • 20
2
votes
1 answer

Using PHP to get whois data?

I'm looping through rows in my database to get information from whois results. Here's what I have right now: function GetEmailFromWhois($domain){ $whois = new Whois(); $query = $domain; $whois->deep_whois=TRUE; $result =…
user10848
  • 161
  • 1
  • 8
2
votes
2 answers

whois TCP socket connection fails for one server

I'm writing a short script to query domain names from their respective whois servers - while in most cases, while the TCP connection via port 43 seems to be working for most whois servers, the queries to whois.markmonitor.com seems to be failing…
rahuL
  • 3,330
  • 11
  • 54
  • 79
2
votes
5 answers

I want to convert raw html whois lookup data into json or xml using php or any language

I got this code for whois lookup from here. but i am getting raw data or html data .. i am getting an output but not in readable format like in json or xml .. how i can convert this into json .. pasting a example output ttmm.com domain lookup…
Aniket Karne
  • 325
  • 3
  • 14
2
votes
3 answers

Find the host of a website

I'm helping my uncle who has a website that he doesn't remember anything about, whatsoever. He has had it for years and he's very unstructured. I tried getting him to find a bill from the hosting-company, where he has his website - but he says he's…
Zeth
  • 2,273
  • 4
  • 43
  • 91
2
votes
1 answer

phpWhois via a proxy

I am playing around with phpWhois: https://github.com/phpWhois/phpWhois It's installed, and works great. But I would like to do the WHOIS request via a proxy IP. WHOIS servers often block IP's when they make too many requests, and therefor I want to…
Mr.Boon
  • 2,024
  • 7
  • 35
  • 48
2
votes
3 answers

How do I use python to hit this command and return the result?

$whois abc.com I want to use python to hit this command, and then give the result as a String of text. How can I do that?
TIMEX
  • 259,804
  • 351
  • 777
  • 1,080
2
votes
1 answer

Convert whois returned string to object or array

I need to convert a whois query that returns a simple string to either a PHP object, PHP associative array or a PHP json object. The text I get returned from the whois server looks like this... Domain Name: SAILING-WHITSUNDAYS.COM Registry Domain…
Craig
  • 387
  • 4
  • 16
2
votes
2 answers

Automatic whois data parsing

I need to parse WHOIS raw data records into fields. There is no one consistent format for the raw data, and I need to support all the possible formats (there are ~ 40 unique formats that I know of). For examples, here are excerpts from 3 different…
KidCrippler
  • 1,633
  • 2
  • 19
  • 34
2
votes
1 answer

Ruby Whois Queries Timeout

I am using the Ruby Whois gem at http://ruby-whois.org to automate retrieval of Whois records for various websites. At the moment, I am performing a few thousand queries per day. I am noticing that many of the queries I make result in Timeout errors…
tonyduan
  • 75
  • 1
  • 3
2
votes
1 answer

Correct command to get domain whois info

If I use # whois google.ru ssh command then I get proper whois information. But if I try to use the same for the following domain I fail: htaccess.net.ru The response I get is No entries found for the selected source(s). This domain is in someway…
blackdad
  • 1,343
  • 1
  • 10
  • 13
2
votes
2 answers

perl script to serve whois data as requested on port 43

Warning: This is long and can probably only be answered by a professional perl programmer or someone involved with a domain registrar or registry company. I run a website hosting, design, and domain registration business. We are a registrar for some…
pwsowner
  • 23
  • 3
2
votes
1 answer

How I can add custom whois server to WHMCS

How we can add custom whois server to WHMCS. I've an API access for ccTLD domain and want to add whois server from API. Thanks for your help.
Domnic
  • 43
  • 1
  • 6