> Some of us use 3rd party software to monitor our own domains ...
Actually, if you are monitoring your own domains, why not just script
the OPS class and get your data directly from OpenSRS, unobfuscated? In
fact, it looks like simply setting a cookie for a domain returns the
expiry date (so you don't need to do a second call to get_domain).
For instance, using the PHP class:
<?php
require_once 'openSRS.php';
$O = new openSRS('live');
$cmd = array(
'action' => 'set',
'object' => 'cookie',
'attributes' => array(
'domain' => 'your-domain.com',
'reg_username' => 'your-username',
'reg_password' => 'your-password',
)
);
$result = $O->send_cmd($cmd);
if ($result['is_success']) {
echo "expiry: " .$result['attributes']['expiredate'];
}
?>
I bet it would take someone all of 30 seconds to write a version using
the Perl client. Maybe even a little shell command that takes a domain,
user and pass, and returns the expiry date. Then maybe OpenSRS can
bundle that in their software ...
- Colin