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

How to parse css for whois result?

I am using whoislookupscript.com script for whois look up, i want to style each section differently eg.Registrar, Registrant, Admin, tech so that my viewers can get a idea of separation and looking to filter Registrant email id. I really don't know…
user4512171
1
vote
4 answers

Hide nameservers in public whois?

Is there a way to hide the nameservers of my hosting provider in the public whois? Regards
1
vote
1 answer

Check if Domain is registered or not without Whois?

To PROGRAMMATICALLY verify if a domain exists I do the following: DNS Query it and see if it resolves. If it does, it's obviously registered. So no need for step 2. If it doesn't, it might STILL be registered. So a whois check is…
CodeAngry
  • 12,760
  • 3
  • 50
  • 57
1
vote
1 answer

"whois" output in a variable loses its formatting

I have been looking through an old script I wrote which writes whois output to a file and then grep for certain info in that file. I thought maybe I should change this and save the whois output as a variable - but when I do that, the output loses…
bsmoo
  • 949
  • 4
  • 10
  • 23
1
vote
2 answers

Whois Parser that isn't working

I'm new to Rails and wanted to try the Ruby Whois gem. I defined an Active Record record that creates a report. That report would then be filled with data from the whois query (preferably parsed). When I do the query I get something really weird.…
Exos
  • 75
  • 6
1
vote
1 answer

Where do services like http://whoisxmlapi.com get their data?

http://whoisxmlapi.com provides a high-throughput API for thick WHOIS queries. In my understanding such data can only be provided by domain registrars that put really low limits on the number of queries per minute. Had this data just been carefully…
Ivan Bulanov
  • 55
  • 1
  • 5
1
vote
1 answer

Whois Arin and php

I have a problem with php and whois.arin.net $whois="whois.arin.net"; $ip="xx.xx.xx.xx"; $sk=fsockopen($whois, 43, $errno, $errstr, 30) or die('Connessione impossibile'); fputs ($sk, $ip."\r\n") or die('Request impossibile'); while (!feof($sk)) { …
Luca
  • 43
  • 1
  • 7
1
vote
2 answers

php using CURL to grab whois record

Example: http://www.whois.net/whois/hotmail.com When open in browser, output is shown. When using curl call, it show nothing. What's wrong? I want to return whole page result, then use regular expression to retrieve data at Expiration Date:…
i need help
  • 2,386
  • 10
  • 54
  • 72
1
vote
1 answer

Whois Parser error for ORG/NET URLs

I have checking the whois information for .org/.net/.ae sites. While parsing it was giving error. This is my code part: record = Whois.whois(url) date = record.created_on Its giving the following error Whois::ParserError: Unexpected token: Access…
SaravanaKumAr
  • 427
  • 6
  • 19
1
vote
1 answer

Client' country name not returns correctly

I am using the http://ipaddressextensions.codeplex.com/ dll library for retrieving client's country and I am using the following code. But the result always show "Australia" but I am from Bangladesh. Can anybody correct me using that code? using…
Reshad
  • 49
  • 1
  • 11
1
vote
1 answer

Is there any way to query a whois server using webclient in vb.net?

http://www.anta.net/misc/telnet-troubleshooting/whois.shtml shows that we can get whois server using telnet However, webclient uses get and http protocol. So how to get whois via vb.net then? Some software like domainpunch can get tons of domain…
user4951
  • 32,206
  • 53
  • 172
  • 282
1
vote
1 answer

Parse Whois data using Regex - Ignore field Repetition

I'm trying to parse the result of a whois query. I'm interested in retrieving the route, descr and origin fields as shown below: route: 129.45.67.8/91 descr: FOO-BAR descr: Information 2 origin: AS5462 notify: …
Moustache
  • 151
  • 6
1
vote
1 answer

shell_exec is not working on server

i am using shell_exec to get whois details of a domain. Everything is working fine on localhost but when i am uploading the script on server, it is creating problems. On server, the shell_exec is working partially. echo "shell_exec('whoami')"; gives…
Amir Nasir
  • 35
  • 1
  • 10
1
vote
1 answer

Parse Who-is Information for Expiration Date

I am trying to think of a good method for locating the expiration date of a domain within a who-is record systematically. Here is my current idea: Locate "Expir" in the string of who-is information (this works with "Expiration," "Expiry," and…
1
vote
1 answer

How to gett whois lookup result?

So anyways, I'm working on a small PHP website/script, and as one of the features I'd like to be able to run a WHOIS lookup on the current domain the PHP script is running on. I don't know much about WHOIS lookups (well, I know what they do, I just…
Yassin Sterno
  • 41
  • 2
  • 4