473,548 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Retrieving info from a whois query

Hi !
Can some one give me a little step by step to put me onthe right way..
I'd like to use PHP with Postresql.
I need to make many whois query on the domain names that we own, to store
the information such as expiration date and so in our DB.
I was thinking of :
using php to open the url of the query, retrieve the new web page with ftp
mode,
parsing the page with some "expression régulieres" and then uploading the
found data in my DB...

Can you tell me what you think of that, is there any way to be quicker and
easier, and maybe some advice on how to retrieve and parse the file..
because I dont really know how to..

Thank you..

Fred.
Jul 17 '05 #1
6 2849
Fred wrote:
Hi !
Can some one give me a little step by step to put me onthe right way..
I'd like to use PHP with Postresql.
I need to make many whois query on the domain names that we own, to store
the information such as expiration date and so in our DB.
I was thinking of :
using php to open the url of the query, retrieve the new web page with ftp
mode,
parsing the page with some "expression régulieres" and then uploading the
found data in my DB...

Can you tell me what you think of that, is there any way to be quicker and
easier, and maybe some advice on how to retrieve and parse the file..
because I dont really know how to..

Thank you..

Fred.


Internic no longer allows scripted access to the whois information, they
require you to enter a "security code" that is in a JPG and is not textual.

There are whois applicatons that search most of the registrars for the
information, but you will need to find one that works and script it from
there... It was soooo easy when there was only one registrar... One of
the other issues is the fact that not all registrars present the data in
the same format.

Michael Austin.

Jul 17 '05 #2
You will probably need to manually query the whois server using the
RWhois protocol (http://www.faqs.org/rfcs/rfc1714.html) and fsockopen.
Jul 17 '05 #3
Thanl you.
I'll read this.
It's also advised on how to collect the data from the whois query and to
store it in the DB ?
We de have a lot of registrars, this is what we will go on with the whois
query.
But actually I'll have to log manually on each registrar to know all the
domaines we own and as they are displayed like 20 domaines/page, it will
take time to read them all :-(
"John Downey" <jd*****@gmail. com> a écrit dans le message de
news:16******** *************** ***@posting.goo gle.com...
You will probably need to manually query the whois server using the
RWhois protocol (http://www.faqs.org/rfcs/rfc1714.html) and fsockopen.

Jul 17 '05 #4
Fred wrote:
Thanl you.
I'll read this.
It's also advised on how to collect the data from the whois query and to
store it in the DB ?
We de have a lot of registrars, this is what we will go on with the whois
query.
But actually I'll have to log manually on each registrar to know all the
domaines we own and as they are displayed like 20 domaines/page, it will
take time to read them all :-(
"John Downey" <jd*****@gmail. com> a écrit dans le message de
news:16******** *************** ***@posting.goo gle.com...
You will probably need to manually query the whois server using the
RWhois protocol (http://www.faqs.org/rfcs/rfc1714.html) and fsockopen.



Or!!!! you could contract someone that already has this code available
(but not on Linux or Windows) that can do this for you and send you a
CSV file you can load into your database. Some guy by the name of
Michael Austin comes to mind... :) :)

Michael Austin
http://www.firstdbasource.com
Jul 17 '05 #5
Not on linux nor windows ?
so where ??!
and.. your code juste store the data in your CSV file ?
I wish I could ask this cool guy to help me a little bit ;-)

"Michael Austin" <ma*****@firstd basource.com> a écrit dans le message de
news:E8******** *********@newss vr23.news.prodi gy.com...
Fred wrote:
Thanl you.
I'll read this.
It's also advised on how to collect the data from the whois query and to
store it in the DB ?
We de have a lot of registrars, this is what we will go on with the whois query.
But actually I'll have to log manually on each registrar to know all the
domaines we own and as they are displayed like 20 domaines/page, it will
take time to read them all :-(
"John Downey" <jd*****@gmail. com> a écrit dans le message de
news:16******** *************** ***@posting.goo gle.com...
You will probably need to manually query the whois server using the
RWhois protocol (http://www.faqs.org/rfcs/rfc1714.html) and fsockopen.



Or!!!! you could contract someone that already has this code available
(but not on Linux or Windows) that can do this for you and send you a
CSV file you can load into your database. Some guy by the name of
Michael Austin comes to mind... :) :)

Michael Austin
http://www.firstdbasource.com

Jul 17 '05 #6
Fred wrote:
Not on linux nor windows ?
so where ??!
and.. your code juste store the data in your CSV file ?
I wish I could ask this cool guy to help me a little bit ;-)

"Michael Austin" <ma*****@firstd basource.com> a écrit dans le message de
news:E8******** *********@newss vr23.news.prodi gy.com...
Fred wrote:
Thanl you.
I'll read this.
It's also advised on how to collect the data from the whois query and to
store it in the DB ?
We de have a lot of registrars, this is what we will go on with the
whois
query.
But actually I'll have to log manually on each registrar to know all the
domaines we own and as they are displayed like 20 domaines/page, it will
take time to read them all :-(
"John Downey" <jd*****@gmail. com> a écrit dans le message de
news:16***** *************** ******@posting. google.com...
You will probably need to manually query the whois server using the
RWhois protocol (http://www.faqs.org/rfcs/rfc1714.html) and fsockopen.

Or!!!! you could contract someone that already has this code available
(but not on Linux or Windows) that can do this for you and send you a
CSV file you can load into your database. Some guy by the name of
Michael Austin comes to mind... :) :)

Michael Austin
http://www.firstdbasource.com



I recently received a whois kit that runs only on OpenVMS that talks to
nearly every registrar - at least a large number of them... I have a
whois page that gets the data for a single domain name. A slight
modification of this page would be able to iteratively read a file or db
containing the list of domains, do the inquiry and parse the information
you are looking for and output it in whatever format suits your fancy.
Unfortunately, this particular whois program does not have sources
available for porting to *x or Wxx.

And currently being unemployed, I have lots of time on my hands, but I
also have this quirk whereby, for some unexplainable reason, I need to
be able to eat as well... ;) (I also presume that the author of the
whois app also likes to be able to eat. )

