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

PHP - DENIC whois query with cURL doesn't work well

When I check the avability of a .de-domain with fsockopen it delivers always a result, but when do the same with cURL around 75% of the queries fail. curl_errno then delivers error-code 56 (CURLE_RECV_ERROR). When I try to check .com-domain with…
Crayl
  • 1,883
  • 7
  • 27
  • 43
0
votes
1 answer

whois wildcard search on Ubuntu

I'm trying to search all domains that start with "marha" and end with ".com" using the Ubuntu terminal. This is what I'm trying: whois -H marha%.com However, this does NOT give me any results. Is there an Ubuntu-specific syntax or something I'm…
itsols
  • 5,406
  • 7
  • 51
  • 95
-1
votes
1 answer

python-whois showing different results

I made a script that opens the csv file which contains multiple domain names and then uses python-whois module to find the emails for each domain. import whois import csv with open('emails.csv', 'r', newline='') as f: reader = csv.reader(f) …
Xanya
  • 13
  • 3
-1
votes
2 answers

Whois script bash

I have made whois script in bash: #!/bin/bash # Store the list of domains in an array while read domain do # Output the header echo "Domain,Registrar,Creation Date,Expiration Date" # Perform a WHOIS lookup for each domain …
ROHAN
  • 1
  • 2
-1
votes
1 answer

WHOIS in Mac OS terminal not doing anything

I'm not getting any output at all when doing a simple WHOIS command in the macOS terminal. Just seems to run and then is ready for the next command. Every online tutorial or article I've seen shows a response back with the WHOIS information. Why…
Lee
  • 4,187
  • 6
  • 25
  • 71
-1
votes
2 answers

I get an error when I try to get a site in Python

import whois site = input('enter site : ') M = whois.whois(site) print(M) When I input, enter site : google.com I got following response (error): Traceback (most recent call last): File "f:/Programming/project/Project/whois.py", line 1, in…
-1
votes
1 answer

Loop for reading multiple csv files won't finish

I am trying to read in multiple csv files that have one column with a list of websites. The column does not have a header. I am trying to use the whois function to pull the creation date of the website. I have created a loop to import the csv file,…
MellyJ13
  • 25
  • 1
  • 1
  • 5
-1
votes
2 answers

Parse reveived data from whois to date

I want to make script to show remaining days to domain expiration. I am able to get row with domain expiration date but i grep it to that format renewal date: 2021.09.24 12:22:02 What should I do next to make date command work? Right now Im…
Krystian
  • 3
  • 1
-1
votes
1 answer

Automated extraction of domain name regristrant from WHOIS query responses

I am looking to develop a system that will retrieve the name (and optimally the e-mail address) of the registrant of a domain name from a WHOIS response. Writing a WHOIS parser by hand from scratch seems like a Herculean effort, as the format of…
Richard Stokes
  • 3,532
  • 7
  • 41
  • 57
-1
votes
2 answers

Check domain availability -- avoiding front running -- using wildcards or regex

I can check for the availability of a an individual domain via whois abc123.com. I can't figure out how to check the availability of a whole set of domains that match criteria, like XXX YYY.Z. where X is any 3 of the same letters, Y is any 3 of…
ultraGentle
  • 5,084
  • 1
  • 19
  • 45
-1
votes
1 answer

Run Batch DNS + Whois Search on Terminal with Output

I am trying to combine a batch search for some DNS records search with Whois search on my terminal. I have a CSV file with a list of domains and I would like to run the following batch searchers: MX search: host -t mx $domain NS search: host -t ns…
oslee
  • 11
  • 7
-1
votes
1 answer

Java Socket Programming Exception

I'm receiving java socket programming exception. This is a code from the Book "Java Complete reference Oracle" import java.net.*; import java.io.*; public class Whois { public static void main(String[] args)throws Exception{ int c; …
Nitish Prajapati
  • 139
  • 1
  • 11
-1
votes
1 answer

Registrant Email not found in whois command?

My command whois google.com Results: Whois v1.14 - Domain information lookup Copyright (C) 2005-2016 Mark Russinovich Sysinternals - www.sysinternals.com Connecting to COM.whois-servers.net... Domain ID: 2138514_DOMAIN_COM-VRSN Registrar WHOIS…
-1
votes
1 answer

whois command giving out of date result

I am running a whois command which is giving me different results on 2 different servers. Both servers are running ubuntu 16.04 lts, both have the same version of whois installed, both have the same DNS servers and finally both are using the same…
user2099762
  • 173
  • 2
  • 12
-1
votes
2 answers

How to get all detail in whois command in digitalocean

In my VPN server on digitalocean I install whois program. but I don't get all information about domain. For command $ whois google.com I get only this information: Domain Name: GOOGLE.COM Registry Domain ID: 2138514_DOMAIN_COM-VRSN …
darvin
  • 1
  • 2