Questions tagged [whois]

31 questions
14
votes
3 answers

Who does Linux ask when you perform a whois?

When you do: $ whois stackoverflow.com does your Linux first do a DNS query, find the IP of stackoverflow.com, and then ask the information directly there? Or does it ask a "root" whois server (is the IP of the "root whois server" hardcoded in a…
Basj
  • 2,351
  • 9
  • 37
  • 70
8
votes
3 answers

Obtain WHOIS data field(s) without parsing?

Using the command line tools available in a common GNU/Linux distro (e.g. Fedora/Debian/Ubuntu/etc), is there a general way to get the value of some specific WHOIS field (e.g. the registrant's organisation name), ideally without having to build a…
user6860
6
votes
4 answers

How do you use proxy with the whois command?

I tried exporting into http_proxy and https_proxy but that didn't seem to work. I am guessing that there is another way to use a proxy when querying whois information from the command line?
HashWizard
  • 347
  • 1
  • 4
  • 12
5
votes
1 answer

Why would whois take up 100% of the CPU?

Running top on my CentOS web server shows an instance of whois running from 99-100% of one of the CPUs. I've not knowingly used whois on this server before, would it be safe just to kill this process? Top's output: top - 17:08:18 up 30 days, 21:18, …
Simon27
  • 151
  • 1
  • 3
4
votes
1 answer

Control source address for whois queries

is it possible to execute the command "whois" and choose the outgoing ip for the query? I have mounted several IP's on my network interface "/etc/network/interfaces" for ssl porpuses, but would be great to use them also for querying. And would be…
heuri
  • 113
  • 1
  • 2
  • 7
4
votes
2 answers

How does Debian select or prioritize IPv4 and IPv6 connections?

I'm going to explain my question with an example. I have two servers, A and B, both runs Debian 7.8, both have dual-stack connection to the Internet (I don't know if it matters but they even have the same amount of IPv6 addresses) and they both have…
4
votes
2 answers

Is whois command safe for privacy?

I remember in the past that companies such as Network Solutions will steal your searched domain name when you perform a domain search at their website. I want to know, is the built-in command whois safe from this perspective? What the server the…
Ryan
  • 413
  • 2
  • 4
  • 8
3
votes
1 answer

How to query RIPE database on the command line?

Using the stock whois (on Fedora) I can easily get information for an IP adress: $ whois SOME_IP % This is the RIPE Database query service. % The objects are in RPSL format. % % The RIPE Database is subject to Terms and Conditions. [..] %…
maxschlepzig
  • 56,316
  • 50
  • 205
  • 279
2
votes
1 answer

WHOIS over SSH via specific port

Is it possible to issue WHOIS requests via my local machine over a port other than 43 to a remote box to execute? Ideally, I'm using Jsch and I'd like to be able to round-robin these requests. I've looked in /etc/services, didn't learn much. Anytime…
jlarkins
  • 21
  • 1
2
votes
0 answers

how to block ip addresses using the whois command

I am trying to block public ip addresses/ranges of specific organizations in my firewall. To accomplish the purpose, I need to find out the actual list of netblocks/IP addresses they own. For facebook, I've used the following command and it worked…
Nullpointer
  • 553
  • 4
  • 10
  • 24
2
votes
2 answers

How do I only get whois data for an exact domain?

When I query a whois server with something like google.com, I get a whole slew of unrelated results, including things like GOOGLE.COM.SPAMMING.IS.UNETHICAL.PLEASE.STOP.THEM.HUAXUEERBAN.COM. Here I'm doing it manually with netcat, but you get similar…
IQAndreas
  • 10,145
  • 21
  • 59
  • 79
1
vote
1 answer

Bulk Resolution of IP Address - Script?

I have a list of IP addresses within a comma delimited CSV file. They are all located within column A. (ip.csv) I would like to use WHOIS, or if there is a better way please advise to check each of these IP addresses and then output the details…
Sandy
  • 11
  • 2
1
vote
1 answer

Whois queries with color output

Is there an easy way to make whois queries from the terminal have syntax coloring in the output so it would be easier to read? Something basic like coloring NOT FOUND in red, and field names and dates in different colors would already be useful. It…
Lassi
  • 821
  • 6
  • 15
1
vote
2 answers

Add in `whois` servers

Does anyone know how to configure the whois command to add in whois servers for the whois command? FYI: it's not whois, the one that's on OSX. Would have posted in Apple version but figured I'd get more success here...
Peter
  • 11
  • 2
1
vote
1 answer

How do I look up NIC handles for whois?

Sometimes, I look up the whois for an IP address, and only see NIC handles listed. How do I look up those handles directly using the command line whois client? I've tried whois but that doesn't work. I see that there is a -T option, but…
Azendale
  • 751
  • 2
  • 7
  • 18
1
2 3