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

Gathering DNS whois information for large number of typo/squatting domain names

I am going to gather and analyze the DNS registration information of a large number of domain names. My domain names are such as bbc.com, bbc.com.co, bbc.com.a and bbc.com.aa. As you can see, I have typo/squatting domain names of the official web…
0
votes
2 answers

Can this be optimized? whois over a list

This code in Python 3.4 works fine, but I am wondering how it can be made faster: from string import ascii_lowercase from itertools import product import whois domains = list() available_domains = list() for c in map(''.join,…
0
votes
2 answers

Check if domain has WHOIS privacy

I use an API to get Whois data of a domain Sample response from API: For domain 1: registrant_contact":{ "full_name": "WHOISGUARD PROTECTED", "company_name": "WHOISGUARD, INC.", } For domain 2: "registrant_contact":{ "full_name": "Whois Privacy…
arjayads
  • 553
  • 1
  • 5
  • 17
0
votes
1 answer

trying to WHOIS a site within IRC

if data.find('!whois') != -1: s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(("com.whois-servers.net", 43)) s.send('www.msn.com' + "\r\n") response = '' while True: d =…
SourD
  • 2,771
  • 7
  • 28
  • 28
0
votes
0 answers

Retrieving Whois info from a URL/Domain

The whois module does not seem to work for me, running this code gives me an error import whois domains = ['cnn.com'] for dom in domains: domain = whois.Domain(dom) print domain.registrar This throws this error: Traceback (most recent…
0
votes
1 answer

Ruby WHOIS gem registry doesn't capture Registrar info. Any alternatives?

This code returns a payload of limited value 2.4.0 :001 > require 'whois'; require 'whois-parser' => true 2.4.0 :002 > client = Whois::Client.new(timeout: 10) => # 2.4.0 :003 > results =…
Sam
  • 1,205
  • 1
  • 21
  • 39
0
votes
1 answer

ubuntu whois-redirect is not working for jwhois

I using following query for whois lookup at ubuntu 16.04 jwhois 99webtools.com Output [whois.verisign-grs.com] Domain Name: 99WEBTOOLS.COM Registry Domain ID: 1836292680_DOMAIN_COM-VRSN Registrar WHOIS Server:…
Sunny
  • 119
  • 2
  • 18
0
votes
0 answers

Trusted Root Code Signing Certificates with Whois Privacy Protection

I understand that I have to purchase a code signing certificate from a trusted CA and sign my application to pass the Smartscreen filter in Windows. On the otherhand I want to protect my privacy like I do for my domain with Whois Privacy Protection…
smedasn
  • 1,249
  • 1
  • 13
  • 16
0
votes
1 answer

pythonwhois returns none value for contact information for specific tlds like .io and .it

I used get_whois(domain) function of pythonwhois 2.4.3 for retrieving whois information for domains. But when I enter domains with specific tlds (like dexi.io or securiteam.it) the output returns None for contact information. In other words, for…
jj_hacker
  • 1
  • 1
0
votes
0 answers

Vb.net TcpClient Error

I'm trying to get whois information in vb.net I found a code Private Function whoiscek(ByVal whoisServer As String, ByVal url As String) As String Dim stringBuilderResult As StringBuilder = New StringBuilder() Dim tcpClinetWhois As TcpClient…
xdahx
  • 3
  • 4
0
votes
1 answer

Given an IP address, how do I find the CIDR range to which it belongs?

I'm working on ways to automate the updating of .htaccess to block IP ranges that have come in and tried to hack the site. I've been doing it manually for a while, pulling an IP address, then using a web based whois utility to find the range it's…
Charlie Peppler
  • 689
  • 1
  • 5
  • 6
0
votes
1 answer

Getting the registrant address from a hostname?

I'm trying to get informations about some hostnames, for example the country of the registrant. I've found IPWhois who should do the job, but apparently it doesn't give me the expected data. For example, I would like to know to which country is…
0
votes
1 answer

Use sed to replace string with whois command output

I have a text file, containing the string ${whois}. I wish to replace ${whois} with a whois command output of an IP address or domain. The result of a whois is pretty long and it generally goes wrong with everything I've tried to far. I get errors…
0
votes
1 answer

Python whois.whois returns a property object

I'm running whois.whois on Python 3.5 as follows: def simpleWhois(url): try: result = whois.whois(url) return result except Exception as error: print(type(error), error, url) return pd.Series.empty On most…
carmi
  • 75
  • 1
  • 4
0
votes
1 answer

"'NoneType' object is not subscriptable" OR "KeyError:" with openpyxl and ipwhois

I'm working on a python3 script that does the following: Open an excel file in the working directory Select the first sheet in the excel file Select all data in the third column (in this case a range of IP addresses) Iterate through all of the IP…
Fergus
  • 437
  • 3
  • 11