Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Domain expiration reminder

by Mur (Pilgrim)
on Sep 28, 2006 at 13:11 UTC ( #575342=perlquestion: print w/replies, xml ) Need Help??

Mur has asked for the wisdom of the Perl Monks concerning the following question:

Greetings.

I'm in need of a script that I could run periodically (say, from cron) that would accept a list of domain names and identify those which are expiring. No, this isn't a claim-jumping application; this is an effort to protect our clients from claim-jumping where they (or their domain registration service) isn't clueful enough to do it. Obviously, some kind of query against "whois" is necessary. The trick is parsing the various and sundry formats returned. I'd do it myself, but I'd prefer to start with something that is at least partway there.

Querying my friend Google results in 2.5 million hits, which seem to be all about shareware or commercial software to implement claim-jumping ...

Jeff Boes <>< jeff.boes@gmail.com

Replies are listed 'Best First'.
Re: Domain expiration reminder
by mk. (Friar) on Sep 28, 2006 at 13:29 UTC

      Ah, thanks! I did in fact do a CPAN query as well as Google. As usual, it's all about picking the right search keywords, and I didn't.

      Jeff Boes <>< jeff.boes@gmail.com
Re: Domain expiration reminder
by gellyfish (Monsignor) on Sep 28, 2006 at 20:19 UTC

    It seems a little wasteful going to the network continuously to query whois to determine something that changes relatively infrequently. I would recommend using one of the modules that you have been recommended to do an initial query of whois and store that somewhere you can query locally. The really smart money would be on using one of the iCal modules to generate alarms in your favourite calendar program or those of your clients at an appropriate time before the expiry. Less is more.

    /J\

      when it comes to reminders two years in the future, i'll trust a cron job over iCal anyday! workstations are practically disposable, but my servers, they tend to live on forever. ;)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://575342]
Approved by reasonablekeith
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2021-04-22 10:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?