Jump to content

Sending a WHOIS queiry


the_oliver

Recommended Posts

Hello.  Im trying to send a whois query to a server, but have no idea where to start!
What i havae is that i need to connecet to a set server, on a specific port, and send it the following:

[quote]<hostname of client> <IP address of client> <domain to query><cr><lf>[/quote]

eg:
somehost.somewhere.co.uk 192.168.0.1 phpfreaks.co.uk

The other problam that i have is that i need to run a revers DNS lookup to get the hostname of the client.  Finaly the only other requirement is that the request has to come from my server, as it is ip restricted.

Can anyone point me in the right direction?

Thanks
Link to comment
https://forums.phpfreaks.com/topic/32059-sending-a-whois-queiry/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.