Michael Austin.
http://www.firstdbasource.com/donation.html (works in IE - having
problems with FireFox)

Jul 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3597
by: elyob | last post by:
I've got a number of domains, and want to check the expiry date automatically. There's plenty of whois scripts, but the output from the different whois servers are not always the same. Does anyone have any suggestions or working examples for parsing the WHOIS output? Thanks Nick
2
2032
by: James | last post by:
As a security feature of my site, I want the IP details to be recorded in certain situations. I suppose I have to use the Rwhois server to do this, though I don't know how to do that. Of course I would use any server, but the only server I know that provides the service which works worldwide, is the Rwhois server. I don't know how I would...
5
2836
by: Gerrit Muller | last post by:
I am migrating a website from a UNIX based machine to an Windows machine. In the logfiles I got from the old machine I mostly got domain names and sometimes only IP addresses. The Windows machine seems to produce only IP addresses. Somehow I cannot find a windows solution to translate an IP address back into a domain-name. Searching with...
0
1310
by: Yair Nissan | last post by:
Hi, I want to make a .Net class that would make queries to a WhoIs server. I had no problem doing so on my comp back home, however my comp at work is using a proxy server, and I can't make any query to the WhoIs server. Is there any way (3rd party components are good too) to perform the WhoIs query fron behind the proxy server ? Thanks,
13
3951
by: RHPT | last post by:
I am wanting to capture the XML posted by an InfoPath form with .NET, but I cannot figure out how to capture the XML stream sent back by the InfoPath form. With Classic ASP, I could just create an MSXML object then load the XML with a simple objXML.Load(Request). This would give me the XML stream, which I could then manipulate. However,...
3
1529
by: Vjay77 | last post by:
As a result from who is I am getting this: > > NOTICE AND TERMS OF USE: You are not authorized to access or query our WHOIS database through the use of high-volume, automated, electronic processes. The Data in Network Solutions' WHOIS database is provided by Network Solutions for information purposes only, and to assist persons in...
0
1186
by: skip | last post by:
I'm looking to get whois information for a given domain from Python. I'm mostly interested in record update and creation dates at the moment, but eventually might want more. I stumbled upon a couple modules/programs: rwhois.py and whois.py but neither seems to work. I can clearly issue a whois command directly, but I'm hoping there's some...
5
1964
by: Sanjay Pais | last post by:
I have a table with over 1.3 million rows. I am retrieving only 20 at a time using the with - over clauses In query analyser, the data is retrieved in under a second. When retrieving using the data adaptor.fill or datareader to retrieve the data it takes over 24 seconds. public System.Data.SqlClient.SqlDataReader List1(int PageIndex, int...
3
2125
by: dmorand | last post by:
I have a page where I'm using ajax to retrieve some employee info when a user clicks a "Retrieve Employee Info" button. The issue I'm having is that when the user updates the employee info, saves the data, then hits the retrieve employee info button again the data being retrieved is the original data, not the updated data. This only occurs...
0
7512
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7438
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7707
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7466
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6036
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5362
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3495
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1926
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1051
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.