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 Whois Module Error

I am trying to run the following code on Windows Powershell, but it gives an error "Module is not callable." import whois w = whois.whois('yahoo.com') print w What am I doing wrong? I even pip installed the whois module. Still no…
Social Coder
  • 103
  • 2
  • 14
2
votes
2 answers

Python twisted irc: Wait for a whois reply inside privmsg method

I'm trying to make an IRC bot using the twisted.words.protocols.irc module. The bot will parse messages from a channel and parse them for command strings. Everything works fine except when I need the bot to identify a nick by sending a whois…
axujen
  • 49
  • 3
2
votes
2 answers

Using WhoIs to determine domain availability

I am using an API that does a WhoIs query to determine the availability of domains. However, it seems every TLD gives a different type of response, so I have to create custom searches for each one: result.match("No match for")…
brentonstrine
  • 21,694
  • 25
  • 74
  • 120
2
votes
1 answer

PHP Script for Whois

I create php script for scan domains and know if free or no for register…
user1860536
  • 67
  • 2
  • 7
2
votes
3 answers

whois doesn't work in irb

I install whois using $ gem install whois and follow Ruby Whois but when I test it in irb, it gives error: 1.9.3p194 :001 > c = Whois::Client.new NameError: uninitialized constant Whois from (irb):1 from…
Darshana
  • 2,462
  • 6
  • 28
  • 54
1
vote
2 answers

JavaScript Socket connection to port 43 (whois)

I have a problem I want to use socket to connect to whois servers through port 43, but it seems it's not possible or I'm doing it wrong. I've tested socketio and jsXMLsocket, but no luck. With PHP is easy to do it by using…
Martin Šajna
  • 123
  • 2
  • 8
1
vote
3 answers

Change a div content on input change from an URL (WHOIS)

I'm trying to make WHOIS script that can display the availability of a domain name. I already have the PHP done. All I want is the jQuery part that could detect the change of the content of an input, send a POST request to a page and display the…
jpmonette
  • 926
  • 1
  • 15
  • 30
1
vote
1 answer

Regular expression style Whois lookups with PHP

I am recently finding myself in a situation at work where I am expected to create a pattern matching domain name search. (ie., mydomain* should match mydomain1,mydomainanotherone etc. etc.) My platform is Linux based (CentOS 5) with Apache 2 and…
Elyzion
1
vote
1 answer

Are EPP status codes case-sensitive?

When I reviewed the relevant RFC documents, I couldn't find anything about the case sensitivity of the status codes. Therefore, I wanted to ask this question here. I have encountered the following EPP codes, but I don't know whether they are valid.…
Ceylan B.
  • 564
  • 9
  • 23
1
vote
1 answer

Trying to create a whois in python but it doesn't run

For some reason, the output returns like this instead of how it should be: Listed; one under the other; organized. Reference: consulta.py from socket import socket, AF_INET, SOCK_STREAM from sys import argv import pyfiglet ascii_banner =…
Gustang
  • 21
  • 2
1
vote
1 answer

Trying to use whois in python but getting file not found error in windows

I am trying to use whois but getting this error: I have also installed https://learn.microsoft.com/en-us/sysinternals/downloads/whois and it is working fine in my cmd but when I try it with python it shows the above error. I have installed both…
1
vote
2 answers

how to get expired domain names by python

I am writing a function by python to get a list of expired domains just like this one, but I can not find any library can do this, any ideas about this?
huangli
  • 454
  • 9
  • 26
1
vote
0 answers

Whois with a list of domain names but got error "No whois server is known for this kind of object

I got the error message "No whois server is known for this kind of object." When I had my script run. #!/bin/bash domain_list="input.txt" while read line do name=$line echo $name whois $name sleep 2 done <…
cacalun12
  • 55
  • 5
1
vote
1 answer

PHP whois establishment

I am quite new to PHP, but I am building myself a tool, to avoid checking domain information using multiple sites, and have everything by clicking once. The issue that I have, is that I am trying to run whois command, which works, if I specify the…
Hoolis
  • 47
  • 6
1
vote
2 answers

Python whois fails after converting to an exe

I am new to python, just started working with it a few weeks ago and as a project I wrote a program to assist agents in my department with host, whois and mx lookups. Running the program as a .py everything works as intended. But when I convert the…