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
1 answer

Python Popen WHOIS OS command fail test

Prefacing this with the text 'just another beginner'. when you have the result of a whois command via the Popen command, how do you test if its good ? Normally when Python returns a list of whatever you can test the length of it and that has…
user1064306
2
votes
2 answers

Using ruby whois

I need to retrieve whois informations for a given site. because the whois content varies with each whois server, i need to parse the whois content what i'm getting. I'm using php to show the content from db and initially tried in php to parse it.…
vkGunasekaran
  • 6,668
  • 7
  • 50
  • 59
2
votes
0 answers

How to send a request to whois.nic.online by socket in perl?

i made a script that uses a socket to get an info from a whois server. All is ok, but when i pass any of .online tld's domain response from whois.nic.online is: DOMAIN NOT FOUND!. But when i use command "whois -h whois.nic.online example.online" in…
user508828
  • 41
  • 2
2
votes
1 answer

How to use whois in google app engine

I know there is pywhois but it can't used in gae, see this question. But i really need this function to verify whether a domain is registered, is there other way to implement whois by pure python? Thanks.
huangli
  • 454
  • 9
  • 26
2
votes
4 answers

The server of whois

Do you know a site or link which get together all the whois server of the domain. As these: 'com'=>'whois.internic.net', 'net'=>'whois.internic.net', 'org'=>'whois.pir.org', I am sorry, I don't need whois tool. I want to find resources and…
zhuanzhou
  • 2,409
  • 8
  • 33
  • 51
2
votes
1 answer

Cannot print object through res.json in express JS

I am trying to build an API through which I can get whois detail in the JSON output like below For this, I installed the whois package from npm (https://www.npmjs.com/package/whois[whois Link]2). I tried to convert the string to object and print it…
BIram Firi
  • 99
  • 1
  • 1
  • 8
2
votes
1 answer

Extracting information from Whois with RegExp

How can I extract multiple segments from the result of a Whois lookup? I get an array that results form a Whois lookup (from a foreach loop). So for example If I want everything from the "domain...." line to the ">>> Last update" of the WHOIS…
coderv55
  • 23
  • 3
2
votes
1 answer

Python Whois Issue

Im trying to collect information on IP via whois within bash. However the output Im getting seems to be very different for example... If I go to http://whois.domaintools.com/8.8.8.8 I get a ton of information. Like so, NetRange: 8.0.0.0 -…
felix001
  • 15,341
  • 32
  • 94
  • 121
2
votes
3 answers

How do I json encode all the info available in the parser object?

I am very new to ruby and rails. I am trying to output all the parsed whois info to json output. I have the following: class WhoisController < ApplicationController def index c = Whois::Client.new record = c.lookup("google.com") parser…
user_78361084
  • 3,538
  • 22
  • 85
  • 147
2
votes
2 answers

Unexpected Output_networking

Here is what I get: And here is my complete code: import java.net.*; import java.io.*; class whois { public static void main(String args[])throws Exception { int c; Socket s=new Socket("whois.internic.net",43); InputStream…
Suhail Gupta
  • 22,386
  • 64
  • 200
  • 328
2
votes
1 answer

dig NS and nslookup give outdated nameservers; +trace or whois are correct

Some time ago (months), I updated the nameservers for a number of domains I control; both the old and new nameservers are run by the same hosting company. The NS records are correct with the registrar, and the correct records are shown by a whois…
Dan W
  • 131
  • 8
2
votes
0 answers

How to download the entire or a subset of whois database offline for analysis

I have a work project where I need to perform analysis on domain registrants behind a whois guard/proxy and figure out who they are(they are mostly bad guys who use domains for malware). As a demonstration, if I run a whois lookup on test.com(I will…
2
votes
1 answer

Testing domain-name availability with pythonwhois

I'm using successfully pythonwhois (installed with pip install ...) to check the availability of .com domains: import pythonwhois for domain in ['aaa.com', 'bbb.com', ...]: details = pythonwhois.get_whois(domain) if 'No match for' in…
Basj
  • 41,386
  • 99
  • 383
  • 673
2
votes
2 answers

In C, why is a larger number of functions more preferable than a more complicated function?

I have run into this phenomenon many times before, but none were as clear for demonstrating my point as the following: The source code for pwhois has two functions: w_lookup_all_pwhois(whois_session_params * wsess, char…
Alex
  • 947
  • 1
  • 8
  • 25
2
votes
3 answers

SEO: A whois server that work for .SE domains?

I'm developing a small domain checker and I can't get .SE to work: public string Lookup(string domain, RecordType recordType, SeoToolsSettings.Tld tld) { TcpClient tcp = new TcpClient(); tcp.Connect(tld.WhoIsServer, 43); string strDomain…
Niels Bosma
  • 11,758
  • 29
  • 89
  • 148