[volunteers] (forw) Tracking ID [15886078] (renewal of domains)

Jesse Monroy jesse650 at gmail.com
Mon Feb 2 19:19:05 PST 2015


On 2/2/15, Rick Moen <rick at linuxmafia.com> wrote:
> Quoting Jesse Monroy (jesse650 at gmail.com):
>
>> In English, Could you describe what that fix might look like?
>
> The _results_ of the fix would be that domain-check is able to parse the
> domain expiration date returned by the whois servers for .org and .info
> domains.
>
> The _fix_ itself would look something at least a little like the snippet
> below -- except, unlike this snippet, would actually regex-match on a
> line like this in the 'whois' returned output:
>
> Registry Expiry Date: 2016-10-04T17:50:02Z
>
> My not-quite-working snippet:
>
>         # 'Registry Expiry Date: 2016-08-06T04:00:00Z' (.org)
>         elsif ($out =~ s/(?:expiry(?:
> date|:))\s*(\d{4})[-\/](\d{2})[-\/](\d{2})T[0-9]+\.$/Expiration date:
> $3-$mth{$2}-$1/igsm){
>                 $debug .= "matched on line " . (__LINE__ - 1) . ":
> '(.org)\n";
>         }
>
> I can't tell you _exactly_ what the fix would look like, because if I
> knew that, I would already have the fix, and wouldn't need anyone to
> write one.
>
> Perhaps what you should be doing is downloading
> http://linuxmafia.com/pub/linux/network/domain-check and looking at it,
> which would be a lot more useful than asking me questions about it.
>
Thanks Rick,
I was send you another note when this came it. I had already looked
at it before sending the last message. The documentation and code trail
looks good. I fear side effect in mis-matched targets, or
in REGEX lingo "binding to an unqualifier"

I need a test bed. Is there a sh script that wraps this?
Or an command line invocation you could share?
Lastly, I need a data set.

Jesse




More information about the volunteers mailing list