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

How to check if a variable contains a valid url using PHP and jQuery?

I'm trying to make a whois check script. User can submit some domain address and then get a message if it's available or not. $_POST['url'] is the submitted value by user. How do I know if this variable is a domain name address? It should give true…
Jasper
  • 5,090
  • 11
  • 34
  • 41
0
votes
1 answer

fetching whois information through Mozilla extension

I am trying to fetch the whois information for a domain name... i was able to solve it using java socket connection but as it comes to the mozilla firefox extension is there any way to connect to the whoisserver and fetch the whois information i…
Nishit Jain
  • 1,549
  • 8
  • 21
  • 33
0
votes
1 answer

Getting Whois data for .com domain name whois.verisign-grs.com

I am trying to fetch the whois data for domain names all other domains(other than .com and .net ) are giving some results for domain names information but while querying to the whois server of .com and .net registry ie.(whois.verisign-grs.com) its…
Nishit Jain
  • 1,549
  • 8
  • 21
  • 33
0
votes
1 answer

PHP bulk WHOIS checker and annoying arrays

The aim of my project is to create a bulk WHOIS checker which outputs select information from multiple whois records. I think I'm quite close to finishing it there is just an annoying bug which I can't figure out. (It's probabaly something really…
Hairzo
  • 107
  • 1
  • 2
  • 10
0
votes
1 answer

PHP fsockopen WHOIS

I am currently trying to connect to nominets whois service via fsockopen but I'm having a problem reading the reply. code used: $fp = fsockopen("whois.nic.uk", 43, $errno, $errstr); if (!$fp) { echo "ERROR: $errno - $errstr
\n"; } else…
Hairzo
  • 107
  • 1
  • 2
  • 10
0
votes
4 answers

Checking if the user has entered a domain name or just the base

I want to create something that does a WHOIS query to see if a domain is available. Now, I've found quite a bunch of ready-made scripts for that, but they all seem to be the same in that you need to specify the base, and then choose which extensions…
Jamy Mahabier
  • 400
  • 5
  • 16
0
votes
1 answer

Why does pywhois return empty headers?

I am using pywhois module in Python to fetch the Whois headers for websites. While it runs fine for most of the websites, I am trying to understand why sites like google.com and few others come back with black headers. Does PyWhois work only with…
London guy
  • 27,522
  • 44
  • 121
  • 179
0
votes
1 answer

Why am I getting 'TypeError: a bytes-like object is required, not 'str'' when running my WHOIS script in the Linux terminal?

I am creating a basic "whois" script, but it is not working. When I try to run it in the Linux terminal, it returns the error: "TypeError: a bytes-like object is required, not 'str'" indicated in the line of code:…
Gustang
  • 21
  • 2
0
votes
1 answer

Getting question marks instead of domain information when using WHOIS command in terminal for google.com - Why is this happening?

I'm trying to learn how to use whois, and when I type whois google.com in terminal, it doesn't show up the information about the domain but some question marks. Does anyone know why this happened? Thank you in advance!
Wen Sun
  • 35
  • 4
0
votes
1 answer

Unable to find a match for 'manpôwer.com' although domain information is available

I am encountering an issue while using the whois gem, as it fails to locate any records for the domain name 'manpôwer.com'. No match for "MANPôWER.COM". >>> Last update of whois database: 2023-03-22T14:56:58Z <<< My understanding is that the gem…
0
votes
0 answers

Connect WHOIS socket to React Native

How to connect socket to whois.verisign-grs.com and query domain for React Native. I tried connecting to socket using socket.io-client but can't query anything from React Native
Steve
  • 1
  • 1
0
votes
1 answer

Errors: DNS PROBE FINISHED NXDOMAIN

I tried to pass the domain from the URL dataset and get the domain from the whois database. However, when I run the Jupyter notebook, it stuck. Functions: def get_features(url,label): features = [] .... dnsrecord = 0 try: …
wong
  • 3
  • 3
0
votes
0 answers

Error output not getting emails and country from whois

I want to ask is there a way so that, if the country or emails output from whois domain search is none it would print out none instead of an error? This is the output that i got, from searching it manually. in which it doesn't have the same output…
0
votes
0 answers

Python WHOIS Bulk Look up for Domain Creation Date

Seeking for help as I would like to do a bulk whois lookup by reading a csv with domain names, and obtain the creation date of these domains and write it into a new csv. import whois infile = "domains.txt" get domains from file with open(infile,…
Sean
  • 1
  • 1
0
votes
1 answer

I'm trying to make an async function and came across this error saying 'asyncio.run() cannot be called from an running event loop'

url1=['www.google.com', 'www.youtube.com', 'www.facebook.com'] async def dnsRec(url): async with whois.whois(urlparse(url).netloc) as response: domain_detail = response.json() return domain_detail async def main(): task…
Venkat
  • 1
  • 1
  • 4