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

Checking a list of domain names to see if they've expired using client-side code

I have a list of domain names. I can get this list in multiple formats, such as XML, HTML, CSV etc. I want to be able to use client-side code to check if the domain names in the list have expired. Does anyone have any suggestion how that could be…
Khuram Malik
  • 1,475
  • 3
  • 18
  • 30
0
votes
1 answer

Register IPV4 public address in one region and use it in another

I wanted to understand the result I get from the whois service "whois " command on Linux and if the country I get back can be guaranteed to be the country where the IP is bound to a server? Would it be possible to register a Public IPV4 IP address…
irishguy
  • 671
  • 1
  • 9
  • 24
0
votes
2 answers

Checking domain name availability from scratch, not using someone else's web service

So basically I'm wanting to find out how someone might check domain name availability without using existing web services already out there. I found a bunch of solutions online that I could integrate into my own project that will do this, but in…
Mike Marks
  • 10,017
  • 17
  • 69
  • 128
0
votes
1 answer

whois raw data cannot update on mysql

I have a php code where i try to update the whois data on SQL. I was able to add the whois raw response to MySQL table. The problem arise when I try to update it. My code looks like this: //function function whois($site) { $domain =…
depo
  • 3
  • 2
0
votes
3 answers

Detail information about Whois server reply

Background Today I want to test how WHOIS query and response protocol works, I read some information on Wiki and start writing code. After 5 minutes I have complete and working code, but I have some questions what I want to share with you. Code Here…
Viktor Apoyan
  • 10,655
  • 22
  • 85
  • 147
0
votes
1 answer

Multiple whois lookup

I have the below script for whois lookup for line in $(cat ips.txt) do echo $line whois $line | grep OrgName | awk '{print $2,$NF}' done I am having the output 192.168.1.1 Internet Authority How can I achieve the output in the below format…
Joel Deleep
  • 1,308
  • 2
  • 14
  • 36
0
votes
1 answer

Writing and Reading from a socket a second time

I connect to the whois server and am able to retrieve the availability of a domain name. Somehow I am not able to get a response back using the same connection when I do a request of a different domain name.
sjors
  • 13
  • 4
0
votes
1 answer

WHOIS for given TLD?

How do I programatically determine the WHOIS server for a given TLD? For name servers, I just query a.root-servers.net Is there an equivalent procedure for WHOIS? I know "host -t ns xxx." yields the DNS for a TLD: can the WHOIS server be derived…
user354134
0
votes
2 answers

PHP code to present information from RIPE XML file

Here is a tool for WHOIS lookups that I use: http://apps.db.ripe.net/search/lookup.html It can present information in an XML file, like this: http://apps.db.ripe.net/whois/lookup/ripe/inetnum/192.36.171.155.xml Let's say I wanted to read the XML…
jman
  • 464
  • 1
  • 4
  • 16
0
votes
0 answers

How do I implement proxy authentication with fsockopen in PHP?

I want to use a proxy with authentication to my below code to communicate and get data from whois servers. My code is as follows: $whoisserver = "whois.verisign-grs.com"; $port = 43; $timeout = 10; $fp = @fsockopen($whoisserver, $port, $errno,…
0
votes
0 answers

Parse fields in Python ipwhois

I've created a script that uses a Python package, called IPWhois. IPWhois creates parsed data of IP whois records. Like this: {'asn': '13968', 'asn_cidr': '12.231.58.0/24', 'asn_country_code': 'US', 'asn_date': '1983-08-23', 'asn_description':…
0
votes
0 answers

WhoIs information for .blog TLD's

I'm currently using a node package to check if a ".blog" domain exists. The package uses WhoIs information to do this. Most TLD's work fine. I noticed that it uses "whois.nic.blog" to check ".blog" domains. However, it doesn't respond (or error).…
Ewan
  • 378
  • 3
  • 14
0
votes
0 answers

Issue with Importing IPwhois module

I'm trying to use IPwhois module. I installed it using PIP and when i try to import the module and use it in my script, it's giving below error: "ModuleNotFoundError: No module named 'ipwhois'". Code: from ipwhois import IPWhois from pprint import…
0
votes
0 answers

If I code a whois server program what functionalities must I supply?

If I code a WHOIS server program, say using languages like C# and Java, what functionalities must I supply? What I understand is, WHOIS servers listen to the port no. 43. When they receive a command "whois", they respond with various information…
user366312
  • 16,949
  • 65
  • 235
  • 452
0
votes
1 answer

Which command for "whois.pir.org" in PHP with Curl?

I need to test a whois service to test domain names with PHP and a proxy connection with authentification. It works very well for whois.verisign-grs.com for the .com or whois.nic.fr for the .fr, but for the .org, I have the following result, and I…
Mikael
  • 21
  • 2