Xymon Mailing List Archive search

whois to act like sslcert?

4 messages in this thread

list Jason Chambers · Fri, 30 Jun 2006 11:36:45 -0400 ·
Hi Henrik,

 
Is there any way to get a whois type function to act like sslcert to
warn you when your dns is about to expire? I know it sounds cheesy, but
I thought it would be a neat idea.

 
Jason Chambers

IT Helpdesk Support

  <http://www.geosoft.com/20>; eosoft Inc.

XX Richmond St. West - 8th Floor

Toronto, Ontario, Canada

M5H 2C9

Tel: XXX-XXX-XXXX x344

Fax: XXX-XXX-XXXX

www.geosoft.com
list Richard.Hall · Fri, 30 Jun 2006 16:40:23 +0100 (BST) ·
quoted from Jason Chambers

On Fri, 30 Jun 2006, Jason Chambers wrote:
Hi Henrik,


Is there any way to get a whois type function to act like sslcert to
warn you when your dns is about to expire? I know it sounds cheesy, but
I thought it would be a neat idea.
<metoo>
  and if you could implement it three days ago, so much the better :-(
</metoo>


TTFN,
 Richard
list Henrik Størner · Fri, 30 Jun 2006 18:22:34 +0200 ·
quoted from Jason Chambers
On Fri, Jun 30, 2006 at 11:36:45AM -0400, Jason Chambers wrote:
Is there any way to get a whois type function to act like sslcert to
warn you when your dns is about to expire? I know it sounds cheesy, but
I thought it would be a neat idea.
I agree it would be neat, but unfortunately the "whois" protocol is
completely machine-unfriendly. The only way to get the information would
be to do a "whois DOMAINNAME" and try and find the expiration date.
But there is no sure way of identifying those data.

Besides, many "whois" servers limit the number of queries allowed. So
querying them every 5 minutes would probably raise a few eyebrows.

And finally, some "whois" servers just restrict access to all of the
information, showing you only whether the domain is registered or not.

So I'd suggest you write a custom script for this. I've attached one
which works at least for .dk, .com and .co.uk registrations. It's
probably wise to run this only once a day.


Regards,
Henrik
Attachments (1)
list Jason Chambers · Fri, 30 Jun 2006 13:22:24 -0400 ·
It's amazing how the little things makes things hell for the rest of the
people! :( Thanks Henrik! :)

Jason Chambers
IT Helpdesk Support
Geosoft Inc.
signature
XX Richmond St. West - 8th Floor
Toronto, Ontario, Canada
M5H 2C9
Tel: XXX-XXX-XXXX x344
Fax: XXX-XXX-XXXX
www.geosoft.com
 
 
-----Original Message-----

quoted from Henrik Størner
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: June-30-06 12:23 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] whois to act like sslcert?

On Fri, Jun 30, 2006 at 11:36:45AM -0400, Jason Chambers wrote:
Is there any way to get a whois type function to act like sslcert to 
warn you when your dns is about to expire? I know it sounds cheesy, 
but I thought it would be a neat idea.
I agree it would be neat, but unfortunately the "whois" protocol is
completely machine-unfriendly. The only way to get the information would
be to do a "whois DOMAINNAME" and try and find the expiration date.
But there is no sure way of identifying those data.

Besides, many "whois" servers limit the number of queries allowed. So
querying them every 5 minutes would probably raise a few eyebrows.

And finally, some "whois" servers just restrict access to all of the
information, showing you only whether the domain is registered or not.

So I'd suggest you write a custom script for this. I've attached one
which works at least for .dk, .com and .co.uk registrations. It's
probably wise to run this only once a day.


Regards,
Henrik