GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Perl experts: whois query question (https://gfy.com/showthread.php?t=564368)

Rhesus 01-16-2006 09:30 AM

Perl experts: whois query question
 
Is there a perl command specifically for retrieving the registrant email from the whois record?

u-Bob 01-16-2006 09:34 AM

do some regex voodoo :)

darksoul 01-16-2006 09:36 AM

see
Net::Whois

Rhesus 01-16-2006 11:18 AM

bumpbump

Tom_PM 01-16-2006 11:27 AM

No, but check cpan for the module that darksoul told you about.

That module gets whois info for .com, .net, .org and . edu domains including "contact" info if available.

Rhesus 01-16-2006 02:59 PM

Quote:

Originally Posted by PR_Tom
No, but check cpan for the module that darksoul told you about.

That module gets whois info for .com, .net, .org and . edu domains including "contact" info if available.

yes, but it doesn't make a difference between the registrant email and the other emails in the whois records (like [email protected]). Any solutions?

Blizzard 01-16-2006 03:04 PM

For the 2nd time, use Regex.

drjones 01-16-2006 03:08 PM

Quote:

Originally Posted by Rhesus
yes, but it doesn't make a difference between the registrant email and the other emails in the whois records (like [email protected]). Any solutions?

well it should be a simple matter after that to filter out the email addresses you dont want.

Rhesus 01-16-2006 03:10 PM

Quote:

Originally Posted by Blizzard
For the 2nd time, use Regex.

I'm sorry, but I still fail to see how a regex could tell me what the registrant email is and what a random email

Rhesus 01-16-2006 03:11 PM

Quote:

Originally Posted by drjones
well it should be a simple matter after that to filter out the email addresses you dont want.

Namecheap is just one of hundreds of registrars...

Rhesus 01-16-2006 03:57 PM

bumpbump

u-Bob 01-16-2006 06:36 PM

Quote:

Originally Posted by Rhesus
I'm sorry, but I still fail to see how a regex could tell me what the registrant email is and what a random email

try harder :)

Ron Bennett 01-17-2006 01:45 AM

There is no simple solution to what you are seeking because there is no standard Whois format for .com / .net domains - registars use varying formats.

On a related note, many registrars rate-limit queries - and some are very aggressive ... they'll block entire IP ranges and/or file automated complaints to the owner of the offending IP block(s).

Ron

p.s. don't expect much help because many people will assume you're planning to spam whois emails.

Crypt 01-17-2006 02:11 AM

Quote:

Originally Posted by Rhesus
Is there a perl command specifically for retrieving the registrant email from the whois record?

Download VerySign database on their FTP, should be a good start

Ron Bennett 01-17-2006 03:12 AM

The VeriSign .com registry database only contains the list of active domains along with their respective name servers, etc.

.com / .net registry use a "thin" registry model - they don't store much beyond the basics required for a domain name to function ... the rest of the data, in particular the registrant, contacts, emails, etc is stored independently by the various registrars.

Supposedly, registrars are supposed to submit their Whois data to ICANN, but not sure how often that happens, or even if that actually happens in reality.

Ron


All times are GMT -7. The time now is 08:00 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123